CVE-2024-41035: USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor

Published Jul 29, 2024
·
Updated

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 endpointisduplicate() 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 usbparseendpoint() and use the copy instead of the original when checking for duplicates.

Other sources

Linux Kernel is vulnerable to a denial of service, caused by a duplicate endpoint bug in the usbparseendpoint() function. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

42 affected componentsFixes available
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
redhat/kernel<4.19.318
4.19.318
redhat/kernel<5.4.280
5.4.280
redhat/kernel<5.10.222
5.10.222
redhat/kernel<5.15.163
5.15.163
redhat/kernel<6.1.100
6.1.100
redhat/kernel<6.6.41
6.6.41
redhat/kernel<6.9.10
6.9.10
redhat/kernel<6.10
6.10
Linux Linux kernel>=3.2.87<3.3
Linux Linux kernel>=3.10.106<3.11
Linux Linux kernel>=3.12.70<3.13
Linux Linux kernel>=3.16.42<3.17
Linux Linux kernel>=4.1.39<4.2
Linux Linux kernel>=4.4.42<4.5
Linux Linux kernel>=4.9.3<4.10
Linux Linux kernel>=4.10.1<4.19.318
Linux Linux kernel>=4.20<5.4.280
Linux Linux kernel>=5.5<5.10.222
Linux Linux kernel>=5.11<5.15.163
Linux Linux kernel>=5.16<6.1.100
Linux Linux kernel>=6.2<6.6.41
Linux Linux kernel>=6.7<6.9.10
Linux Linux kernel=4.10
Linux Linux kernel=4.10-rc3
Linux Linux kernel=4.10-rc4
Linux Linux kernel=4.10-rc5
Linux Linux kernel=4.10-rc6
Linux Linux kernel=4.10-rc7
Linux Linux kernel=4.10-rc8
Linux Linux kernel=6.10-rc1
Linux Linux kernel=6.10-rc2
Linux Linux kernel=6.10-rc3
Linux Linux kernel=6.10-rc4
Linux Linux kernel=6.10-rc5
Linux Linux kernel=6.10-rc6
Linux Linux kernel=6.10-rc7

Event History

Jul 29, 2024
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
Description
Data Sourced
via NVD·03:15 PM
Description
Data Sourced
via NVD·03:15 PM
RemedySeverityAffected Software
Data Sourced
via Red Hat·03:32 PM
DescriptionSeverityAffected Software
Apr 29, 2025
Data Sourced
via Ubuntu·06:21 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41035?

CVE-2024-41035 is categorized as a low severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-41035?

To mitigate CVE-2024-41035, upgrade the kernel to a version that is 4.19.318 or newer, or follow the specific package guidelines provided by your distribution.

3

What impact does CVE-2024-41035 have on systems?

CVE-2024-41035 can lead to unexpected behavior in USB devices due to a bug in the USB core of the Linux kernel.

4

Which versions of the Linux kernel are affected by CVE-2024-41035?

CVE-2024-41035 affects multiple versions of the Linux kernel prior to 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.100, and others as specified in the remediation guidelines.

5

Is CVE-2024-41035 a critical vulnerability?

No, CVE-2024-41035 is not classified as a critical vulnerability, but it should still be addressed to ensure stable system operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203