# CVE-2026-139382: rpmsg: virtio: fix error handling in TX buffer wait

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:14.404Z
- Modified: 2026-11-30T14:19:05.620Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from bcabbccabffe7326f046f25737ba1084f463c65c before 470bea7b52c17e0a94a691a748544bd5ed264b05; from bcabbccabffe7326f046f25737ba1084f463c65c before 4b9a2f644a0979adfd58f7f28354115ae2364f87; from bcabbccabffe7326f046f25737ba1084f463c65c before f175dabbac2e9b29c1d4ecd9d2abc9074ea07b6e; from bcabbccabffe7326f046f25737ba1084f463c65c before 743a3ff31b88853a097ff76c8f4e0bfb4f7bf8bf; from bcabbccabffe7326f046f25737ba1084f463c65c before 0151502df7e31146594898b82b6a5d4a5956624c; from bcabbccabffe7326f046f25737ba1084f463c65c before 35ecb54916792d5f639353f8d24b9b7fda7812b1; from bcabbccabffe7326f046f25737ba1084f463c65c before 7dd4cffdf4c2a496ccf783303a03d687a2127baf; 3.4 (not affected: before 3.4; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139382](https://www.cve.org/CVERecord?id=CVE-2026-139382), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139382](https://nvd.nist.gov/vuln/detail/CVE-2026-139382), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139382 · Whole record: https://cve.day/CVE-2026-139382.json · Rebuilt by cve.day 2026-11-30T14:32:54.909Z
