In the Linux kernel, the following vulnerability has been resolved: cifs: validate DFS referral string offsets parse_dfs_referrals() validates that… (CVE-2026-72318)
A vulnerability in the Linux kernel's CIFS implementation was resolved. The issue involves improper validation of string offsets in DFS referral responses, which can lead to out-of-bounds memory reads. Specifically, parse_dfs_referrals() did not verify that string pointers derived from server-supplied offsets remained within the response buffer, potentially causing memory safety violations.
AI Analysis
Technical Summary
The Linux kernel's CIFS component had a vulnerability (CVE-2026-72318) where parse_dfs_referrals() validated the response header and referral array boundaries but failed to validate string offsets within each referral. These offsets are used to compute pointers to DfsPath and NetworkAddress strings without ensuring they remain inside the buffer. A malformed referral could cause these pointers to exceed the buffer's end, resulting in a negative max_len passed to cifs_strndup_from_utf16(), which then forwards it as a size_t to kstrndup(). This leads to strnlen() reading out of bounds, causing a potential memory safety issue. The fix involves validating each string offset before deriving the string pointer.
Potential Impact
This vulnerability can cause out-of-bounds memory reads in kernel space, which may lead to information disclosure or kernel instability. No known exploits are reported in the wild. The impact is limited to the Linux kernel's CIFS DFS referral parsing functionality.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate string offsets properly in parse_dfs_referrals(). Users should update their Linux kernel to a version that includes this fix. Since no patch links or vendor advisories are provided, check the official Linux kernel release notes or security advisories for the fixed version. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: cifs: validate DFS referral string offsets parse_dfs_referrals() validates that… (CVE-2026-72318)
Description
A vulnerability in the Linux kernel's CIFS implementation was resolved. The issue involves improper validation of string offsets in DFS referral responses, which can lead to out-of-bounds memory reads. Specifically, parse_dfs_referrals() did not verify that string pointers derived from server-supplied offsets remained within the response buffer, potentially causing memory safety violations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's CIFS component had a vulnerability (CVE-2026-72318) where parse_dfs_referrals() validated the response header and referral array boundaries but failed to validate string offsets within each referral. These offsets are used to compute pointers to DfsPath and NetworkAddress strings without ensuring they remain inside the buffer. A malformed referral could cause these pointers to exceed the buffer's end, resulting in a negative max_len passed to cifs_strndup_from_utf16(), which then forwards it as a size_t to kstrndup(). This leads to strnlen() reading out of bounds, causing a potential memory safety issue. The fix involves validating each string offset before deriving the string pointer.
Potential Impact
This vulnerability can cause out-of-bounds memory reads in kernel space, which may lead to information disclosure or kernel instability. No known exploits are reported in the wild. The impact is limited to the Linux kernel's CIFS DFS referral parsing functionality.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate string offsets properly in parse_dfs_referrals(). Users should update their Linux kernel to a version that includes this fix. Since no patch links or vendor advisories are provided, check the official Linux kernel release notes or security advisories for the fixed version. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4cv4-fc78-7hch
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72318"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b71bf8831d5394fc05c
Added to database: 08/15/2026, 15:53:21 UTC
Last enriched: 08/15/2026, 16:38:04 UTC
Last updated: 08/15/2026, 16:38:04 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.