8.8

CVE-2026-31709: smb: client: validate the whole DACL before rewriting it in cifsacl

Modified
AliasesUBUNTU-CVE-2026-31709DEBIAN-CVE-2026-31709CGA-23fw-cr99-cgxv
Published 01-05-2026Last modified 19-10-2026

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.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.34%
0%100%
Low · -0.13 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 35 · Related 27

Timeline

  1. 01-05-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

52 links
Show all 52 references