Findings

CVE-2026-72318

cifs: validate DFS referral string offsets

Published Aug 15, 2026 · updated Oct 13, 2026

In the Linux kernel, the following vulnerability has been resolved: cifs: validate DFS referral string offsets parse_dfs_referrals() validates that the response header and referral array fit in the received buffer, but each referral also contains string offsets supplied by the server. Those offsets are used to compute the DfsPath and NetworkAddress string pointers without checking whether they still point inside the response buffer. A malformed referral can therefore make the computed pointer exceed the end of the buffer. The resulting negative max_len is then passed to cifs_strndup_from_utf16(), and the non-Unicode path forwards it to kstrndup() as a size_t, allowing strnlen() to read out of bounds. Validate each string offset before deriving the string pointer.

Timeline

Detection, updates, and resolution for this record.

  1. Aug 15, 2026 · Catalog

    Detected

    In the Linux kernel, the following vulnerability has been resolved: cifs: validate DFS referral string offsets parse_dfs_referrals() validates that the response header and referral array fit in the received buffer, but each referral also contains string offsets supplied by the server. Those offsets are used to compute the DfsPath and NetworkAddress string pointers without checking whether they sti

  2. Oct 13, 2026 · Catalog

    Fix available

    Linux Kernel 4.11.0 → 6.1.178

  3. Oct 13, 2026 · Catalog

    Updated

    In the Linux kernel, the following vulnerability has been resolved: cifs: validate DFS referral string offsets parse_dfs_referrals() validates that the response header and referral array fit in the received buffer, but each referral also contains string offsets supplied by the server. Those offsets are used to compute the DfsPath and NetworkAddress string pointers without checking whether they sti

Affected

  • Linux Kernel4.11.0 → 6.1.178

Sources

References