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.
Published: 2026-08-15
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Linux kernel's CIFS client does not validate string offsets supplied by an SMB server in DFS referral responses. The offsets used to locate DfsPath and NetworkAddress strings can point outside the buffer, resulting in an out‑of‑bounds read. Because the length is processed as a signed integer and then cast to an unsigned size_t, the kernel may duplicate an overflowed string, leading to kernel memory disclosure and potentially a crash. This flaw is a classic example of improper input validation (CWE‑20) that allows an attacker to read memory outside the intended bounds (CWE‑125).

Affected Systems

All Linux kernel versions prior to the patch that contains the handled commit are affected. The vulnerability resides in the CIFS client that parses DFS referrals; no specific kernel version was listed, so any kernel prior to the commit identifiers referenced in the advisory must be updated. The CNA vendors list Linux as the affected vendor.

Risk and Exploitability

The CVSS score of 9.4 indicates a high severity. The EPSS score is < 1%, showing low publicly observed exploit probability. The vulnerability is not listed in CISA KEV. Based on the description, the likely attack vector is a malicious DFS referral sent from an SMB server to a CIFS client. If exploitation were achieved, an attacker could read kernel memory and potentially crash the client, leading to information disclosure or denial of service.

Generated by OpenCVE AI on August 17, 2026 at 17:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch to validate DFS referral string offsets; the patch is part of the commits referenced in the advisory.
  • If an update is not immediately possible, restrict or block CIFS/SMB traffic containing DFS referrals from untrusted sources, or disable DFS referrals on the client side if functionality permits.
  • Continuously monitor kernel logs for signs of out‑of‑bounds reads or crashes (e.g., KASAN or UBSAN messages) and investigate any suspicious SMB traffic.

Generated by OpenCVE AI on August 17, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 00:15:00 +0000


Mon, 17 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-20

Mon, 17 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-20

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H'}


Sat, 15 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-20

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values 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.
Title cifs: validate DFS referral string offsets
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:42:44.209Z

Reserved: 2026-08-09T03:40:39.919Z

Link: CVE-2026-72318

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:04.737

Modified: 2026-08-17T06:18:35.193

Link: CVE-2026-72318

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72318 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:15:13Z

Weaknesses