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

Tue, 01 Dec 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-703

Tue, 01 Dec 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-703

Mon, 30 Nov 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title rpmsg: virtio: fix error handling in TX buffer wait
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2026-11-30T13:34:14.404Z

Updated: 2026-11-30T13:34:14.404Z

Reserved: 2026-11-30T13:22:15.930Z

Link: CVE-2026-139382

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T14:19:05.620

Modified: 2026-11-30T14:19:05.620

Link: CVE-2026-139382

cve-icon Redhat

No data.