Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-72318

cifs: validate DFS referral string offsets
Back to all
CVE

CVE-2026-72318

cifs: validate DFS referral string offsets

In the Linux kernel, the following vulnerability has been resolved:

cifs: validate DFS referral string offsets

parsedfsreferrals() 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 cifsstrndupfrom_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.4
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/027a84ac6b50c12ef767c15abfc58aa865820e9e, https://git.kernel.org/stable/c/76c607b9353d377b1d1b11db50e743eee0ccf658, 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/d64b6be5740ce230aca184d8d224c75d9866045d, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72318.json, https://nvd.nist.gov/vuln/detail/CVE-2026-72318, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.4

CVSS Score
0
10

Basic Information

Base CVSS
9.4
EPSS Probability
0.00586%
EPSS Percentile
0.45519%
Introduced Version
4ecce920e13ace16a5ba45efe8909946c28fb2ad,4.11.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
027a84ac6b50c12ef767c15abfc58aa865820e9e,6.1.178,6.6.145,6.12.97,6.18.40,7.1.5,6.1.180-1,6.12.100-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading