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

Published Nov 30, 2026
·
Updated

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 rpmsgsendoffchannelraw() ignores the possibility of waiteventinterruptibletimeout() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In rpmsg_send_offchannel_raw(), propagate a negative return from wait_event_interruptible_timeout() directly; when it returns 0 for a timeout, return -ETIMEDOUT instead of treating it as restartable.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203