CVE-2026-139245

net: bcmasp: unmap previous DMA mappings on TX map failure

Published Nov 30, 2026 CVSS 3.1 · 2.5 Low EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: bcmasp: unmap previous DMA mappings on TX map failure

When mapping an skb with fragments for transmission in bcmasp_xmit(),
if mapping fails on fragment i > 0, the error handler calls
bcmasp_clean_txcb() for previous iterations j < i. However,
bcmasp_clean_txcb() only zeroes the control block fields without
unmapping the DMA buffers, leaking the DMA mappings allocated for the
head and earlier fragments.

Call dma_unmap_single() before calling bcmasp_clean_txcb() in the error
cleanup loop.

Analysis

AI-generated

Technical impact

The bcmasp driver mishandles DMA mappings when a packet fragment fails to map during transmission. The cleanup routine zeroes control block data but fails to unmap the DMA buffers that were allocated for the packet head and previous fragments. This omission leaks DMA mappings, depleting the limited pool of available mappings that the kernel can provide, potentially exhausting them and causing the system to become unresponsive, producing a denial‑of‑service condition.

Affected Systems

All Linux kernel installations that include the bcmasp driver and allow packet transmission are vulnerable. The flaw exists in kernel versions prior to the commit that introduced dma_unmap_single() calls in the error cleanup loop. Any distribution using the default kernel source without this commit is affected; specific versions are not listed in the supplied data.

Risk and Exploitability

The vulnerability is rated with no CVSS or EPSS score available and is not listed in the CISA KEV catalog, indicating no known widespread exploitation at the time of analysis. The bug requires a failure of a DMA mapping operation during packet transmission, which an attacker can provoke by sending crafted network traffic to the affected interface. Successful exploitation could lead to exhaustion of DMA resources, resulting in a loss of network service or a full system halt. The attack does not provide a direct code‑execution path and is confined to denial‑of‑service scenarios.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patched bcmasp transaction mapping logic.
  • If an immediate update is not feasible, disable the bcmasp driver or the affected network interface to stop packet transmissions that could trigger the fault.
  • Continuously monitor kernel logs for bcmasp mapping error messages and verify that the number of active DMA mappings stabilizes.

Generated by OpenCVE AI on December 1, 2026 at 08:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: unmap previous DMA mappings on TX map failure When mapping an skb with fragments for transmission in bcmasp_xmit(), if mapping fails on fragment i > 0, the error handler calls bcmasp_clean_txcb() for previous iterations j < i. However, bcmasp_clean_txcb() only zeroes the control block fields without unmapping the DMA buffers, leaking the DMA mappings allocated for the head and earlier fragments. Call dma_unmap_single() before calling bcmasp_clean_txcb() in the error cleanup loop.
Title net: bcmasp: unmap previous DMA mappings on TX map failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Low
Public date
Nov 30, 2026, 1:32 PM