Linux kernel axienet driver leaks RX buffers when interface closes
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel axienet driver from 5.4.283 before 5.5 and from 5.7 up to the fixed releases below leaks RX buffers. When the interface closes, axienet_dma_bd_release() stops at the first descriptor without an skb, so the skbs and DMA mappings after that slot are never released, and it frees each skb before unmapping it. The leak is most likely under memory pressure.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade the first affected range to Linux kernel 5.5. For the second range, upgrade to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, matching the stable branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.5
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139243
- 2026-11-30 Alias added: GHSA-x4wx-x82w-wmxx
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/c60fa2228d1951c2a5ae407a68b55c7980d18f48
- https://git.kernel.org/stable/c/1a1f8db7fe01bf83d5688c9ce80e5f7b1858ee23
- https://git.kernel.org/stable/c/33459fda6e8ea5579d19c74214f25f48c5e2a10d
- https://git.kernel.org/stable/c/333dc11fdaebd25be3fed536f7ac71640fde5802
- https://git.kernel.org/stable/c/8996b69e2b2e19545d9d03308dae03f964529066
- https://git.kernel.org/stable/c/55e797f2afd48b7a01c62bbf635e7b5c868a2238
- https://git.kernel.org/stable/c/ea3570709ff0f6a3d466743df6cada074a75cfcd
- https://git.kernel.org/stable/c/b59787892d04a5647a7e662fbb02cd0abdb1a993
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139243 · CVE Program
- CVE-2026-139243 · NVD
- GHSA-x4wx-x82w-wmxx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139243 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences