CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl
Vulnerability summary
CVE-2026-31709 is a high (CVSS 8.8) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 28% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 35 · Related 27Timeline
- 01-05-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: validate the whole DACL before rewriting it in cifsacl build_sec_desc() and id_mode_to_cifs_acl() derive a DACL pointer from a server-supplied dacloffset and then use the incoming ACL to rebuild the chmod/chown security descriptor. The original fix only checked that the struct smb_acl header fits before reading dacl_ptr->size or dacl_ptr->num_aces. That avoids the immediate header-field OOB read, but the rewrite helpers still walk ACEs based on pdacl->num_aces with no structural validation of the incoming DACL body. A malicious server can return a truncated DACL that still contains a header, claims one or more ACEs, and then drive replace_sids_and_copy_aces() or set_chmod_dacl() past the validated extent while they compare or copy attacker-controlled ACEs. Factor the DACL structural checks into validate_dacl(), extend them to validate each ACE against the DACL bounds, and use the shared validator before the chmod/chown rebuild paths. parse_dacl() reuses the same validator so the read-side parser and write-side rewrite paths agree on what constitutes a well-formed incoming DACL.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
Decrease -0.13 pp
From 0.47% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-1288Improper Validation of Consistency within InputThe product receives a complex input with multiple elements or fields that must be consistent with each other, but it does not validate or incorrectly validates that the input is actually consistent.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu146 products
- linux< 5.15.0-198.208 | < 6.8.0-136.136 | All versions (No fix recorded) | < 7.0.0-27.27
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1117.124 | < 6.8.0-1061.64 | All versions (No fix recorded) | < 7.0.0-1008.8
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard25 products
- linux-aws-6.12< 6.12.85-r2
- linux-aws-6.18< 6.18.35-r0
- linux-azure-6.12< 6.12.85-r2
- linux-azure-6.18< 6.18.35-r0 | < 6.18.24-r1
- linux-desktop-6.18All versions (No fix recorded)
Linux2 products
- linux≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < b8603d9ae6c9087662b098619996bc4a8064319d | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < c2abdebf72000a64603ced84d36ccbd164f11391 | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < 8e47d297e7cf9a6029a0d38e7b22faba7d7aaf12 | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < d92f3f0b22414e7515696a02224d0af55e3004a3 | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < ff0ca46b13b9ef6edbcd238a3b6caacfef8ba0e5 | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < b78db9bddc84136f6a0bb49e8883cf200dfb87a8 | ≥ bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, < 0a8cf165566ba55a39fd0f4de172119dd646d39a | 5.12
- linux_kernel≥ 5.12, < 7.0.2
Debian1 product
- linux< 6.1.176-1 | < 6.12.86-1 | < 7.0.3-1
4 vendors · 174 products