Security mailing lists by PureSourceCode

CVE-2026-139472

not scored yet

bng_en: pad short frames before sampling nr_frags

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= bd5ad9c052c855c0c8a0e98f5405a22f5887b298, < b06498e826889f109dfbe681122e8b993ff4a6c2; >= bd5ad9c052c855c0c8a0e98f5405a22f5887b298, < 056d046bf530d44bff5ce13a0addbc50c14ac95f b06498e826889f109dfbe681122e8b993ff4a6c2, 056d046bf530d44bff5ce13a0addbc50c14ac95f
CVE List Linux Linux = 7.0

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.