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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 027a84ac6b50c12ef767c15abfc58aa865820e9e, 76c607b9353d377b1d1b11db50e743eee0ccf658, 929a85932d14190988f1eafd6ee8cc68d66ace0b, b784cd1c24d89bf71be2efe1e948ff7c03371e57, c37abc99bb3de3d3219ecef253d649f74117fd83, d64b6be5740ce230aca184d8d224c75d9866045d (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-15 · Modified: 2026-10-16
- Aliases: UBUNTU-CVE-2026-72318, DEBIAN-CVE-2026-72318
- Record: https://cvemate.com/vulnerability/CVE-2026-72318 · JSON: https://cvemate.com/vulnerability/CVE-2026-72318/json

## Description

```text
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.
```

## Signals

- CVSS: 9.4 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
- EPSS: 0.586%, percentile 49.468%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- debian linux (Debian): \< 6.1.180-1 \| \< 6.12.100-1 \| \< 7.1.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-147.147 \| \< 7.0.0-34.34
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70 \| \< 7.0.0-1013.13
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1013.13~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)

## References (first 20 of 27)

- <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>
- <https://ubuntu.com/security/CVE-2026-72318>
- <https://www.cve.org/CVERecord?id=CVE-2026-72318>
- <https://git.kernel.org/linus/027a84ac6b50c12ef767c15abfc58aa865820e9e>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8816-1>
- <https://ubuntu.com/security/notices/USN-8816-2>
- <https://ubuntu.com/security/notices/USN-8816-3>
- <https://ubuntu.com/security/notices/USN-8816-4>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8888-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-72318>
- <https://ubuntu.com/security/notices/USN-8917-1>
- <https://ubuntu.com/security/notices/USN-8918-1>
- <https://ubuntu.com/security/notices/USN-9003-1>

---

Data as of 2026-12-05T06:11:05.990Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
