Description
In the Linux kernel, the following vulnerability has been resolved: usb: image: mdc800: kill download URB on timeout mdc800_device_read() submits download_urb and waits for completion. If the timeout fires and the device has not responded, the function returns without killing the URB, leaving it active. A subsequent read() resubmits the same URB while it is still in-flight, triggering the WARN in usb_submit_urb(): "URB submitted while active" Check the return value of wait_event_timeout() and kill the URB if it indicates timeout, ensuring the URB is complete before its status is inspected or the URB is resubmitted. Similar to - commit 372c93131998 ("USB: yurex: fix control-URB timeout handling") - commit b98d5000c505 ("media: rc: iguanair: handle timeouts")
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 9fa5a49760979ba016506fe292a431c8b83f043e
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 15536f6c15f48037a1672cbdea53266d67861ff6
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 9bf877cc67309b2a063b0087c3ad8585fb11cec3
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 155f471e38aa516f6c58c2ae03ca3dc222fa2fdb
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before d4a400a6a4c4d49f77a04a3f401df5ae1a10657c
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before b7fed917f84e484e06c5e9926746d0b524e3a93e
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before cc7398447810c9450c90d092efe9997569f8d96f
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 1be3b77de4eb89af8ae2fd6610546be778e25589
5.10.253 (semver)
5.15.203 (semver)
6.1.167 (semver)
6.6.130 (semver)
6.12.78 (semver)
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/9fa5a49760979ba016506fe292a431c8b83f043e
git.kernel.org/...c/15536f6c15f48037a1672cbdea53266d67861ff6
git.kernel.org/...c/9bf877cc67309b2a063b0087c3ad8585fb11cec3
git.kernel.org/...c/155f471e38aa516f6c58c2ae03ca3dc222fa2fdb
git.kernel.org/...c/d4a400a6a4c4d49f77a04a3f401df5ae1a10657c
git.kernel.org/...c/b7fed917f84e484e06c5e9926746d0b524e3a93e
git.kernel.org/...c/cc7398447810c9450c90d092efe9997569f8d96f
git.kernel.org/...c/1be3b77de4eb89af8ae2fd6610546be778e25589