Skip to main content
VulnerabilityPublished Updated

CVE-2026-31705: Linux kernel · ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-31705· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 23 Nov 2026, 10:25 UTC

CVSS 3.1 base score
9.8Critical
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.19.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 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 22 Nov 2026.

What to do

AI-suggested

No explicit patch links are provided in the input data. Until a fix is applied, avoid processing untrusted SMB2 compound requests with ksmbd or apply any vendor-recommended mitigations once available.

Description

CVE-2026-31705 is a critical out-of-bounds write vulnerability in the Linux kernel's ksmbd component, specifically in the smb2_get_ea() function. The flaw arises because alignment padding is applied unconditionally after writing each Extended Attribute (EA) entry without verifying sufficient buffer space. This can cause 1-3 bytes to be written past the allocated buffer boundary, potentially corrupting adjacent kernel heap memory during compound SMB2 requests. The issue is similar to previously fixed bugs in ksmbd related to out-of-bounds writes in QUERY_INFO response handlers.

References

Community reviews

Loading reviews…