← Back

CVE-2024-41035

nvd nist
Published: Jul 29, 2024Modified: Jun 17, 2026

JSON object

Loading...
5.5
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploitability: 1.8 / Impact: 3.6
Source: NVD

Description

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor Syzbot has identified a bug in usbcore (see the Closes: tag below) caused by our assumption that the reserved bits in an endpoint descriptor's bEndpointAddress field will always be 0. As a result of the bug, the endpoint_is_duplicate() routine in config.c (and possibly other routines as well) may believe that two descriptors are for distinct endpoints, even though they have the same direction and endpoint number. This can lead to confusion, including the bug identified by syzbot (two descriptors with matching endpoint numbers and directions, where one was interrupt and the other was bulk). To fix the bug, we will clear the reserved bits in bEndpointAddress when we parse the descriptor. (Note that both the USB-2.0 and USB-3.1 specs say these bits are "Reserved, reset to zero".) This requires us to make a copy of the descriptor earlier in usb_parse_endpoint() and use the copy instead of the original when checking for duplicates.

Affected (28)

Products: Linux: Linux Kernel
1 product
Linux Kernel
Configuration A
28 vulnerable
Vulnerable SoftwareAffected Versions
Linux
From 3.10.106 to 3.11
From 3.12.70 to 3.13
From 3.16.42 to 3.17
From 3.2.87 to 3.3
From 4.1.39 to 4.2
From 4.10.1 to 4.19.318
From 4.20 to 5.4.280
From 4.4.42 to 4.5
From 4.9.3 to 4.10
From 5.11 to 5.15.163
From 5.16 to 6.1.100
From 5.5 to 5.10.222
From 6.2 to 6.6.41
From 6.7 to 6.9.10
Version 4.10
Version 4.10 rc3
Version 4.10 rc4
Version 4.10 rc5
Version 4.10 rc6
Version 4.10 rc7
Version 4.10 rc8
Version 6.10 rc1
Version 6.10 rc2
Version 6.10 rc3
Version 6.10 rc4
Version 6.10 rc5
Version 6.10 rc6
Version 6.10 rc7

References (17)

Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.