KernelScan.io

HIGH Introduced in 4.4

bnxt_en SmallPacket DmaOverrun

CVE-2026-99081

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

KernelScan AI5.3MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: fix DMA mapping length for padded small packets Stefan Fleischmann reported Intel IOMMU DMA Read faults on BCM57412 NetXtreme-E NICs when transmitting packets on VLAN/macvlan interfaces: DMAR: [DMA Read NO_PASID] Request device [18:00.0] fault addr 0xfc499000 [fault reason 0x06] PTE Read access is not set bnxt_en 0000:18:00.0 eno1np0: Abandoning msg {0xb4 0x41a} len: 0 due to firmware status: 0x2000001 ... NETDEV WATCHDOG: eno1np0 (bnxt_en): transmit queue 0 timed out The fault address (0xfc499000) is on an exact 4KB page boundary, pointing to a DMA read buffer overrun. In bnxt_start_xmit(), packets smaller than BNXT_MIN_PKT_SIZE (52 bytes), such as 42-byte untagged ARP frames, are padded: if (length < BNXT_MIN_PKT_SIZE) { pad = BNXT_MIN_PKT_SIZE - length; if (skb_pad(skb, pad)) goto tx_kick_pending; length = BNXT_MIN_PKT_SIZE; } mapping = dma_map_single(&pdev->dev, skb->data, len, DMA_TO_DEVICE); ... dma_unmap_len_set(tx_buf, len, len); However, 'len' was initialized earlier to skb_headlen(skb) (e.g. 42 bytes) and is left unadjusted after padding. Consequently, dma_map_single() and dma_unmap_len_set() map and track only 42 bytes. Later, the hardware TX buffer descriptor is programmed with the padded length: txbd->tx_bd_len_flags_type = cpu_to_le32(((len + pad) << TX_BD_LEN_SHIFT) | flags | TX_BD_FLAGS_PACKET_END); The NIC DMA engine is thus instructed to read 52 bytes from a region where only 42 bytes were DMA-mapped. If skb->data ends near the boundary of a 4KB page (within 'pad' bytes of the next page), the hardware DMA read overruns into the unmapped adjacent page, triggering an IOMMU fault. This issue was exposed after commit 447cbe95ebb9 ("vlan: fix skb_under_panic and races when toggling HW VLAN offload") because reserving extra VLAN headroom rounded LL_RESERVED_SPACE from 48 up to 64 bytes, shifting skb->data offsets and potentially causing small frames to land right against page boundaries. Fix this by using skb_put_padto(skb, BNXT_MIN_PKT_SIZE) in bnxt_start_xmit(), before skb_shinfo(skb)->nr_frags is sampled, because padding might linearize the skb. This ensures skb->len and skb_headlen(skb) reflect the padded size so that dma_map_single() maps the full buffer and the descriptor length is consistent. This also removes the temporary 'pad' variable and masking logic. The padding is done after the SW USO branch, otherwise bnxt_sw_udp_gso_xmit() would account the padding as UDP payload and send it in extra segments. Note that SW USO segments are still not padded: with IPv4, a segment carrying less than 10 bytes of UDP payload (small gso_size, or a short last segment) is sent as a frame shorter than BNXT_MIN_PKT_SIZE. This is a separate issue, left for a followup patch.

02

Engine v0.9.0

Risk summary

Systems with Broadcom BCM57412 NetXtreme-E NICs using the bnxt_en driver are at risk when transmitting small packets on VLAN or macvlan interfaces with IOMMU enabled. A local attacker can cause a denial of service (network interface hang) by transmitting packets that land near page boundaries, and in configurations without strict IOMMU enforcement, adjacent memory contents could be exposed to the hardware. Container hosts and multi-tenant systems are particularly exposed since unprivileged users can trigger the fault.

Affecteddrivers/net/ethernet/broadcom/bnxt/bnxt.c (bnxt_en driver)

Vulnerability analysis

The bnxt_en driver for Broadcom NetXtreme-E NICs incorrectly calculates the DMA mapping length when transmitting small packets that require padding to meet the minimum frame size. When a packet smaller than 52 bytes (such as a 42-byte ARP frame) is transmitted, the driver pads the socket buffer but fails to update the length variable used for DMA mapping, causing only the original unpadded length to be mapped while the hardware descriptor specifies the padded length. If the packet data resides near a 4KB page boundary, the NIC's DMA engine reads beyond the mapped region into an adjacent unmapped page, triggering an IOMMU fault and a transmit queue watchdog timeout. The fix replaces the manual padding logic with skb_put_padto(), which properly updates the socket buffer's length fields so that DMA mapping and hardware descriptor lengths remain consistent. A local user can trigger this by sending small packets through the affected interface, and the issue is exacerbated on systems with IOMMU enabled where VLAN or macvlan configurations shift memory alignments.

03

BranchIntroducedFixed inPatch commit
5.104.45.10.2730f347e00d060
5.154.45.15.224b3fd0177cf18
6.14.46.1.1913a5d8465e73a
6.124.46.12.1132956aca14dd2
6.184.46.18.57fbd977e51397
6.64.46.6.160cf8530a25ae9
7.24.47.2.115213f65a9667
mainline4.47.3a51d233ccd48
cip/6.124.46.12.114-cip342956aca14dd2

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)