Skip to main content
VulnerabilityPublished Updated

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

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High.

Data as of 12 Nov 2026, 03:20 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Linux)CVSS 3.17.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel by adding proper validation of the EaNameLength field in smb2_get_ea(). Users should apply the official Linux kernel updates that include this patch to remediate the issue. Since this is a kernel vulnerability, updating to the fixed kernel version is the recommended mitigation. No alternative workarounds are indicated.

Description

CVE-2026-31612 is a high-severity vulnerability in the Linux kernel's ksmbd component. It involves improper validation of the EaNameLength field in the smb2_get_ea() function, which can lead to uninitialized heap data being leaked to a client. The flaw arises because the length value is used directly in a strncmp() call without verifying that it matches the actual size of the input buffer. This vulnerability has been resolved by adding proper size checks to prevent misuse of the length as a trusted buffer size.

References

Community reviews

Loading reviews…