Description
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 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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4e86f5b79e62ded7e3c3ebd688cf5775e618148aaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 06d2bbc4c66c6b0e8a43728c4949026026a5be67affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6c62935670acdbb7687ced20494923b66fbb0367affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 659c0c7d50a4b0f6aa197c4c098cfd91daf63862affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 24b31a227f679a942d820840a4dea7f0c09a387faffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 64f3d75633aedc12bdff220e9a4337177430bd9daffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2d34cb4d1d6283b4be9c78f4a83ed6956d3069ecaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1015c27a5e1a63efae2b18a9901494474b4d1dc3affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.10.253 to ≤ 5.10.*unaffected5.15.203 to ≤ 5.15.*unaffected6.1.167 to ≤ 6.1.*unaffected6.6.130 to ≤ 6.6.*unaffected6.12.78 to ≤ 6.12.*unaffected6.18.19 to ≤ 6.18.*unaffected6.19.9 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/4e86f5b79e62ded7e3c3ebd688cf5775e618148a ↗
- https://git.kernel.org/stable/c/06d2bbc4c66c6b0e8a43728c4949026026a5be67 ↗
- https://git.kernel.org/stable/c/6c62935670acdbb7687ced20494923b66fbb0367 ↗
- https://git.kernel.org/stable/c/659c0c7d50a4b0f6aa197c4c098cfd91daf63862 ↗
- https://git.kernel.org/stable/c/24b31a227f679a942d820840a4dea7f0c09a387f ↗
- https://git.kernel.org/stable/c/64f3d75633aedc12bdff220e9a4337177430bd9d ↗
- https://git.kernel.org/stable/c/2d34cb4d1d6283b4be9c78f4a83ed6956d3069ec ↗
- https://git.kernel.org/stable/c/1015c27a5e1a63efae2b18a9901494474b4d1dc3 ↗