{"id":"CVE-2026-139472","summary":"bng_en: pad short frames before sampling nr_frags","details":"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)-\u003enr_frags into last_frag,\nand stores it in tx_buf-\u003enr_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)-\u003efrags[], 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.","modified":"2026-12-01T21:02:38.503548663Z","published":"2026-11-30T13:35:04.145Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139472.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/056d046bf530d44bff5ce13a0addbc50c14ac95f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b06498e826889f109dfbe681122e8b993ff4a6c2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139472.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139472"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}