{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139099 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139099 is a vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139099 and fix it if it is affected.\n\nWhat it is: CVE-2026-139099 is a vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139099 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-139099/ (Markdown: https://insights.sbomify.com/CVE-2026-139099/index.md)","id":"CVE-2026-139099","markdown":"https://insights.sbomify.com/CVE-2026-139099/index.md","name":"CVE-2026-139099","record":{"aliases":["BELL-CVE-2026-139099","DEBIAN-CVE-2026-139099","GHSA-v6rw-9mm8-fm4g","UBUNTU-CVE-2026-139099"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bgmac: fix TX DMA unmapping and slot cleanup\n\nWhen mapping a fragment fails, bgmac_dma_tx_add() unwinds with the\nwrong slots. It passes the failed fragment's slot-\u003edma_addr, which\nholds the mapping error, to dma_unmap_single() for the head. The\nfragment loop indexes from ring-\u003eend instead of ring-\u003eend + 1, so it\nunmaps the head a second time as a page and leaves the last mapped\nfragment mapped. None of the affected slots get their dma_addr cleared\neither, which includes the head slot when mapping the head fails.\n\nbgmac_dma_tx_ring_free() unmaps every slot with a non-zero dma_addr,\nso tearing down the ring unmaps these addresses again. It also frees\nthe skbs of pending TX slots but leaves slot-\u003eskb and slot-\u003edma_addr\nset. The slots survive a down/up cycle, and bgmac_dma_tx_add() only\nsets slot-\u003eskb on the last slot of a packet. If a slot with a stale\npointer is later used for the head or a fragment of a scatter/gather\npacket, bgmac_dma_tx_free() frees the old skb a second time when that\nslot completes.\n\nbgmac_dma_tx_ring_free() also picks dma_unmap_single() or\ndma_unmap_page() by looking at slot-\u003eskb, which is set on the last slot\nof a packet, while the head was mapped with dma_map_single() and the\nfragments with skb_frag_dma_map().\n\nIn the error path, unmap the head and each mapped fragment from their\nown slots, and clear dma_addr on every slot the failed packet touched.\nIn bgmac_dma_tx_ring_free(), choose the unmap function by the SOF flag\nof the descriptor like bgmac_dma_tx_free() does, unmap every slot\nbefore freeing any skb, since a packet can wrap around the end of the\nring with its skb on the last slot, and clear both fields.\n\nThis was found through code inspection by an LLM while hitting other\nbugs on an Asus RT-N16. It did not hit these ones specifically.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"net: bgmac: fix TX DMA unmapping and slot cleanup","id":"CVE-2026-139099","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":8,"n_vendor_status":0,"next":{"headline":"gro: do not GRO GSO packets with inconsistent payload","id":"CVE-2026-139100"},"nickname":null,"packages":[],"prev":{"headline":"tcp: avoid double destroy in tcp_abort() of an unaccepted child","id":"CVE-2026-139098"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-30","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139099/"}