{"id":"CVE-2024-44960","aliases":["CVE-2024-44960"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: core: Check for unset descriptor","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: core: Check for unset descriptor\n\nMake sure the descriptor has been set before looking at maxpacket.\nThis fixes a null pointer panic in this case.\n\nThis may happen if the gadget doesn't properly set up the endpoint\nfor the current speed, or the gadget descriptors are malformed and\nthe descriptor for the speed/endpoint are not found.\n\nNo current gadget driver is known to have this problem, but this\nmay cause a hard-to-find bug during development of new gadgets.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: core: Check for unset descriptor\n\nMake sure the descriptor has been set before looking at maxpacket.\nThis fixes a null pointer panic in this case.\n\nThis may happen if the gadget doesn't properly set up the endpoint\nfor the current speed, or the gadget descriptors are malformed and\nthe descriptor for the speed/endpoint are not found.\n\nNo current gadget driver is known to have this problem, but this\nmay cause a hard-to-find bug during development of new gadgets.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: gadget: core: Comprobar si hay un descriptor no configurado Asegúrese de que el descriptor se haya configurado antes de consultar maxpacket. Esto soluciona un error de puntero nulo en este caso. Esto puede suceder si el gadget no configura correctamente el endpoint para la velocidad actual, o si los descriptores del gadget están mal formados y no se encuentra el descriptor para la velocidad/endpoint. No se conoce ningún controlador de gadget actual que tenga este problema, pero puede causar un error difícil de encontrar durante el desarrollo de nuevos gadgets.","source":"nvd"}],"published":"2024-09-04T18:35:58.469Z","modified":"2026-10-15T01:18:50.283Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"d1c188d330ca33cc35d1590441ba276f31144299","fixed":"ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"df8e734ae5e605348aa0ca2498aedb73e815f244","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"50c5248b0ea8aae0529fdf28dac42a41312d3b62","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"a0362cd6e503278add954123957fd47990e8d9bf","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"1a9df57d57452b104c46c918569143cf21d7ebf1","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"716cba46f73a92645cf13eded8d257ed48afc2a4","status":"affected"},{"type":"git","introduced":"54f83b8c8ea9b22082a496deadf90447a326954e","fixed":"973a57891608a98e894db2887f278777f564de18","status":"affected"},{"type":"git","version":"d7e3f2fe01372eb914d0e451f0e7a46cbcb98f9e","status":"affected"},{"type":"git","version":"85c9ece11264499890d0e9f0dee431ac1bda981c","status":"affected"},{"type":"git","version":"fc71e39a6c07440e6968227f3db1988f45d7a7b7","status":"affected"},{"type":"git","version":"94f5de2eefae22c449e367c2dacafe869af73e3f","status":"affected"},{"type":"git","version":"8212b44b7109bd30dbf7eb7f5ecbbc413757a7d7","status":"affected"},{"type":"semver","introduced":"4.19.82","fixed":"4.19.320","status":"affected"},{"type":"semver","introduced":"3.16.80","fixed":"3.17","status":"affected"},{"type":"semver","introduced":"4.4.199","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.199","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.152","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"5.3.9","fixed":"5.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"4.19.320","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.282","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.224","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.165","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.105","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.46","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.5","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.16.80"},{"status":"affected","introduced":"3.17","fixed":"4.4.199"},{"status":"affected","introduced":"4.5","fixed":"4.9.199"},{"status":"affected","introduced":"4.10","fixed":"4.14.152"},{"status":"affected","introduced":"4.15","fixed":"4.19.320"},{"status":"affected","introduced":"4.20","fixed":"5.3.9"},{"status":"affected","introduced":"5.4","fixed":"5.4.282"},{"status":"affected","introduced":"5.5","fixed":"5.10.224"},{"status":"affected","introduced":"5.11","fixed":"5.15.165"},{"status":"affected","introduced":"5.16","fixed":"6.1.105"},{"status":"affected","introduced":"6.2","fixed":"6.6.46"},{"status":"affected","introduced":"6.7","fixed":"6.10.5"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0362cd6e503278add954123957fd47990e8d9bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/973a57891608a98e894db2887f278777f564de18","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:39:50.689Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-44960","url":"https://www.cve.org/CVERecord?id=CVE-2024-44960","licence":"CVE Terms of Use","modified":"2026-10-15T00:49:30.950Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-44960","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44960","licence":"Public domain","modified":"2026-10-15T01:18:50.283Z"}],"updatedAt":"2026-11-25T22:58:45.076Z","epss":{"score":0.00239,"percentile":0.161,"date":"2026-12-01T12:00:22.000Z"}}