Linux Kernel up to 6.12.80/6.18.21/6.19.11 ksmbd smb2_get_info_sec out-of-bounds write

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.2$5k-$25k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Linux Kernel up to 6.12.80/6.18.21/6.19.11. Affected by this vulnerability is the function smb2_get_info_sec of the component ksmbd. The manipulation leads to out-of-bounds write. This vulnerability is uniquely identified as CVE-2026-31432. No exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Linux Kernel up to 6.12.80/6.18.21/6.19.11. This issue affects the function smb2_get_info_sec of the component ksmbd. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. The identification of this vulnerability is CVE-2026-31432 since 03/09/2026. The exploitation is known to be easy. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 07/24/2026).

Upgrading to version 6.12.81, 6.18.22 or 6.19.12 eliminates this vulnerability. Applying the patch d48c64fb80ad78b3dd29fb7d79b6ec7bd72bfc09/075ea208c648cc2bcd616295b711d3637c61de45/515c2daab46021221bdf406bef19bc90a44ec617/fda9522ed6afaec45cabc198d8492270c394c7bc is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-1232). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Nutanix AOS
  • Google Container-Optimized OS
  • Debian Linux
  • Google Cloud Platform
  • Amazon Linux 2
  • IBM Power Hardware Management Console
  • Juniper JUNOS
  • Red Hat Enterprise Linux
  • Nutanix AHV
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • IGEL OS
  • LANCOM LCOS
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Moxa Switch
  • Moxa Router
  • Aruba AOS-CX
  • Docker Desktop
  • Siemens SIMATIC S7
  • Red Hat OpenShift
  • Nutanix Prism Central
  • Nutanix Files
  • Nutanix Database Service
  • Nutanix Objects
  • Nutanix Data Lens
  • Nutanix Flow
  • Nutanix Self-Service
  • Moxa MXsecurity
  • IBM Storage Scale System

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 8.2

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 8.8
CNA Vector (Linux): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 6.12.81/6.18.22/6.19.12
Patch: d48c64fb80ad78b3dd29fb7d79b6ec7bd72bfc09/075ea208c648cc2bcd616295b711d3637c61de45/515c2daab46021221bdf406bef19bc90a44ec617/fda9522ed6afaec45cabc198d8492270c394c7bc

Timelineinfo

03/09/2026 CVE reserved
04/22/2026 +43 days Advisory disclosed
04/22/2026 +0 days VulDB entry created
07/24/2026 +93 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2026-31432 (🔒)
GCVE (CVE): GCVE-0-2026-31432
GCVE (VulDB): GCVE-100-358787
CERT Bund: WID-SEC-2026-1232 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 04/22/2026 12:02
Updated: 07/24/2026 15:42
Changes: 04/22/2026 12:02 (59), 04/30/2026 08:02 (7), 05/07/2026 13:43 (1), 05/21/2026 23:35 (11), 07/24/2026 15:42 (3)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!