Linux kernel ksmbd EaNameLength validation missing
CVE-2026-31612High
The ksmbd file server in the Linux kernel does not validate the EaNameLength field from client requests before using it in string comparison operations. An attacker sending a crafted SMB2 request could cause the kernel to read beyond the bounds of the input buffer, potentially leaking uninitialised heap memory back to the client. The attacker needs only the ability to send SMB2 requests to the 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:N/A:N
Detail
Affected versions
- linux linux kernel: from 5.15, before 6.6.136
- linux linux kernel: from 6.7, before 6.12.83
- linux linux kernel: from 6.13, before 6.18.24
- linux linux kernel: from 6.19, before 6.19.14
- linux linux kernel: from 7.0, before 7.0.1
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)