Bug 2586603 (CVE-2026-139472) - CVE-2026-139472 kernel: kernel: bng_en: Denial of Service via use-after-free during short frame transmission
Summary: CVE-2026-139472 kernel: kernel: bng_en: Denial of Service via use-after-free ...
Keywords:
Status: NEW
Alias: CVE-2026-139472
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:28 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:16 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:28:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

bng_en: pad short frames before sampling nr_frags

bnge_start_xmit() samples skb_shinfo(skb)->nr_frags into last_frag,
and stores it in tx_buf->nr_frags, before calling eth_skb_pad().

If a nonlinear skb is shorter than ETH_ZLEN, __skb_pad() calls
skb_linearize(), which pulls the frags into the linear part,
releases the frag pages and sets nr_frags to zero.

bnge_start_xmit() then uses the stale last_frag to fill TX_BD_CNT()
and to walk skb_shinfo(skb)->frags[], DMA-mapping pages the skb
no longer holds a reference on, and sending their content twice.

Fix this by calling eth_skb_pad() before nr_frags is sampled.

Found by Sashiko while reviewing the similar bnxt_en fix.


Note You need to log in before you can comment on or make changes to this bug.