CVE-2026-139472

Source
https://cve.org/CVERecord?id=CVE-2026-139472
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139472.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139472
Downstream
Published
2026-11-30T13:35:04Z
Modified
2026-12-01T21:02:38Z
Summary
bng_en: pad short frames before sampling nr_frags
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139472.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bd5ad9c052c855c0c8a0e98f5405a22f5887b298
Fixed
b06498e826889f109dfbe681122e8b993ff4a6c2
Fixed
056d046bf530d44bff5ce13a0addbc50c14ac95f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139472.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139472.json"