net: axienet: release every RX buffer in axienet_dma_bd_release()

Summary

CVECVE-2026-139243
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:46 UTC
Updated2026-11-30 14:18:46 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: axienet: release every RX buffer in axienet_dma_bd_release() The RX walk in axienet_dma_bd_release() stops at the first descriptor without an skb, assuming that such a slot and all after it were never filled. That holds on the axienet_dma_bd_init() error path, but not once the ring has been running: when axienet_rx_poll() fails to allocate or map a replacement buffer it leaves the slot it emptied with a NULL skb, in the middle of a populated ring, until a later poll refills it. Closing the interface before then leaks the skb and the streaming DMA mapping of every descriptor after that slot, which can be most of the ring, and is most likely under memory pressure. The walk also frees each skb before unmapping it. With swiotlb, the DMA_FROM_DEVICE unmap copies the bounce buffer back into the skb data that was just freed, and on non-coherent platforms it invalidates cache lines that may already belong to a new owner. Skip empty slots instead of stopping at the first one. An emptied slot still has a non-zero cntrl but its buffer is already unmapped, so the skip has to cover the unmap too, which it does by coming before it. Then unmap before freeing, as axienet_rx_poll() does. This was reported by the Sashiko AI review bot. Tested on the AXI Ethernet MAC of an ADVA TimeCard X2 (PCIe card, with the built-in AXI DMA): traffic passes after each of ten down/up cycles, each running axienet_dma_bd_release(), so the unmap-then-free order is exercised on every buffer. A failed RX refill was not reproduced, so the skip over an empty slot was not exercised.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 c60fa2228d1951c2a5ae407a68b55c7980d18f48 git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 1a1f8db7fe01bf83d5688c9ce80e5f7b1858ee23 git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 33459fda6e8ea5579d19c74214f25f48c5e2a10d git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 333dc11fdaebd25be3fed536f7ac71640fde5802 git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 8996b69e2b2e19545d9d03308dae03f964529066 git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 55e797f2afd48b7a01c62bbf635e7b5c868a2238 git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 ea3570709ff0f6a3d466743df6cada074a75cfcd git Not specified
CNA Linux Linux affected f26667a373f34ace925c90a1e881b1774d640dc8 b59787892d04a5647a7e662fbb02cd0abdb1a993 git Not specified
CNA Linux Linux affected 8876a2ac1b926cd8422029f4ed2007d5d0e29119 git Not specified
CNA Linux Linux affected 5.4.283 5.5 semver Not specified
CNA Linux Linux affected 5.7 Not specified
CNA Linux Linux unaffected 5.7 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1a1f8db7fe01bf83d5688c9ce80e5f7b1858ee23 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8996b69e2b2e19545d9d03308dae03f964529066 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/333dc11fdaebd25be3fed536f7ac71640fde5802 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/55e797f2afd48b7a01c62bbf635e7b5c868a2238 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c60fa2228d1951c2a5ae407a68b55c7980d18f48 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b59787892d04a5647a7e662fbb02cd0abdb1a993 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/33459fda6e8ea5579d19c74214f25f48c5e2a10d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ea3570709ff0f6a3d466743df6cada074a75cfcd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report