CVE-2026-31612: ksmbd: validate EaNameLength in smb2_get_ea()
Vulnerability summary
CVE-2026-31612 is a high (CVSS 7.5) vulnerability in linux. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 36.8% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 20 · Related 21Timeline
- 24-04-2026PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
Decrease -0.14 pp
From 0.57% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 6.8.0-136.136 | < 7.0.0-27.27
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1061.64 | < 7.0.0-1008.8
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard8 products
- linux-aws-6.18< 6.18.31-r0
- linux-azure-6.18< 6.18.31-r0
- linux-gcp-6.18< 6.18.31-r0
- linux-qemu-6.12< 6.12.85-r0
- linux-qemu-6.18< 6.18.31-r0
Linux2 products
- linux≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02 | 5.15
- 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
Debian1 product
- linux< 6.1.176-1 | < 6.12.85-1 | < 6.19.14-1
4 vendors · 169 products