Race in ibmveth driver lets transmits use freed buffers in Linux kernel
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 ibmveth driver can race with transmits during ibmveth_close(). ibmveth_close() frees TX buffers after stopping the queues, but does not wait for an ibmveth_start_xmit() already running on another CPU, so that transmit can copy into a freed buffer and pass a stale DMA address to the hypervisor. MTU, checksum/TSO and buffer pool changes call this path while traffic flows, and ifdown with noqueue can race the same way. The flaw was confirmed by code inspection and was not reproduced.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: ibmveth: wait for in-flight transmits in ibmveth_close() ibmveth_close() frees the TX buffers after netif_tx_stop_all_queues(), which does not wait for an ibmveth_start_xmit() already running on another CPU. That transmit can copy into a freed buffer and hand PHYP a stale DMA address. MTU, csum/TSO and buffer pool changes call ibmveth_close() directly while traffic flows. ifdown and the reset work go through dev_close(), which waits for running transmits only when the qdisc has an enqueue function, so with noqueue they race the same way. Use netif_tx_disable(), which waits for running transmits. Found in review of the ibmveth multi-queue RX series and confirmed by code inspection; the race was not reproduced. Tested on a POWER10 LPAR with MTU changes during a ping flood, with no warnings. No kernel selftests cover ibmveth.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed in Linux kernel 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1. Affected kernels from 6.1 before the listed fixed versions should be updated to a fixed release.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139236
- 2026-11-30 Alias added: GHSA-jr2q-h59f-cx8p
References
Other 6
- https://git.kernel.org/stable/c/d7999e006c272428ca8c6d0db22a3888b484d2a7
- https://git.kernel.org/stable/c/982237f281052b39c69e3ae18d77e74f8c58173e
- https://git.kernel.org/stable/c/1bb9efcc92ee9496516d107cc59c22223af1d21e
- https://git.kernel.org/stable/c/3b1db871cf3b107a6847750a15b33df95d3c3440
- https://git.kernel.org/stable/c/112246361e6a7cdc8a4cc4e5c71d1e2f50e86e60
- https://git.kernel.org/stable/c/c807573ea58e615339a9c72675c45c157ffe245c
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-139236 · CVE Program
- CVE-2026-139236 · NVD
- GHSA-jr2q-h59f-cx8p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences