Skip to main content
Network Thinking Solutions Logo

CVE-2026-31612

Linux kernel: ksmbd: validate EaNameLength in smb2_get_ea()

All CVEs
CVE-2026-31612Published 4/24/2026

Linux kernel: ksmbd: validate EaNameLength in smb2_get_ea()

Vendor advisory
CVSS7.5High

Overview

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.

Published
4/24/2026
Last modified
11/11/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 6.6.136

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.83

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.24

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.14

Verify advisory

Source
linux kernel
linux
≥ 7.0, < 7.0.1

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8

Verify advisory

Source
Linux
Linux
≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02

Verify advisory

Source
Linux
Linux
5.15

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.