← All Advisories
Reported from OT-Advisories.com as of

A Compound READ Plus QUERY_INFO Request Triggers an Out-of-Bounds Write in Linux Kernel ksmbd

Last refreshed2026-11-19

Status: UPDATED  |  Advisory ID: CVE-2026-31432

Key Details

CVECVE-2026-31432
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated2026-10-30
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-787 (Out-of-bounds Write)
Exploitation prediction (EPSS)
0.57% probability of exploitation in the next 30 days (48% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-31432
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-31432
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.