CVE-2026-31706HIGH 8.8EPSS p49.1%

CVE-2026-31706CVE-2026-31706

linux / linux_kernel

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate num_aces and harden ACE walk in smb_inherit_dacl() smb_inherit_dacl() trusts the on-disk num_aces value from the parent directory's DACL xattr and uses it to size a heap allocation: aces_base = kmalloc(sizeof(struct smb_ace) * num_aces * 2, ...); num_aces is a u16 read from le16_to_cpu(parent_pdacl->num_aces) without checking that it is consistent with the declared pdacl_size. An authenticated client whose parent directory's security.NTACL is tampered (e.g. via offline xattr corruption or a concurrent path that bypasses parse_dacl()) can present num_aces = 65535 with minimal actual ACE data. This causes a ~8 MB allocation (not kzalloc, so uninitialized) that the subsequent loop only partially populates, and may also overflow the three-way size_t multiply on 32-bit kernels. Additionally, the ACE walk loop uses the weaker offsetof(struct smb_ace, access_req) minimum size check rather than the mini

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS0.71% probability of exploitation · percentile 49.1% · 2026-11-30T12:00:22Z
Published2026-05-01
Last modified2026-11-11

References

  1. https://git.kernel.org/stable/c/063a7409b0de46d7c770b65bb0338e6fdb3b1f0a
  2. https://git.kernel.org/stable/c/3e4e2ea2a781018ed5d75f969e3e5606beb66e48
  3. https://git.kernel.org/stable/c/3e5360b422dd741cb315654a191fa73869a37414
  4. https://git.kernel.org/stable/c/59c32abaaec9cdd6164811c7e864e72f7554b82d

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-31712
CVE
CVE-2026-31704
CVE
CVE-2026-31709
CVE
CVE-2026-43490
CVE
CVE-2026-31611
CVE
CVE-2026-31432
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.