ibmveth: wait for in-flight transmits in ibmveth_close()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | d6832ca48d8af0ec3d02d93c17027304c429c087 to before d7999e006c272428ca8c6d0db22a3888b484d2a7 Affectedd6832ca48d8af0ec3d02d93c17027304c429c087 to before 982237f281052b39c69e3ae18d77e74f8c58173e Affectedd6832ca48d8af0ec3d02d93c17027304c429c087 to before 1bb9efcc92ee9496516d107cc59c22223af1d21e Affectedd6832ca48d8af0ec3d02d93c17027304c429c087 to before 3b1db871cf3b107a6847750a15b33df95d3c3440 Affectedd6832ca48d8af0ec3d02d93c17027304c429c087 to before 112246361e6a7cdc8a4cc4e5c71d1e2f50e86e60 Affectedd6832ca48d8af0ec3d02d93c17027304c429c087 to before c807573ea58e615339a9c72675c45c157ffe245c Affected |
| Linux Linux | 6.1 Affectedbefore 6.1 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.