USB: core: Limit the length of unkillable synchronous timeouts
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.253, Kernel 5.15.203, Kernel 6.1.167 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: USB: core: Limit the length of unkillable synchronous timeouts The usb_control_msg(), usb_bulk_msg(), and usb_interrupt_msg() APIs in usbcore allow unlimited timeout durations. And since they use uninterruptible waits, this leaves open the possibility of hanging a task for an indefinitely long time, with no way to kill it short of unplugging the target device. To prevent this sort of problem, enforce a maximum limit on the length of these unkillable timeouts. The limit chosen here, somewhat arbitrarily, is 60 seconds. On many systems (although not all) this is short enough to avoid triggering the kernel's hung-task detector. In addition, clear up the ambiguity of negative timeout values by treating them the same as 0, i.e., using the maximum allowed timeout.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.12.1 <5.10.253, >=5.11 <5.15.203, >=5.16 <6.1.167, >=6.13 <6.18.19, >=6.19 <6.19.9, >=6.2 <6.6.130, >=6.7 <6.12.78, =2.6.12, =7.0, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1015c27a5e1a63efae2b18a9901494474b4d1dc3, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <24b31a227f679a942d820840a4dea7f0c09a387f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2d34cb4d1d6283b4be9c78f4a83ed6956d3069ec, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4e86f5b79e62ded7e3c3ebd688cf5775e618148a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <64f3d75633aedc12bdff220e9a4337177430bd9d, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <659c0c7d50a4b0f6aa197c4c098cfd91daf63862, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6c62935670acdbb7687ced20494923b66fbb0367, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <06d2bbc4c66c6b0e8a43728c4949026026a5be67 | 5.10.253, 5.15.203, 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78, 1015c27a5e1a63efae2b18a9901494474b4d1dc3, 24b31a227f679a942d820840a4dea7f0c09a387f, 2d34cb4d1d6283b4be9c78f4a83ed6956d3069ec, 4e86f5b79e62ded7e3c3ebd688cf5775e618148a, 64f3d75633aedc12bdff220e9a4337177430bd9d, 659c0c7d50a4b0f6aa197c4c098cfd91daf63862, 6c62935670acdbb7687ced20494923b66fbb0367, 06d2bbc4c66c6b0e8a43728c4949026026a5be67 |
| linux-kernel: Kernel | >=2.6.12 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.167, >=6.13.0 <6.18.19, >=6.19.0 <6.19.9, >=6.2.0 <6.6.130, >=6.7.0 <6.12.78 | 5.10.253, 5.15.203, 6.1.167, 6.18.19, 6.19.9, 6.6.130, 6.12.78 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket