CVE-2026-31432

High

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.

Package Linux Kernel
Published 2026-04-22
Last modified 2026-05-21
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

8.8

out of 10
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-787

CVE-2026-31432 is a Out-of-bounds Write vulnerability

What is Out-of-bounds Write?

The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.15.145, 6.1.71, 6.6 and later are affected. Fixed in 6.12.81, 6.18.22, 6.19.12, 7.0 and their respective stable series.

Affected from
≥ 5.15.145 ≥ 6.1.71 ≥ 6.6
Fixed in
✓ 6.12.81 6.12.x ✓ 6.18.22 6.18.x ✓ 6.19.12 6.19.x ✓ 7.0

References

The following references provide additional information about CVE-2026-31432 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2026-31432?

    CVE-2026-31432 is a High severity Linux kernel vulnerability with a CVSS score of 8.8 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 5.15.145 onward and has been patched in 6.12.81, 6.18.22, 6.19.12 and others. CVE-2026-31432 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2026-31432?

    CVE-2026-31432 has a CVSS score of 8.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2026-31432?

    Yes — CVE-2026-31432 has been patched. Fixed versions include 6.12.81, 6.18.22, 6.19.12 and others. If you are running Linux kernel 5.15.145 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-31432 actively exploited?

    No — CVE-2026-31432 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

  • What is Out-of-bounds Write (CWE-787)?

    The product writes data past the end or before the beginning of the intended buffer. View CWE-787 on MITRE CWE →