net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop
In the Linux kernel, the following vulnerability has been resolved: net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop In the dmaengine path the driver pre-submits RX buffers and holds in-flight TX buffers whose SKBs are DMA-mapped by the driver and freed only in the completion callbacks. On ndo_stop() dmaengine_terminate_sync() aborts these descriptors without running their callbacks, and the driver then frees only the ring shells, leaking every SKB still owned by the engine and its DMA mapping on each ifdown. With 128 RX buffers pre-posted per channel, the mapping leak can eventually exhaust a limited IOMMU aperture. Clear the slot's skb in the TX and RX callbacks so a non-NULL skb marks a slot that still owns a live, DMA-mapped buffer, and on stop unmap and free every such buffer. axienet_dma_rx_cb() runs from the DMA tasklet and re-arms the RX ring on each completion, so it can race axienet_stop(): a completion may submit a fresh buffer after dmaengine_terminate_sync() has returned, leaving the channel armed with a buffer the teardown then frees while the engine may still write into it (dma_release_channel() does not stop it either). Add a lock that axienet_dma_rx_cb() holds across the @stopping check and the resubmit, and axienet_stop() holds to set @stopping before terminating. Once @stopping is set no callback can arm a new buffer, and any armed just before is aborted by the terminate, so teardown only frees buffers the engine no longer owns.
CVE-2026-99028
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-99028
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6a91b846af85a24241decd686269e8e038eb13d1",
"lessThan": "079396129da5e7cb40ca0920aa1b9525bef6097c",
"versionType": "git"
},
{
"status": "affected",
"version": "6a91b846af85a24241decd686269e8e038eb13d1",
"lessThan": "eececf7c3a679d9c08175ad6bacbc8c31848f5af",
"versionType": "git"
},
{
"status": "affected",
"version": "6a91b846af85a24241decd686269e8e038eb13d1",
"lessThan": "5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58",
"versionType": "git"
},
{
"status": "affected",
"version": "6a91b846af85a24241decd686269e8e038eb13d1",
"lessThan": "bcf2573a68a808a5b54cadafa72b6672e662c2bf",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/xilinx/xilinx_axienet.h",
"drivers/net/ethernet/xilinx/xilinx_axienet_main.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.58",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.11",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/xilinx/xilinx_axienet.h",
"drivers/net/ethernet/xilinx/xilinx_axienet_main.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-99028
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #52863 · Revision 1
- Added to Heist Feed
- Publisher date