# CVE-2026-72318: cifs: validate DFS referral string offsets

- Severity: Critical 9.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-08-15T05:55:31.682Z
- Modified: 2026-10-16T19:17:22.343Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before 76c607b9353d377b1d1b11db50e743eee0ccf658; from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before d64b6be5740ce230aca184d8d224c75d9866045d; from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before 929a85932d14190988f1eafd6ee8cc68d66ace0b; from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before b784cd1c24d89bf71be2efe1e948ff7c03371e57; from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before c37abc99bb3de3d3219ecef253d649f74117fd83; from 4ecce920e13ace16a5ba45efe8909946c28fb2ad before 027a84ac6b50c12ef767c15abfc58aa865820e9e; 4.11 (not affected: before 4.11; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/76c607b9353d377b1d1b11db50e743eee0ccf658>
- <https://git.kernel.org/stable/c/d64b6be5740ce230aca184d8d224c75d9866045d>
- <https://git.kernel.org/stable/c/929a85932d14190988f1eafd6ee8cc68d66ace0b>
- <https://git.kernel.org/stable/c/b784cd1c24d89bf71be2efe1e948ff7c03371e57>
- <https://git.kernel.org/stable/c/c37abc99bb3de3d3219ecef253d649f74117fd83>
- <https://git.kernel.org/stable/c/027a84ac6b50c12ef767c15abfc58aa865820e9e>

## Sources

- CVE List: [CVE-2026-72318](https://www.cve.org/CVERecord?id=CVE-2026-72318), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-72318](https://nvd.nist.gov/vuln/detail/CVE-2026-72318), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-72318 · Whole record: https://cve.day/CVE-2026-72318.json · Rebuilt by cve.day 2026-11-25T22:59:33.080Z
