Linux kernel ksmbd EA alignment buffer overwrite
CVE-2026-31705Critical
The smb2_get_ea() function in the Linux kernel ksmbd module writes alignment padding bytes past the end of a response buffer when processing extended attributes. An attacker who can send a compound SMB2 request can cause the first command to consume most of the buffer, leaving insufficient space for the EA response, allowing the alignment padding to overwrite adjacent kernel heap memory. This requires the ability to send crafted SMB2 requests to a ksmbd server.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 5.15.145, before 5.16
- linux linux kernel: from 6.1.71, before 6.2
- linux linux kernel: from 6.6, before 6.6.136
- linux linux kernel: from 6.7, before 6.12.84
- linux linux kernel: from 6.13, before 6.18.25
- linux linux kernel: from 6.19, before 7.0.2
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)