CVE-2026-72318
cifs: validate DFS referral string offsets
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Ensure server-supplied string offsets are validated.
- Check that computed pointers stay within the buffer.
- Apply vendor-provided patches for the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72318.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72318 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72318
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72318 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72318 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '76c607b9353d377b1d1b11db50e743eee0ccf658', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'd64b6be5740ce230aca184d8d224c75d9866045d', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '929a85932d14190988f1eafd6ee8cc68d66ace0b', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'b784cd1c24d89bf71be2efe1e948ff7c03371e57', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'c37abc99bb3de3d3219ecef253d649f74117fd83', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '027a84ac6b50c12ef767c15abfc58aa865820e9e', 'versionType': 'git'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '76c607b9353d377b1d1b11db50e743eee0ccf658', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'd64b6be5740ce230aca184d8d224c75d9866045d', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '929a85932d14190988f1eafd6ee8cc68d66ace0b', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'b784cd1c24d89bf71be2efe1e948ff7c03371e57', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'c37abc99bb3de3d3219ecef253d649f74117fd83', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '027a84ac6b50c12ef767c15abfc58aa865820e9e', 'versionType': 'git'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '76c607b9353d377b1d1b11db50e743eee0ccf658', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'd64b6be5740ce230aca184d8d224c75d9866045d', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '929a85932d14190988f1eafd6ee8cc68d66ace0b', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'b784cd1c24d89bf71be2efe1e948ff7c03371e57', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': 'c37abc99bb3de3d3219ecef253d649f74117fd83', 'versionType': 'git'}, {'status': 'affected', 'version': '4ecce920e13ace16a5ba45efe8909946c28fb2ad', 'lessThan': '027a84ac6b50c12ef767c15abfc58aa865820e9e', 'versionType': 'git'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/client/misc.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/027a84ac6b50c12ef767c15abfc58aa865820e9e Added Reference https://git.kernel.org/stable/c/76c607b9353d377b1d1b11db50e743eee0ccf658 Added Reference https://git.kernel.org/stable/c/929a85932d14190988f1eafd6ee8cc68d66ace0b Added Reference https://git.kernel.org/stable/c/b784cd1c24d89bf71be2efe1e948ff7c03371e57 Added Reference https://git.kernel.org/stable/c/c37abc99bb3de3d3219ecef253d649f74117fd83 Added Reference https://git.kernel.org/stable/c/d64b6be5740ce230aca184d8d224c75d9866045d