{"id":"CVE-2024-58002","aliases":["CVE-2024-58002"],"related":[],"kind":"vulnerability","state":"published","title":"media: uvcvideo: Remove dangling pointers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Remove dangling pointers\n\nWhen an async control is written, we copy a pointer to the file handle\nthat started the operation. That pointer will be used when the device is\ndone. Which could be anytime in the future.\n\nIf the user closes that file descriptor, its structure will be freed,\nand there will be one dangling pointer per pending async control, that\nthe driver will try to use.\n\nClean all the dangling pointers during release().\n\nTo avoid adding a performance penalty in the most common case (no async\noperation), a counter has been introduced with some logic to make sure\nthat it is properly handled.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Remove dangling pointers\n\nWhen an async control is written, we copy a pointer to the file handle\nthat started the operation. That pointer will be used when the device is\ndone. Which could be anytime in the future.\n\nIf the user closes that file descriptor, its structure will be freed,\nand there will be one dangling pointer per pending async control, that\nthe driver will try to use.\n\nClean all the dangling pointers during release().\n\nTo avoid adding a performance penalty in the most common case (no async\noperation), a counter has been introduced with some logic to make sure\nthat it is properly handled.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: uvcvideo: Eliminar punteros colgantes Cuando se escribe un control asíncrono, copiamos un puntero al identificador de archivo que inició la operación. Ese puntero se utilizará cuando el dispositivo termine. Lo que podría ser en cualquier momento en el futuro. Si el usuario cierra ese descriptor de archivo, se liberará su estructura y habrá un puntero colgante por cada control asíncrono pendiente, que el controlador intentará utilizar. Limpie todos los punteros colgantes durante release(). Para evitar agregar una penalización de rendimiento en el caso más común (sin operación asíncrona), se ha introducido un contador con cierta lógica para asegurarse de que se gestiona correctamente.","source":"nvd"}],"published":"2025-02-27T02:12:00.223Z","modified":"2026-10-15T22:18:05.010Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"2a29413ace64627e178fd422dd8a5d95219a2c0b","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"653993f46861f2971e95e9a0e36a34b49dec542c","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"ac18d781466252cd35a3e311e0a4b264260fd927","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"4dbaa738c583a0e947803c69e8996e88cf98d971","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"438bda062b2c40ddd7df23b932e29ffe0a448cac","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"9edc7d25f7e49c33a1ce7a5ffadea2222065516c","status":"affected"},{"type":"git","introduced":"e5225c820c057537dc780244760e2e24c7d27366","fixed":"221cd51efe4565501a3dbf04cc011b537dcce7fb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.130","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.80","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","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","introduced":"4.19","fixed":"6.6.80"},{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2a29413ace64627e178fd422dd8a5d95219a2c0b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/653993f46861f2971e95e9a0e36a34b49dec542c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/117f7a2975baa4b7d702d3f4830d5a4ebd0c6d50","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac18d781466252cd35a3e311e0a4b264260fd927","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4dbaa738c583a0e947803c69e8996e88cf98d971","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/438bda062b2c40ddd7df23b932e29ffe0a448cac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9edc7d25f7e49c33a1ce7a5ffadea2222065516c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/221cd51efe4565501a3dbf04cc011b537dcce7fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:42:06.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58002","url":"https://www.cve.org/CVERecord?id=CVE-2024-58002","licence":"CVE Terms of Use","modified":"2026-10-15T21:51:50.424Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58002","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58002","licence":"Public domain","modified":"2026-10-15T22:18:05.010Z"}],"updatedAt":"2026-11-25T22:58:52.099Z","epss":{"score":0.00257,"percentile":0.18575,"date":"2026-12-01T12:00:22.000Z"}}