CVE-2026-139472: bng_en: pad short frames before sampling nr_frags

Published Nov 30, 2026
·
Updated

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

bngen: pad short frames before sampling nrfrags

bngestartxmit() samples skbshinfo(skb)->nrfrags into lastfrag, and stores it in txbuf->nrfrags, before calling ethskbpad().

If a nonlinear skb is shorter than ETHZLEN, skbpad() calls skblinearize(), which pulls the frags into the linear part, releases the frag pages and sets nrfrags to zero.

bngestartxmit() then uses the stale lastfrag to fill TXBDCNT() and to walk skbshinfo(skb)->frags[], DMA-mapping pages the skb no longer holds a reference on, and sending their content twice.

Fix this by calling ethskbpad() before nrfrags is sampled.

Found by Sashiko while reviewing the similar bnxten fix.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In bnge_start_xmit() in the bnxt_en driver, call eth_skb_pad() before sampling skb_shinfo(skb)->nr_frags.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description

Frequently Asked Questions

1

What traffic condition is required to trigger this issue?

The transmit path must handle a nonlinear socket buffer shorter than ETH_ZLEN. Padding such a frame can linearize it and reduce its fragment count to zero after the driver has already saved the old count.

2

What is the practical impact if the vulnerable path is reached?

The driver can use a stale fragment count to construct transmit descriptors and DMA-map fragment pages it no longer references. This can cause stale page content to be transmitted a second time.

3

How can I tell whether a system is affected?

Check whether the installed Linux kernel includes the bng_en change that calls eth_skb_pad() before sampling skb_shinfo(skb)->nr_frags in bnge_start_xmit(). The provided stable references identify commits containing the fix.

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