{"id":"CVE-2026-139382","aliases":["CVE-2026-139382"],"related":[],"kind":"vulnerability","state":"published","title":"rpmsg: virtio: fix error handling in TX buffer wait","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: virtio: fix error handling in TX buffer wait\n\nThe TX buffer wait loop in rpmsg_send_offchannel_raw() ignores the\npossibility of wait_event_interruptible_timeout() returning a\nnegative value, which happens when the wait is interrupted by a\nsignal. In that case the loop spins back around and re-arms the\nwait instead of propagating the signal, which can stall a task\nthat is trying to be killed.\n\nSeparately, on a genuine timeout (return value 0) the function\nreturns -ERESTARTSYS, which is reserved for signal-interrupted\nsyscalls that the kernel may restart. A timeout is not a signal\nand should not be treated as restartable; return -ETIMEDOUT\ninstead.\n\nHandle both cases explicitly: return err directly when negative,\nand return -ETIMEDOUT on timeout.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: virtio: fix error handling in TX buffer wait\n\nThe TX buffer wait loop in rpmsg_send_offchannel_raw() ignores the\npossibility of wait_event_interruptible_timeout() returning a\nnegative value, which happens when the wait is interrupted by a\nsignal. In that case the loop spins back around and re-arms the\nwait instead of propagating the signal, which can stall a task\nthat is trying to be killed.\n\nSeparately, on a genuine timeout (return value 0) the function\nreturns -ERESTARTSYS, which is reserved for signal-interrupted\nsyscalls that the kernel may restart. A timeout is not a signal\nand should not be treated as restartable; return -ETIMEDOUT\ninstead.\n\nHandle both cases explicitly: return err directly when negative,\nand return -ETIMEDOUT on timeout.","source":"cvelist"}],"published":"2026-11-30T13:34:14.404Z","modified":"2026-11-30T14:19:05.620Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"470bea7b52c17e0a94a691a748544bd5ed264b05","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"4b9a2f644a0979adfd58f7f28354115ae2364f87","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"f175dabbac2e9b29c1d4ecd9d2abc9074ea07b6e","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"743a3ff31b88853a097ff76c8f4e0bfb4f7bf8bf","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"0151502df7e31146594898b82b6a5d4a5956624c","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"35ecb54916792d5f639353f8d24b9b7fda7812b1","status":"affected"},{"type":"git","introduced":"bcabbccabffe7326f046f25737ba1084f463c65c","fixed":"7dd4cffdf4c2a496ccf783303a03d687a2127baf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/470bea7b52c17e0a94a691a748544bd5ed264b05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b9a2f644a0979adfd58f7f28354115ae2364f87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f175dabbac2e9b29c1d4ecd9d2abc9074ea07b6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/743a3ff31b88853a097ff76c8f4e0bfb4f7bf8bf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0151502df7e31146594898b82b6a5d4a5956624c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35ecb54916792d5f639353f8d24b9b7fda7812b1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7dd4cffdf4c2a496ccf783303a03d687a2127baf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139382","url":"https://www.cve.org/CVERecord?id=CVE-2026-139382","licence":"CVE Terms of Use","modified":"2026-11-30T13:34:14.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139382","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139382","licence":"Public domain","modified":"2026-11-30T14:19:05.620Z"}],"updatedAt":"2026-11-30T14:32:54.909Z","epss":{"score":0.00206,"percentile":0.11283,"date":"2026-12-01T12:00:22.000Z"}}