CVE-2026-31432·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix OOB write in QUERY_INFO for compound requests When a compound request such as READ + QUERY_INFO(Security) is received, and the first command (READ) consumes most of the response buffer, ksmbd could write beyond the allocated buffer while building a security descriptor. The root cause was that smb2_get_info_sec() checked buffer space using ppntsd_size from xattr, while build_sec_desc() often synthesized a significantly larger descriptor from POSIX ACLs. This patch introduces smb_acl_sec_desc_scratch_len() to accurately compute the final descriptor size beforehand, performs proper buffer checking with smb2_calc_max_out_buf_len(), and uses exact-sized allocation + iov pinning.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.55% — higher than 46% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31432 scores 8.8 on CVSS, so a successful attack would be serious — but at 0.55%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.12
Fixed in: 6.19.12
How to fix this CVE
Update your Linux kernel to version 6.19.12 or later to patch an out-of-bounds write vulnerability in ksmbd's compound request handling. This vulnerability affects the SMB file sharing protocol when processing combined READ and QUERY_INFO requests. Apply the patch immediately to prevent potential kernel memory corruption and privilege escalation through the ksmbd network service.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — if it shows 6.19.0 through 6.19.11, you are vulnerable.
- Verify ksmbd is enabled and loaded with: lsmod | grep ksmbd — if present, the SMB sharing service is active.
- Check if SMB shares are exposed to the network with: sudo smbstatus — active connections indicate potential attack surface.
- After patching, verify the fix with: uname -r — confirm version is 6.19.12 or higher, then reboot if required.
FAQ
What is CVE-2026-31432?
This is a kernel-level memory safety bug in ksmbd (Linux SMB server) where compound SMB requests could trigger an out-of-bounds write when building security descriptors, potentially allowing privilege escalation or kernel crash.
Is CVE-2026-31432 being actively exploited?
No — this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-31432?
Linux kernel versions 6.19.0 through 6.19.11 are affected. The vulnerability is fixed in version 6.19.12 and later.
How do I check if my server is vulnerable to CVE-2026-31432?
Run `uname -r` to check your kernel version — if it reports 6.19.x where x is less than 12, and `lsmod | grep ksmbd` returns results, your system is vulnerable.
Does Defensia detect CVE-2026-31432?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31432 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/075ea208c648cc2bcd616295b711d3637c61de45
- https://git.kernel.org/stable/c/515c2daab46021221bdf406bef19bc90a44ec617
- https://git.kernel.org/stable/c/533f84264e28c54a79257ea87d2f94a0fcc9a611
- https://git.kernel.org/stable/c/850452af77f55d185f9445e1f7a1db53c5e4aad4
- https://git.kernel.org/stable/c/d48c64fb80ad78b3dd29fb7d79b6ec7bd72bfc09
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31432. Free for 1 server.
Get started free