CVE-2026-142888
Received Received - Intake

Buffer Overflow in Linux Kernel bnxt_en Driver

Vulnerability report for CVE-2026-142888, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: resize Rx head buffers when rx-copybreak changes Since rx-copybreak became configurable, bnxt_set_ring_params() sizes the head buffers to fit at least rx_copybreak bytes, and the copybreak path in bnxt_copy_data() syncs rx_copybreak bytes of the head buffer. bnxt_set_tunable() however only updates bp->rx_copybreak, and nothing on the open path recalculates the ring parameters. After raising rx-copybreak the head buffers keep their old size until some other setting changes, and bnxt_copy_data() syncs past their end, into the next buffer in the page or past the end of the page: DMA-API: bnxt_en 0000:01:00.0: device driver tries to sync DMA memory it has not allocated [device address=0x00000002aa210c40] [size=1024 bytes] WARNING: kernel/dma/debug.c:1162 at check_sync+0x577/0x1eb0, CPU#22: swapper/22/0 Call Trace: <IRQ> debug_dma_sync_single_for_cpu+0x66/0x90 bnxt_copy_data+0x12f/0x290 bnxt_rx_pkt+0x24ea/0x50f0 __bnxt_poll_work+0x42c/0xc00 bnxt_poll_p5+0x579/0x17a0 __napi_poll+0x8b/0x2c0 net_rx_action+0x58f/0xbb0 Here the head buffers were still sized for the 640B HDS threshold, four 1kB buffers per page, while rx-copybreak was raised to 1024. Without coherent DMA or with swiotlb the oversized sync can corrupt a neighboring buffer owned by the device or by an skb. The device must be down for rx-copybreak to change, so recalculate the ring parameters right away, like bnxt_set_ringparam() does. Hit while testing patch 1, tested on BCM57504 - boot; set rx-copybreak to 1024 with the link down (CONFIG_DMA_API_DEBUG); ifup.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
bnxt linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves improper handling of Rx head buffers in the Broadcom bnxt Ethernet driver. When the rx-copybreak setting is increased, the driver fails to resize the head buffers accordingly. This causes the driver to sync more data than allocated, potentially corrupting adjacent memory buffers due to DMA operations.

Detection Guidance

This vulnerability may trigger DMA-API debug warnings or kernel oops messages when rx-copybreak is increased while the device is active. Check kernel logs for DMA sync errors or warnings from bnxt_en driver using dmesg | grep -i dma or dmesg | grep -i bnxt.

Impact Analysis

This flaw may lead to memory corruption, system crashes, or data integrity issues. It specifically risks corrupting neighboring buffers in memory, which could cause unpredictable behavior or security vulnerabilities in systems using affected bnxt network devices.

Mitigation Strategies

Bring the affected network interface down before changing rx-copybreak settings. Use ifconfig <interface> down or ip link set <interface> down. After modifying rx-copybreak, recalculate ring parameters by bringing the interface back up with ifconfig <interface> up or ip link set <interface> up.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142888. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...