7.5

CVE-2026-31612: ksmbd: validate EaNameLength in smb2_get_ea()

Modified
AliasesUBUNTU-CVE-2026-31612DEBIAN-CVE-2026-31612CGA-5rj8-p6g6-w7fv
Published 24-04-2026Last modified 15-10-2026

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.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · -0.14 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 21

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

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

References

34 links
Show all 34 references