rpmsg: virtio: fix error handling in TX buffer wait
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 rpmsg virtio transport, from version 3.4 before the fixed releases, mishandles the TX buffer wait in rpmsg_send_offchannel_raw(). The wait loop ignores a negative return from the interruptible wait, so a signal does not stop it and can stall a task that is being killed. A timeout also returns -ERESTARTSYS, a code reserved for signal-interrupted calls that may be restarted, instead of -ETIMEDOUT.
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: rpmsg: virtio: fix error handling in TX buffer wait The TX buffer wait loop in rpmsg_send_offchannel_raw() ignores the possibility of wait_event_interruptible_timeout() returning a negative value, which happens when the wait is interrupted by a signal. In that case the loop spins back around and re-arms the wait instead of propagating the signal, which can stall a task that is trying to be killed. Separately, on a genuine timeout (return value 0) the function returns -ERESTARTSYS, which is reserved for signal-interrupted syscalls that the kernel may restart. A timeout is not a signal and should not be treated as restartable; return -ETIMEDOUT instead. Handle both cases explicitly: return err directly when negative, and return -ETIMEDOUT on timeout.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Fixed versions are 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1 of the Linux kernel. Update to a kernel release that includes the fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 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-139382
- 2026-11-30 Alias added: GHSA-6m2w-g475-664m
References
Other 7
- https://git.kernel.org/stable/c/470bea7b52c17e0a94a691a748544bd5ed264b05
- https://git.kernel.org/stable/c/4b9a2f644a0979adfd58f7f28354115ae2364f87
- https://git.kernel.org/stable/c/f175dabbac2e9b29c1d4ecd9d2abc9074ea07b6e
- https://git.kernel.org/stable/c/743a3ff31b88853a097ff76c8f4e0bfb4f7bf8bf
- https://git.kernel.org/stable/c/0151502df7e31146594898b82b6a5d4a5956624c
- https://git.kernel.org/stable/c/35ecb54916792d5f639353f8d24b9b7fda7812b1
- https://git.kernel.org/stable/c/7dd4cffdf4c2a496ccf783303a03d687a2127baf
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-139382 · CVE Program
- CVE-2026-139382 · NVD
- GHSA-6m2w-g475-664m · 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