CVE-2026-31612

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLinux Kernel
PublishedApr 24, 2026
First seenApr 24, 2026

How to fix

Update
  • linux linux_kernel6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 6.6.136, 6.7 ≤ v < 6.12.83, 6.13 ≤ v < 6.18.24, 6.19 ≤ v < 6.19.14, 7.0 ≤ v < 7.0.16.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.