Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31612

HIGH 7.5EPSS 43%

ksmbd: validate EaNameLength in smb2_get_ea()

Mitigation

  • Upgrade Linux to 66751841212c2cc196577453c37f7774ff363f02 or later.

Who should check

  • Anyone running Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02; Linux 5.15
Fixed in
Linux 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3, Linux 4b73376feecb3b61172fe5b4ff42bbbb8531669d, Linux 551dfb15b182abad4600eaf7b37e6eb7000d5b1b, Linux 3363a770b193f555f29d76ddf4ced3305c0ccf6d, Linux 243b206bcb5a7137e8bddd57b2eec81e1ebd3859, Linux 66751841212c2cc196577453c37f7774ff363f02
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31612. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31612.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3, Linux 4b73376feecb3b61172fe5b4ff42bbbb8531669d, Linux 551dfb15b182abad4600eaf7b37e6eb7000d5b1b, Linux 3363a770b193f555f29d76ddf4ced3305c0ccf6d, Linux 243b206bcb5a7137e8bddd57b2eec81e1ebd3859, Linux 66751841212c2cc196577453c37f7774ff363f02

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31612 being exploited?

There is no confirmed exploitation: CVE-2026-31612 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31612?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-31612?

Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4b73376feecb3b61172fe5b4ff42bbbb8531669d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3363a770b193f555f29d76ddf4ced3305c0ccf6d; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < dfc6878d14acafffbe670bf2576620757a10a3d8; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 66751841212c2cc196577453c37f7774ff363f02; Linux 5.15.

Is there a fix for CVE-2026-31612?

Yes. Fixed in Linux 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3, Linux 4b73376feecb3b61172fe5b4ff42bbbb8531669d, Linux 551dfb15b182abad4600eaf7b37e6eb7000d5b1b, Linux 3363a770b193f555f29d76ddf4ced3305c0ccf6d, Linux 243b206bcb5a7137e8bddd57b2eec81e1ebd3859, Linux 66751841212c2cc196577453c37f7774ff363f02. Upgrade Linux to 66751841212c2cc196577453c37f7774ff363f02 or later.

How do I check if I'm affected by CVE-2026-31612?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors