CVE-2026-99081: bnxt_en: fix DMA mapping length for padded small packets

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bnxten: 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 NOPASID] Request device [18:00.0] fault addr 0xfc499000 [fault reason 0x06] PTE Read access is not set bnxten 0000:18:00.0 eno1np0: Abandoning msg {0xb4 0x41a} len: 0 due to firmware status: 0x2000001 ... NETDEV WATCHDOG: eno1np0 (bnxten): transmit queue 0 timed out

The fault address (0xfc499000) is on an exact 4KB page boundary, pointing to a DMA read buffer overrun.

In bnxtstartxmit(), packets smaller than BNXTMINPKTSIZE (52 bytes), such as 42-byte untagged ARP frames, are padded:

if (length < BNXTMINPKTSIZE) { pad = BNXTMINPKTSIZE - length; if (skbpad(skb, pad)) goto txkickpending; length = BNXTMINPKTSIZE; }

mapping = dmamapsingle(&pdev->dev, skb->data, len, DMATODEVICE); ... dmaunmaplenset(txbuf, len, len);

However, 'len' was initialized earlier to skbheadlen(skb) (e.g. 42 bytes) and is left unadjusted after padding. Consequently, dmamapsingle() and dmaunmaplenset() map and track only 42 bytes.

Later, the hardware TX buffer descriptor is programmed with the padded length:

txbd->txbdlenflagstype = cputole32(((len + pad) << TXBDLENSHIFT) | flags | TXBDFLAGSPACKETEND);

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 skbunderpanic and races when toggling HW VLAN offload") because reserving extra VLAN headroom rounded LLRESERVEDSPACE 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 skbputpadto(skb, BNXTMINPKTSIZE) in bnxtstartxmit(), before skbshinfo(skb)->nrfrags is sampled, because padding might linearize the skb. This ensures skb->len and skbheadlen(skb) reflect the padded size so that dmamapsingle() 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 bnxtswudpgsoxmit() 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 gsosize, or a short last segment) is sent as a frame shorter than BNXTMINPKTSIZE. This is a separate issue, left for a followup patch.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·12:23 PM
Data Sourced
via MITRE·12:23 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203