Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139382

rpmsg: virtio: fix error handling in TX buffer wait

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bcabbccabffe7326f046f25737ba1084f463c65c to < 470bea7b52c17e0a94a691a748544bd5ed264b05affected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < 4b9a2f644a0979adfd58f7f28354115ae2364f87affected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < f175dabbac2e9b29c1d4ecd9d2abc9074ea07b6eaffected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < 743a3ff31b88853a097ff76c8f4e0bfb4f7bf8bfaffected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < 0151502df7e31146594898b82b6a5d4a5956624caffected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < 35ecb54916792d5f639353f8d24b9b7fda7812b1affected
  • bcabbccabffe7326f046f25737ba1084f463c65c to < 7dd4cffdf4c2a496ccf783303a03d687a2127bafaffected

Linux Linux

Default version status: affected

  • 3.4affected
  • 0 to < 3.4unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References