CVE-2026-31612

CVE-2026-31612

High · published April 24, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
46.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate EaNameLength in smb2_get_ea()

smb2_get_ea() reads ea_req->EaNameLength from the client request and

passes it directly to strncmp() as the comparison length without

verifying that the length of the name really is the size of the input

buffer received.

Fix this up by properly checking the size of the name based on the value

received and the overall size of the request, to prevent a later

strncmp() call to use the length as a "trusted" size of the buffer.

Without this check, uninitialized heap values might be slowly leaked to

the client.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00579 · 46.9th percentile
Published
2026-04-24T19:16Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.6.1366.6.136
linux/linux_kernel≥ 6.7, < 6.12.836.12.83
linux/linux_kernel≥ 6.13, < 6.18.246.18.24
linux/linux_kernel≥ 6.19, < 6.19.146.19.14
linux/linux_kernel≥ 7.0, < 7.0.17.0.1
References (8)
EPSS history
Timeline
  • 24 APR 14:42Z
    ksmbd: validate EaNameLength in smb2_get_ea()
    cvelistv5