CVE-2026-139243

Source
https://cve.org/CVERecord?id=CVE-2026-139243
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139243.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139243
Downstream
Published
2026-11-30T13:32:56Z
Modified
2026-11-30T15:02:27Z
Summary
net: axienet: release every RX buffer in axienet_dma_bd_release()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139243.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f26667a373f34ace925c90a1e881b1774d640dc8
Fixed
c60fa2228d1951c2a5ae407a68b55c7980d18f48
Fixed
1a1f8db7fe01bf83d5688c9ce80e5f7b1858ee23
Fixed
33459fda6e8ea5579d19c74214f25f48c5e2a10d
Fixed
333dc11fdaebd25be3fed536f7ac71640fde5802
Fixed
8996b69e2b2e19545d9d03308dae03f964529066
Fixed
55e797f2afd48b7a01c62bbf635e7b5c868a2238
Fixed
ea3570709ff0f6a3d466743df6cada074a75cfcd
Fixed
b59787892d04a5647a7e662fbb02cd0abdb1a993
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8876a2ac1b926cd8422029f4ed2007d5d0e29119

Affected versions

v5.*
v5.4.283
v5.4.284
v5.4.285
v5.4.286
v5.4.287
v5.4.288
v5.4.289
v5.4.290
v5.4.291
v5.4.292
v5.4.293
v5.4.294
v5.4.295
v5.4.296
v5.4.297
v5.4.298
v5.4.299
v5.4.300
v5.4.301
v5.4.302

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139243.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4.283
Fixed
5.5
Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139243.json"