Skip to contentSkip to conversation

CVE-2026-43428: USB: core: Limit the length of unkillable synchronous timeouts

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 8

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-43428 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.253 with commit 4e86f5b79e62ded7e3c3ebd688cf5775e618148a
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.203 with commit 06d2bbc4c66c6b0e8a43728c4949026026a5be67
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.167 with commit 6c62935670acdbb7687ced20494923b66fbb0367
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.130 with commit 659c0c7d50a4b0f6aa197c4c098cfd91daf63862
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.78 with commit 24b31a227f679a942d820840a4dea7f0c09a387f
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.19 with commit 64f3d75633aedc12bdff220e9a4337177430bd9d
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.9 with commit 2d34cb4d1d6283b4be9c78f4a83ed6956d3069ec
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit 1015c27a5e1a63efae2b18a9901494474b4d1dc3

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43428

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/usb/core/message.c
include/linux/usb.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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