Vendors › Linux

CVE-2026-31704

N/A (no CVSS assigned) EPSS 0.2% Linux · fs

Linux kernel: ksmbd: use check_add_overflow() to prevent u16 DACL size overflow

A vulnerability in the Linux kernel fs subsystem (fs/smb/server/smbacl.c), assigned CVE-2026-31704. The issue was introduced in kernel 5.15 and is fixed in 6.1.175, 6.6.136, 6.12.84, 6.18.25, 7.0.2, 7.1. Updating to a fixed stable release resolves it.

Published2026-05-01
Updated2026-06-15
AffectedLinux kernel 5.15 and later, before the fix (fixed in 6.1.175, 6.6.136, 6.12.84, 6.18.25, 7.0.2, 7.1)
FixUpdate to kernel 6.1.175, 6.6.136, 6.12.84, 6.18.25, 7.0.2, 7.1 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2026-31704

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-31704—OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.