{"id":"CVE-2026-139472","aliases":["CVE-2026-139472"],"related":[],"kind":"vulnerability","state":"published","title":"bng_en: pad short frames before sampling nr_frags","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbng_en: pad short frames before sampling nr_frags\n\nbnge_start_xmit() samples skb_shinfo(skb)->nr_frags into last_frag,\nand stores it in tx_buf->nr_frags, before calling eth_skb_pad().\n\nIf a nonlinear skb is shorter than ETH_ZLEN, __skb_pad() calls\nskb_linearize(), which pulls the frags into the linear part,\nreleases the frag pages and sets nr_frags to zero.\n\nbnge_start_xmit() then uses the stale last_frag to fill TX_BD_CNT()\nand to walk skb_shinfo(skb)->frags[], DMA-mapping pages the skb\nno longer holds a reference on, and sending their content twice.\n\nFix this by calling eth_skb_pad() before nr_frags is sampled.\n\nFound by Sashiko while reviewing the similar bnxt_en fix.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbng_en: pad short frames before sampling nr_frags\n\nbnge_start_xmit() samples skb_shinfo(skb)->nr_frags into last_frag,\nand stores it in tx_buf->nr_frags, before calling eth_skb_pad().\n\nIf a nonlinear skb is shorter than ETH_ZLEN, __skb_pad() calls\nskb_linearize(), which pulls the frags into the linear part,\nreleases the frag pages and sets nr_frags to zero.\n\nbnge_start_xmit() then uses the stale last_frag to fill TX_BD_CNT()\nand to walk skb_shinfo(skb)->frags[], DMA-mapping pages the skb\nno longer holds a reference on, and sending their content twice.\n\nFix this by calling eth_skb_pad() before nr_frags is sampled.\n\nFound by Sashiko while reviewing the similar bnxt_en fix.","source":"cvelist"}],"published":"2026-11-30T13:35:04.145Z","modified":"2026-11-30T14:19:20.053Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bd5ad9c052c855c0c8a0e98f5405a22f5887b298","fixed":"b06498e826889f109dfbe681122e8b993ff4a6c2","status":"affected"},{"type":"git","introduced":"bd5ad9c052c855c0c8a0e98f5405a22f5887b298","fixed":"056d046bf530d44bff5ce13a0addbc50c14ac95f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b06498e826889f109dfbe681122e8b993ff4a6c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/056d046bf530d44bff5ce13a0addbc50c14ac95f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139472","url":"https://www.cve.org/CVERecord?id=CVE-2026-139472","licence":"CVE Terms of Use","modified":"2026-11-30T13:35:04.145Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139472","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139472","licence":"Public domain","modified":"2026-11-30T14:19:20.053Z"}],"updatedAt":"2026-11-30T14:33:27.127Z","epss":{"score":0.00198,"percentile":0.10108,"date":"2026-12-01T12:00:22.000Z"}}