BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-31704 in Linux Kernel

Medium 5.5 Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use check_add_overflow() to prevent u16 DACL size overflow set_posix_acl_entries_dacl() and set_ntacl_dacl() accumulate ACE sizes in u16 variables. When a file has many POSIX ACL entries, the accumulated size can wrap past 65535, causing the pointer arithmetic (char *)pndace + *size to land within already-written ACEs. Subsequent writes then overwrite earlier entries, and pndacl->size gets a truncated value. Use check_add_overflow() at each accumulation point to detect the wrap before it corrupts the buffer, consistent with existing check_mul_overflow() usage elsewhere in smbacl.c.

Affects 1 product from 2 vendors. Description from NVD and MITRE.

CVSS 3.15.5
EPSS0.1%
EPSS percentile2th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel ≥ 5.15, < 6.6.136 ≥ 6.7, < 6.12.84 ≥ 6.13, < 6.18.25 ≥ 6.19, < 7.0.2
Siemens — —
Linux Linux Firmware 5.15
Siemens Simatic S7-1500 Tm Mfp Firmware All versions

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2026-31704
BreachSpider IDBS-2026-GLOBAL-080813-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2026-05-01
Last modified2026-11-11
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.