Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-31612

high

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea() smb2_get_ea() reads ea_req->EaNameLength fr…

Vendor / product: Linux — linux kernel

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.

CVSS
7.5
7.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity source: NVD CVSS v3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Timeline (UTC)
Published: 2026-04-24 15:16
Modified: 2026-11-11 23:10
NVD status: Modified
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:12 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥5.15 <6.6.136, ≥6.7 <6.12.83, ≥6.13 <6.18.24, ≥6.19 <6.19.14, ≥7.0 <7.0.1

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/243b206bcb5a7137e8bddd57b2eec81e1ebd3859
Patch / mitigation: https://git.kernel.org/stable/c/3363a770b193f555f29d76ddf4ced3305c0ccf6d
Patch / mitigation: https://git.kernel.org/stable/c/4b73376feecb3b61172fe5b4ff42bbbb8531669d
Patch / mitigation: https://git.kernel.org/stable/c/551dfb15b182abad4600eaf7b37e6eb7000d5b1b
Patch / mitigation: https://git.kernel.org/stable/c/66751841212c2cc196577453c37f7774ff363f02
Patch / mitigation: https://git.kernel.org/stable/c/dfc6878d14acafffbe670bf2576620757a10a3d8

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-11 23:12 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs