{"id":"CVE-2024-41035","summary":"USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor\n\nSyzbot has identified a bug in usbcore (see the Closes: tag below)\ncaused by our assumption that the reserved bits in an endpoint\ndescriptor's bEndpointAddress field will always be 0.  As a result of\nthe bug, the endpoint_is_duplicate() routine in config.c (and possibly\nother routines as well) may believe that two descriptors are for\ndistinct endpoints, even though they have the same direction and\nendpoint number.  This can lead to confusion, including the bug\nidentified by syzbot (two descriptors with matching endpoint numbers\nand directions, where one was interrupt and the other was bulk).\n\nTo fix the bug, we will clear the reserved bits in bEndpointAddress\nwhen we parse the descriptor.  (Note that both the USB-2.0 and USB-3.1\nspecs say these bits are \"Reserved, reset to zero\".)  This requires us\nto make a copy of the descriptor earlier in usb_parse_endpoint() and\nuse the copy instead of the original when checking for duplicates.","modified":"2026-05-18T05:57:15.871229050Z","published":"2024-07-29T14:31:49.876Z","related":["ALSA-2024:7000","ALSA-2024:7001","SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41035.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2bd8534a1b83c65702aec3cab164170f8e584188"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37514a5c1251a8c5c95c323f55050736e7069ac7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60abea505b726b38232a0ef410d2bd1994a77f78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/647d61aef106dbed9c70447bcddbd4968e67ca64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9edcf317620d7c6a8354911b69b874cf89716646"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a368ecde8a5055b627749b09c6218ef793043e47"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d09dd21bb5215d583ca9a1cb1464dbc77a7e88cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8418fd083d1b90a6c007cf8dcf81aeae274727b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41035.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41035"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0a8fd1346254974c3a852338508e4a4cddbb35f1"},{"fixed":"d8418fd083d1b90a6c007cf8dcf81aeae274727b"},{"fixed":"60abea505b726b38232a0ef410d2bd1994a77f78"},{"fixed":"d09dd21bb5215d583ca9a1cb1464dbc77a7e88cf"},{"fixed":"2bd8534a1b83c65702aec3cab164170f8e584188"},{"fixed":"9edcf317620d7c6a8354911b69b874cf89716646"},{"fixed":"647d61aef106dbed9c70447bcddbd4968e67ca64"},{"fixed":"37514a5c1251a8c5c95c323f55050736e7069ac7"},{"fixed":"a368ecde8a5055b627749b09c6218ef793043e47"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"c3726b442527ab31c7110d0445411f5b5343db01"},{"last_affected":"15668b4354b38b41b316571deed2763d631b2977"},{"last_affected":"8597a9245181656ae2ef341906e5f40af323fbca"},{"last_affected":"264024a2676ba7d91fe7b1713b2c32d1b0b508cb"},{"last_affected":"b0de742a1be16b76b534d088682f18cf57f012d2"},{"last_affected":"7cc00abef071a8a7d0f4457b7afa2f57f683d83f"},{"last_affected":"05b0f2fc3c2f9efda47439557e0d51faca7e43ed"}]}],"versions":["v3.10.105","v3.16.41","v3.2.86","v4.1.38","v4.9","v3.16.40","v3.2.85","v3.16.39","v3.2.84","v3.10.104","v4.1.37","v4.9.2","v4.4.41","v4.9.1","v4.4.40","v4.4.39","v4.1.36","v4.9-rc7","v4.9-rc6","v4.9-rc8","v4.4.38","v3.12.69","v4.9-rc1","v4.4.37","v4.9-rc5","v4.4.36","v4.9-rc3","v4.4.35","v4.9-rc4","v3.12.68","v4.4.34","v4.9-rc2","v4.4.33","v3.16.38","v3.2.83","v4.4.32","v4.4.31","v4.4.30","v3.12.67","v4.8","v4.4.29","v4.4.28","v4.1.35","v4.4.27","v3.12.66","v4.1.34","v4.4.26","v3.16.37","v3.2.82","v3.12.65","v4.4.25","v3.10.103","v4.4.24","v4.4.23","v4.8-rc8","v4.8-rc2","v4.8-rc1","v4.8-rc7","v4.4.22","v3.12.64","v4.8-rc6","v4.8-rc5","v4.4.21","v3.12.63","v4.1.33","v4.8-rc4","v4.4.20","v4.8-rc3","v4.1.32","v4.7","v4.4.19","v4.1.31","v3.16.36","v3.2.81","v3.10.102","v4.4.18","v4.4.17","v4.1.30","v4.4.16","v4.7-rc4","v4.1.29","v4.7-rc2","v4.4.15","v4.7-rc1","v4.7-rc7","v3.12.62","v4.7-rc6","v4.1.28","v4.7-rc3","v4.4.14","v4.1.27","v4.7-rc5","v4.4.13","v3.12.61","v4.6","v4.1.26","v4.6-rc1","v3.16.35","v3.2.80","v4.4.12","v3.10.101","v4.4.11","v4.1.25","v3.12.60","v4.6-rc6","v4.6-rc4","v4.6-rc7","v4.4.10","v4.6-rc5","v4.5-rc4","v4.1.24","v4.6-rc2","v4.4.9","v4.6-rc3","v4.1.23","v4.4.8","v3.12.59","v3.2.79","v4.5","v4.4.7","v4.1.22","v3.12.58","v4.4.6","v4.1.21","v3.2.78","v3.12.57","v4.4","v4.5-rc1","v4.5-rc6","v4.1.20","v4.4.5","v3.10.100","v4.5-rc2","v4.5-rc7","v4.5-rc5","v4.4.4","v3.10.99","v4.5-rc3","v3.12.56","v4.1.19","v4.4.3","v3.10.98","v3.12.55","v3.2.77","v4.4.2","v3.10.97","v4.1.18","v3.10.96","v4.4.1","v3.2.76","v3.12.54","v4.1.17","v4.1.16","v3.10.95","v3.12.53","v4.1.15","v3.10.94","v3.2.75","v4.4-rc1","v4.4-rc2","v4.4-rc8","v4.4-rc3","v4.4-rc7","v4.4-rc5","v3.12.52","v4.4-rc6","v4.4-rc4","v3.2.74","v4.3","v4.1.14","v4.1.13","v3.10.93","v3.12.51","v3.2.73","v3.2.72","v4.3-rc1","v4.1.12","v3.10.92","v4.3-rc6","v3.12.50","v4.3-rc4","v4.3-rc2","v4.3-rc7","v4.3-rc5","v4.3-rc3","v4.1.11","v3.10.91","v4.1.10","v3.10.90","v4.2","v3.2.71","v3.12.49","v4.1.9","v3.10.89","v4.1.8","v4.1.7","v3.10.88","v3.12.48","v3.10.87","v4.1.6","v4.2-rc2","v4.2-rc1","v4.2-rc8","v4.2-rc4","v3.12.47","v4.2-rc6","v4.2-rc7","v4.0-rc5","v4.1.5","v3.10.86","v3.2.70","v4.2-rc5","v4.1.4","v3.10.85","v3.2.69","v4.2-rc3","v3.12.46","v3.10.84","v4.1.3","v3.12.45","v4.1.2","v4.1-rc2","v4.1","v3.10.83","v4.1.1","v4.1-rc1","v3.10.82","v3.10.81","v3.12.44","v3.10.80","v4.1-rc8","v4.1-rc7","v4.1-rc6","v4.1-rc3","v4.1-rc4","v3.10.79","v4.0","v4.1-rc5","v3.12.43","v3.10.78","v3.10.77","v3.2.68","v3.10.76","v3.12.42","v3.12.41","v3.10.75","v4.0-rc1","v3.10.74","v4.0-rc2","v3.12.40","v3.10.73","v4.0-rc7","v3.12.39","v4.0-rc3","v4.0-rc6","v4.0-rc4","v3.10.72","v3.19","v3.10.71","v3.10.70","v3.2.67","v3.12.38","v3.10.69","v3.2.66","v3.19-rc7","v3.19-rc5","v3.19-rc1","v3.10.68","v3.10.67","v3.19-rc6","v3.19-rc4","v3.12.37","v3.10.66","v3.10.65","v3.18-rc1","v3.19-rc3","v3.19-rc2","v3.10.64","v3.12.36","v3.10.63","v3.18","v3.12.35","v3.2.65","v3.10.62","v3.2.64","v3.18-rc7","v3.10.61","v3.12.34","v3.18-rc6","v3.18-rc2","v3.18-rc3","v3.18-rc4","v3.18-rc5","v3.10.60","v3.12.33","v3.17","v3.10.59","v3.2.63","v3.16.7","v3.12.32","v3.16.6","v3.10.58","v3.17-rc1","v3.12.31","v3.16.5","v3.10.57","v3.17-rc7","v3.16.4","v3.10.56","v3.17-rc2","v3.10.55","v3.16.3","v3.17-rc4","v3.16","v3.17-rc5","v3.17-rc6","v3.12.30","v3.12.29","v3.16.2","v3.10.54","v3.17-rc3","v3.2.62","v3.12.28","v3.16.1","v3.10.53","v3.12.27","v3.16-rc7","v3.10.52","v3.10.51","v3.2.61","v3.16-rc1","v3.16-rc3","v3.10.50","v3.12.26","v3.16-rc5","v3.16-rc6","v3.10.49","v3.16-rc2","v3.16-rc4","v3.12.25","v3.10.48","v3.12.24","v3.13","v3.2.60","v3.10.47","v3.15","v3.10.46","v3.10.45","v3.10.44","v3.12.23","v3.12.22","v3.10.43","v3.10.42","v3.15-rc5","v3.2.59","v3.10.41","v3.15-rc8","v3.15-rc1","v3.15-rc6","v3.12.21","v3.15-rc3","v3.10.40","v3.15-rc7","v3.15-rc2","v3.15-rc4","v3.2.58","v3.14","v3.12.20","v3.10.39","v3.10.38","v3.12.19","v3.14-rc4","v3.2.57","v3.10.37","v3.12.18","v3.14-rc8","v3.10.36","v3.12.17","v3.14-rc7","v3.2.56","v3.14-rc6","v3.14-rc1","v3.14-rc2","v3.10.35","v3.2.55","v3.12.16","v3.10.34","v3.14-rc5","v3.12.15","v3.10.33","v3.14-rc3","v3.12.14","v3.10.32","v3.12.13","v3.12.12","v3.10.31","v3.12.11","v3.10.30","v3.2.54","v3.12.10","v3.10.29","v3.13-rc6","v3.12.9","v3.10.28","v3.12.8","v3.10.27","v3.13-rc8","v3.12","v3.13-rc7","v3.13-rc1","v3.12.7","v3.10.26","v3.13-rc4","v3.13-rc3","v3.12.6","v3.10.25","v3.13-rc5","v3.2.53","v3.13-rc2","v3.12.5","v3.10.24","v3.12.4","v3.10.23","v3.10.22","v3.12.3","v3.12.2","v3.10.21","v3.12.1","v3.10.20","v3.2.52","v3.10.19","v3.12-rc7","v3.12-rc3","v3.12-rc6","v3.10.18","v3.12-rc1","v3.12-rc5","v3.11","v3.10.17","v3.12-rc2","v3.12-rc4","v3.2.51","v3.10.16","v3.10.15","v3.10.14","v3.10.13","v3.10.12","v3.10.11","v3.2.50","v3.11-rc7","v3.10.10","v3.11-rc2","v3.11-rc5","v3.11-rc1","v3.11-rc3","v3.11-rc4","v3.10.9","v3.11-rc6","v3.10.8","v3.10.7","v3.10.6","v3.10.5","v3.10-rc2","v3.10.4","v3.2.49","v3.10.3","v3.2.48","v3.10.2","v3.10","v3.10.1","v3.10-rc7","v3.2.47","v3.10-rc6","v3.10-rc1","v3.10-rc5","v3.10-rc3","v3.2.46","v3.10-rc4","v3.2.45","v3.9","v3.2.44","v3.9-rc2","v3.9-rc7","v3.9-rc8","v3.2.43","v3.9-rc3","v3.9-rc6","v3.9-rc5","v3.9-rc4","v3.9-rc1","v3.2.42","v3.8","v3.2.41","v3.2.40","v3.2.39","v3.8-rc7","v3.8-rc6","v3.2.38","v3.8-rc5","v3.8-rc2","v3.2.37","v3.8-rc1","v3.8-rc3","v3.8-rc4","v3.2.36","v3.7","v3.2.35","v3.7-rc1","v3.6","v3.7-rc6","v3.7-rc7","v3.7-rc3","v3.7-rc8","v3.2.34","v3.7-rc2","v3.7-rc4","v3.7-rc5","v3.2.33","v3.2.32","v3.2.31","v3.2.30","v3.6-rc7","v3.6-rc1","v3.5-rc3","v3.6-rc6","v3.6-rc5","v3.5","v3.6-rc3","v3.6-rc4","v3.2.29","v3.6-rc2","v3.2.28","v3.4-rc4","v3.2.27","v3.2.26","v3.2.25","v3.2.24","v3.5-rc7","v3.2.23","v3.5-rc5","v3.5-rc6","v3.5-rc2","v3.2.22","v3.5-rc1","v3.5-rc4","v3.2.21","v3.4","v3.2.20","v3.2.19","v3.2.18","v3.4-rc2","v3.4-rc1","v3.2.17","v3.4-rc7","v3.4-rc6","v3.4-rc3","v3.4-rc5","v3.2.16","v3.2.15","v3.3","v3.2.14","v3.2.13","v3.3-rc6","v3.3-rc3","v3.2.12","v3.3-rc7","v3.2.11","v3.3-rc2","v3.3-rc5","v3.2","v3.2.10","v3.3-rc4","v3.2.9","v3.3-rc1","v3.2.8","v3.2.7","v3.2.6","v3.2.5","v3.2.4","v3.2.3","v3.2.2","v3.2.1","v3.2-rc4","v3.2-rc7","v3.2-rc6","v3.2-rc5","v3.2-rc3","v3.1","v3.2-rc2","v3.2-rc1","v3.1-rc1","v3.1-rc9","v3.1-rc8","v3.1-rc10","v3.1-rc7","v3.1-rc3","v3.1-rc2","v3.1-rc4","v3.1-rc5","v3.0","v3.1-rc6","v3.0-rc7","v3.0-rc4","v3.0-rc6","v3.0-rc5","v3.0-rc3","v3.0-rc1","v2.6.39","v3.0-rc2","v2.6.38","v2.6.39-rc2","v2.6.39-rc7","v2.6.39-rc5","v2.6.39-rc1","v2.6.38-rc7","v2.6.39-rc6","v2.6.39-rc4","v2.6.39-rc3","v2.6.37","v2.6.38-rc1","v2.6.38-rc8","v2.6.38-rc2","v2.6.38-rc6","v2.6.38-rc5","v2.6.38-rc4","v2.6.38-rc3","v2.6.37-rc4","v2.6.37-rc2","v2.6.36","v2.6.37-rc5","v2.6.37-rc8","v2.6.37-rc7","v2.6.37-rc6","v2.6.37-rc1","v2.6.37-rc3","v2.6.36-rc6","v2.6.35-rc4","v2.6.36-rc8","v2.6.35","v2.6.36-rc7","v2.6.36-rc3","v2.6.36-rc5","v2.6.36-rc4","v2.6.36-rc2","v2.6.36-rc1","v2.6.35-rc5","v2.6.35-rc6","v2.6.34","v2.6.35-rc3","v2.6.35-rc1","v2.6.35-rc2","v2.6.34-rc7","v2.6.34-rc6","v2.6.34-rc5","v2.6.34-rc4","v2.6.34-rc3","v2.6.34-rc2","v2.6.34-rc1","v2.6.33","v2.6.33-rc6","v2.6.33-rc8","v2.6.33-rc4","v2.6.33-rc5","v2.6.33-rc3","v2.6.33-rc7","v2.6.33-rc2","v2.6.32","v2.6.33-rc1","v2.6.32-rc8","v2.6.32-rc7","v2.6.32-rc6","v2.6.31","v2.6.32-rc5","v2.6.32-rc4","v2.6.32-rc2","v2.6.32-rc1","v2.6.32-rc3","v2.6.31-rc9","v2.6.31-rc1","v2.6.31-rc7","v2.6.31-rc8","v2.6.31-rc6","v2.6.30-rc6","v2.6.30","v2.6.31-rc4","v2.6.31-rc5","v2.6.31-rc3","v2.6.31-rc2","v2.6.30-rc7","v2.6.30-rc8","v2.6.30-rc5","v2.6.30-rc3","v2.6.30-rc4","v2.6.30-rc1","v2.6.30-rc2","v2.6.29","v2.6.29-rc8","v2.6.29-rc7","v2.6.29-rc5","v2.6.29-rc1","v2.6.29-rc6","v2.6.29-rc4","v2.6.29-rc3","v2.6.29-rc2","v2.6.28","v2.6.28-rc7","v2.6.28-rc9","v2.6.28-rc8","v2.6.28-rc6","v2.6.28-rc5","v2.6.28-rc4","v2.6.28-rc2","v2.6.28-rc3","v2.6.28-rc1","v2.6.27","v2.6.27-rc7","v2.6.27-rc9","v2.6.27-rc8","v2.6.27-rc5","v2.6.27-rc6","v2.6.27-rc4","v2.6.27-rc1","v2.6.27-rc3","v2.6.27-rc2","v2.6.26","v2.6.26-rc9","v2.6.26-rc8","v2.6.26-rc3","v2.6.26-rc7","v2.6.26-rc6","v2.6.26-rc5","v2.6.26-rc4","v2.6.26-rc2","v2.6.26-rc1","v2.6.25","v2.6.25-rc7","v2.6.25-rc9","v2.6.25-rc8","v2.6.25-rc6","v2.6.25-rc5","v2.6.25-rc3","v2.6.25-rc4","v2.6.24","v2.6.25-rc2","v2.6.25-rc1","v2.6.24-rc8","v2.6.24-rc7","v2.6.24-rc6","v2.6.24-rc5","v2.6.24-rc4","v2.6.24-rc3","v2.6.24-rc2","v2.6.24-rc1","v2.6.23","v2.6.23-rc9","v2.6.23-rc8","v2.6.23-rc5","v2.6.23-rc7","v2.6.23-rc6","v2.6.23-rc4","v2.6.23-rc3","v2.6.23-rc2","v2.6.23-rc1","v2.6.22","v2.6.22-rc7","v2.6.22-rc6","v2.6.22-rc5","v2.6.22-rc4","v2.6.22-rc3","v2.6.22-rc2","v2.6.22-rc1","v2.6.21","v2.6.21-rc7","v2.6.21-rc6","v2.6.21-rc5","v2.6.21-rc4","v2.6.21-rc3","v2.6.21-rc2","v2.6.21-rc1","v2.6.20-rc7","v2.6.20-rc6","v2.6.20-rc5","v2.6.20-rc4","v2.6.20-rc3","v2.6.20-rc1","v2.6.20-rc2","v2.6.19-rc2","v2.6.18","v2.6.19-rc1","v2.6.18-rc6","v2.6.18-rc5","v2.6.18-rc3","v2.6.18-rc2","v2.6.18-rc1","v2.6.17","v2.6.17-rc4","v2.6.17-rc6","v2.6.17-rc5","v2.6.17-rc3","v2.6.17-rc2","v2.6.17-rc1","v2.6.16","v2.6.16-rc6","v2.6.16-rc4","v2.6.16-rc5","v2.6.16-rc3","v2.6.16-rc2","v2.6.16-rc1","v2.6.15-rc7","v2.6.15-rc5","v2.6.15-rc4","v2.6.15-rc2","v2.6.15-rc1","v2.6.14-rc3","v2.6.14-rc2","v2.6.14-rc1","v2.6.13","v2.6.13-rc7","v2.6.13-rc6","v2.6.13-rc5","v2.6.13-rc3","v2.6.13-rc4","v2.6.13-rc2","v2.6.13-rc1","v2.6.12-rc4","v2.6.12-rc3","v2.6.12-rc2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41035.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.19.318"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.280"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.100"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.41"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41035.json"}}],"schema_version":"1.7.5"}