net: bcmasp: unmap previous DMA mappings on TX map failure
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 490cb412007de593e07c1d3e2b1ec4233886707c to before e44e5f427318c1c28e79a8b0c9489be7f55cd65d Affected490cb412007de593e07c1d3e2b1ec4233886707c to before ba15b30076e00f4c9d38d25501f84cf37ae9fbbc Affected490cb412007de593e07c1d3e2b1ec4233886707c to before e204655043a1af000b72389a4a3e38b461b5ec2b Affected490cb412007de593e07c1d3e2b1ec4233886707c to before f2c1a1b53c323d776e2678a6867d5816046a2204 Affected490cb412007de593e07c1d3e2b1ec4233886707c to before a3cf9877558ab2c51182af558815dde64fc17cb9 Affected |
| Linux Linux | 6.6 Affectedbefore 6.6 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.