{"id":"CVE-2026-139245","state":"PUBLISHED","title":"net: bcmasp: unmap previous DMA mappings on TX map failure","description":"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 > 0, the error handler calls\nbcmasp_clean_txcb() for previous iterations j < 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.","publishedAt":"2026-11-30T13:32:57.882Z","updatedAt":"2026-11-30T13:32:57.882Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"e44e5f427318c1c28e79a8b0c9489be7f55cd65d","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"ba15b30076e00f4c9d38d25501f84cf37ae9fbbc","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"e204655043a1af000b72389a4a3e38b461b5ec2b","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"f2c1a1b53c323d776e2678a6867d5816046a2204","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"a3cf9877558ab2c51182af558815dde64fc17cb9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]}],"references":["https://git.kernel.org/stable/c/e44e5f427318c1c28e79a8b0c9489be7f55cd65d","https://git.kernel.org/stable/c/ba15b30076e00f4c9d38d25501f84cf37ae9fbbc","https://git.kernel.org/stable/c/e204655043a1af000b72389a4a3e38b461b5ec2b","https://git.kernel.org/stable/c/f2c1a1b53c323d776e2678a6867d5816046a2204","https://git.kernel.org/stable/c/a3cf9877558ab2c51182af558815dde64fc17cb9"],"weaknesses":[],"ingestedAt":"2026-11-30T13:46:04.484Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139245.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139245","state":"PUBLISHED","datePublished":"2026-11-30T13:32:57.882Z","dateUpdated":"2026-11-30T13:32:57.882Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.922Z"},"containers":{"cna":{"title":"net: bcmasp: unmap previous DMA mappings on TX map failure","descriptions":[{"lang":"en","value":"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 > 0, the error handler calls\nbcmasp_clean_txcb() for previous iterations j < 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"e44e5f427318c1c28e79a8b0c9489be7f55cd65d","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"ba15b30076e00f4c9d38d25501f84cf37ae9fbbc","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"e204655043a1af000b72389a4a3e38b461b5ec2b","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"f2c1a1b53c323d776e2678a6867d5816046a2204","versionType":"git"},{"version":"490cb412007de593e07c1d3e2b1ec4233886707c","status":"affected","lessThan":"a3cf9877558ab2c51182af558815dde64fc17cb9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e44e5f427318c1c28e79a8b0c9489be7f55cd65d"},{"url":"https://git.kernel.org/stable/c/ba15b30076e00f4c9d38d25501f84cf37ae9fbbc"},{"url":"https://git.kernel.org/stable/c/e204655043a1af000b72389a4a3e38b461b5ec2b"},{"url":"https://git.kernel.org/stable/c/f2c1a1b53c323d776e2678a6867d5816046a2204"},{"url":"https://git.kernel.org/stable/c/a3cf9877558ab2c51182af558815dde64fc17cb9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:57.882Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}