Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139367

published

net: axienet: free outstanding TX buffers in axienet_dma_bd_release()

Published
30 Nov 2026, 13:34:06 UTC
Updated
30 Nov 2026, 13:34:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < c7e0d65d86c2107a3a70d86efcb4b4029512ee8a · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < fae70acea22713c02737a0268af291127cc210f1 · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 77853b6f475f9929ddc1f57a91c3e0a0588e7502 · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 5a85f9f696f755d1c576e32f9855db9d8b4c5028 · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 23c4150891bb486cd5a0374e4a1af809a19e545a · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 7153cf2240d33fb125dd7e9b56ad7f35c6ffbff0 · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < c0266be66c208b9eb451793c41f24ebe00691faf · 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 0c20cb4cfb40cf270d6c4c2c2ff5e5d72322644a · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.4 (affected) · 0 to < 3.4 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: net: axienet: free outstanding TX buffers in axienet_dma_bd_release() axienet_dma_bd_release() walks the RX ring to unmap and free every receive buffer before releasing it, but frees the TX descriptor ring with dma_free_coherent() alone. Any descriptor that axienet_free_tx_chain() had not yet reclaimed still holds its skb and its streaming DMA mapping, and both are lost. axienet_stop() disables TX NAPI and stops the DMA engine before calling it, so nothing reclaims those descriptors afterwards. Bringing the interface down while frames are in flight therefore leaks up to lp->tx_bd_num skbs and mappings each time. axienet_dma_err_handler() already walks the TX ring this way before it restarts the DMA engine: it unmaps every descriptor whose cntrl is still set - axienet_free_tx_chain() clears it on reclaim - frees any skb still attached, and clears the descriptor. Move that loop into a helper, axienet_free_tx_bufs(), and call it from axienet_dma_bd_release() too. This relies on axienet_stop() having stopped the DMA engine first, as the RX walk in the same function already does. The helper frees the skbs with dev_kfree_skb_any(), as drops: in the error handler, which runs from a workqueue, that frees them directly rather than deferring them to softirq as dev_kfree_skb_irq() did. The walk must not run on a ring that is not there. axienet_open() does not check the result of the reset that runs axienet_dma_bd_init(), so when that reset fails tx_bd_v is either still NULL or, after an earlier close, points at the ring that close freed. Clear tx_bd_v and rx_bd_v once their rings are freed, and skip the walk when tx_bd_v is NULL. That also ends the second dma_free_coherent() of a stale ring which the same path already did. On the axienet_dma_bd_init() error path the TX ring has just been allocated zeroed, so the walk does nothing. 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, and after each of ten down/up cycles and five module reloads, all made with traffic running and each running axienet_dma_bd_release(), traffic resumes and nothing is logged. The leak itself was not measured, and neither the failed-reset paths nor axienet_dma_err_handler() were exercised.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < c7e0d65d86c2107a3a70d86efcb4b4029512ee8a (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < fae70acea22713c02737a0268af291127cc210f1 (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 77853b6f475f9929ddc1f57a91c3e0a0588e7502 (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 5a85f9f696f755d1c576e32f9855db9d8b4c5028 (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 23c4150891bb486cd5a0374e4a1af809a19e545a (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 7153cf2240d33fb125dd7e9b56ad7f35c6ffbff0 (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < c0266be66c208b9eb451793c41f24ebe00691faf (affected · git)8a3b7a252dca9fb28c23b5bf76c49180a2b60d3b to < 0c20cb4cfb40cf270d6c4c2c2ff5e5d72322644a (affected · git)Default: unaffected Linux · cna
Linux Linux 3.4 (affected)0 to < 3.4 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

net: axienet: free outstanding TX buffers in axienet_dma_bd_release()

Provenance

Schema
5.2
Searchable
yes
Content hash
39c517fa80e42bd2e82bf5f2551984c25be798c12108a89faeb7828984243cf3
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected