CVE-2026-31395
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-31395 is an out-of-bounds access vulnerability in the Linux kernel's bnxt_en driver, specifically in the DBG_BUF_PRODUCER async event handler within bnxt_async_event_process(). The vulnerability arises because a firmware-supplied 16-bit type field is used directly as an array index into bp->bs_trace[] without bounds validation, allowing a malicious or compromised Broadcom NIC to trigger kernel heap memory corruption. It affects Linux kernel versions 6.13 through 6.18.20 and 6.19 through 6.19.10, as well as 7.0-rc1 through 7.0-rc4. It was published on April 3, 2026, and carries a CVSS v3.1 base score of 7.1 (High) (Github Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-787 (Out-of-bounds Write) and CWE-125 (Out-of-bounds Read). The ASYNC_EVENT_CMPL_EVENT_ID_DBG_BUF_PRODUCER handler in bnxt_async_event_process() extracts a 16-bit type field from DMA-mapped completion ring memory — memory that the NIC writes directly to host RAM — and uses it without validation as an index into the bp->bs_trace[] array. Since the type field can range from 0 to 65535 but the array only covers trace types 0x0 through 0xc, a malicious or compromised NIC can supply an out-of-range value, causing bnxt_bs_trace_check_wrap() to dereference bs_trace->magic_byte and write to bs_trace->last_offset and bs_trace->wrapped at arbitrary kernel heap offsets. The fix adds a bounds check and defines BNXT_TRACE_MAX as DBG_LOG_BUFFER_FLUSH_REQ_TYPE_ERR_QPC_TRACE + 1 (Red Hat Bugzilla, Github Advisory).

Impact

Successful exploitation can result in kernel heap memory corruption, denial of service via kernel crash, or potential privilege escalation if the memory corruption can be leveraged to overwrite sensitive kernel data structures. The confidentiality impact is high, as out-of-bounds reads may expose kernel heap contents; availability is also high due to the risk of kernel panic. While integrity is not directly impacted in the CVSS scoring, the write primitive to arbitrary heap offsets creates conditions that could be chained for further exploitation in targeted attack scenarios (Github Advisory, Red Hat Bugzilla).

Mitigation and workarounds

Apply the upstream kernel patches available for the affected stable branches: commit 19aa416eed9e (for the 6.19.x branch), 64dcbde7f8f8 (for the 6.18.x branch), and b7c7a275447c (for an additional stable branch) (Github Advisory). Distributions including SUSE have released security updates (e.g., SUSE-SU-2026:21834-1, SUSE-SU-2026:2217-1, SUSE-SU-2026:2238-1). As an interim measure, restrict access to network device firmware update capabilities and ensure Broadcom NICs are sourced from trusted vendors with verified supply chains. Monitor kernel logs for unexpected async event processing errors or system crashes that may indicate exploitation attempts.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management