{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "490cb412007de593e07c1d3e2b1ec4233886707c"
            },
            {
              "fixed": "e44e5f427318c1c28e79a8b0c9489be7f55cd65d"
            },
            {
              "fixed": "ba15b30076e00f4c9d38d25501f84cf37ae9fbbc"
            },
            {
              "fixed": "e204655043a1af000b72389a4a3e38b461b5ec2b"
            },
            {
              "fixed": "f2c1a1b53c323d776e2678a6867d5816046a2204"
            },
            {
              "fixed": "a3cf9877558ab2c51182af558815dde64fc17cb9"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139245.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmasp: unmap previous DMA mappings on TX map failure\n\nWhen mapping an skb with fragments for transmission in bcmasp_xmit(),\nif mapping fails on fragment i \u003e 0, the error handler calls\nbcmasp_clean_txcb() for previous iterations j \u003c i. However,\nbcmasp_clean_txcb() only zeroes the control block fields without\nunmapping the DMA buffers, leaking the DMA mappings allocated for the\nhead and earlier fragments.\n\nCall dma_unmap_single() before calling bcmasp_clean_txcb() in the error\ncleanup loop.",
  "id": "CVE-2026-139245",
  "modified": "2026-12-01T20:46:07.483573887Z",
  "published": "2026-11-30T13:32:57.882Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a3cf9877558ab2c51182af558815dde64fc17cb9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ba15b30076e00f4c9d38d25501f84cf37ae9fbbc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e204655043a1af000b72389a4a3e38b461b5ec2b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e44e5f427318c1c28e79a8b0c9489be7f55cd65d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f2c1a1b53c323d776e2678a6867d5816046a2204"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139245.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139245"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: bcmasp: unmap previous DMA mappings on TX map failure"
}