Skip to main content
Mallory
HighVulnerability

CVE-2026-31432: Linux ksmbd compound QUERY_INFO security descriptor out-of-bounds write

Published Apr 22, 2026 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS0.57%49th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2026-31432CWE-787 · Out-of-bounds Write

CVE-2026-31432 is an out-of-bounds write vulnerability in the Linux kernel's ksmbd SMB server when processing compound requests containing QUERY_INFO(Security). An earlier operation, such as READ, can consume most of the response buffer. The smb2_get_info_sec() function checks available space using ppntsd_size from an extended attribute, although build_sec_desc() can synthesize a substantially larger security descriptor from POSIX ACLs. This size mismatch allows security descriptor construction to write beyond the allocated response buffer and corrupt adjacent kernel memory. Exploitation is remotely reachable and can be unauthenticated when an accessible guest share is configured.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation causes kernel-memory corruption and can crash the system, disrupting all services on the affected host. Laboratory testing demonstrated attacker-derived response bytes corrupting adjacent kernel objects, including struct file, and affecting filp_flush and dnotify_flush. Broader confidentiality and integrity compromise is potentially possible, but a completed remote code execution exploit has not been demonstrated in the available information. CVSS v3.1 assigns a High severity score of 8.8, with high confidentiality, integrity, and availability impacts.

Mitigation

If you can’t patch tonight, do this now.

Until a corrected kernel can be deployed, disable ksmbd where it is unnecessary or restrict SMB access to trusted clients using network controls. Disabling guest access removes the unauthenticated exploitation path but does not protect against attackers with valid share access. These measures reduce exposure rather than correct the underlying buffer-sizing flaw.

Remediation

Patch, then assume compromise.

Install the distribution-supported kernel update addressing CVE-2026-31432 and reboot into the corrected kernel. The fix introduces smb_acl_sec_desc_scratch_len() to calculate the final descriptor size before construction, validates available output space with smb2_calc_max_out_buf_len(), and uses exact-sized allocation with iov pinning. Example corrected Ubuntu versions include linux 6.8.0-136.136 for Ubuntu 24.04 LTS and linux-hwe-6.8 6.8.0-136.136~22.04.1 for Ubuntu 22.04 LTS. Other kernel flavors require their corresponding fixed packages; these version thresholds must not be applied across distributions or kernel streams. Prefer supported vendor updates over manually cherry-picking the patch.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2026-31432 exploited in the wild?
As of Dec 3, 2026, Mallory has no reports of CVE-2026-31432 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-31432?
As of Dec 3, 2026, Mallory has found no public exploit for CVE-2026-31432.
Is there a patch for CVE-2026-31432?
Install the distribution-supported kernel update addressing CVE-2026-31432 and reboot into the corrected kernel. The fix introduces smb_acl_sec_desc_scratch_len() to calculate the final descriptor size before construction, validates available output space with smb2_calc_max_out_buf_len(), and uses exact-sized allocation with iov pinning.
What products are affected by CVE-2026-31432?
Linux Kernel.
How severe is CVE-2026-31432?
CVE-2026-31432 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.57% (49th percentile) as of Dec 3, 2026.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Oct 2, 2026Echo: linux: security update to 6.12.85-1 | Tenable®An out-of-bounds write vulnerability in the Linux kernel's ksmbd component. Buffer checks used a security descriptor size from extended attributes, but the descriptor synthesized from POSIX ACLs could be significantly larger. Compound SMB requests could consequently cause writes beyond the allocated response buffer. The reference assigns a CVSS v3 base score of 8.8, indicating network access, low privileges required, and potentially high confidentiality, integrity, and availability impacts. The fix calculates the final descriptor size, checks available buffer space, and uses exact-sized allocation with iov pinning.Read more ↗scworldNews · May 14, 2026You’re not going to patch your way out of this - PSW #926 | SC MediaA remote, unauthenticated out-of-bounds write vulnerability in the Linux kernel ksmbd component triggered by compound SMB requests and missing bounds checks after reply buffer consumption.Read more ↗reddit netsecNews · May 9, 2026Getting LLMs Drunk to Find Remote Linux Kernel OOB Writes (and More) : r/netsecA specific vulnerability identified as CVE-2026-31432, referenced in the context of remote Linux kernel out-of-bounds writes.Read more ↗heyitsasim blogNews · Apr 29, 2026Getting LLMs Drunk to Find Remote Linux Kernel OOB Writes (and More) · Hey, it's AsimAn out-of-bounds write in the Linux kernel's ksmbd SMB server. Compound requests can exhaust the reply buffer before a subsequent operation appends variable-length metadata without sufficient bounds checking. Guest-share access enables unauthenticated exploitation. Laboratory testing demonstrated attacker-derived QUERY_INFO(Security) response bytes corrupting adjacent kernel objects, including a struct file. Remote code execution was suggested as a possible laboratory outcome, not demonstrated.Read more ↗
+2 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.