{"id":"CVE-2024-57980","aliases":["CVE-2024-57980"],"related":[],"kind":"vulnerability","state":"published","title":"media: uvcvideo: Fix double free in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Fix double free in error path\n\nIf the uvc_status_init() function fails to allocate the int_urb, it will\nfree the dev->status pointer but doesn't reset the pointer to NULL. This\nresults in the kfree() call in uvc_status_cleanup() trying to\ndouble-free the memory. Fix it by resetting the dev->status pointer to\nNULL after freeing it.\n\nReviewed by: Ricardo Ribalda <ribalda@chromium.org>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Fix double free in error path\n\nIf the uvc_status_init() function fails to allocate the int_urb, it will\nfree the dev->status pointer but doesn't reset the pointer to NULL. This\nresults in the kfree() call in uvc_status_cleanup() trying to\ndouble-free the memory. Fix it by resetting the dev->status pointer to\nNULL after freeing it.\n\nReviewed by: Ricardo Ribalda <ribalda@chromium.org>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: uvcvideo: Se soluciona la doble liberación en la ruta de error Si la función uvc_status_init() no puede asignar el int_urb, liberará el puntero dev-&gt;status pero no restablecerá el puntero a NULL. Esto hace que la llamada kfree() en uvc_status_cleanup() intente liberar la memoria dos veces. Arréglelo restableciendo el puntero dev-&gt;status a NULL después de liberarlo. Revisado por: Ricardo Ribalda","source":"nvd"}],"published":"2025-02-27T02:07:06.849Z","modified":"2026-11-05T21:17:38.780Z","severity":{"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"},"severities":[{"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-415"],"affected":[{"ranges":[{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"87522ef165e5b6de8ef98cc318f3335166a1512c","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"9232719ac9ce4d5c213cebda23d72aec3e1c4c0d","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"6c36dcd662ec5276782838660f8533a7cb26be49","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"d1f8e69eec91d5a75ef079778a5d0151db2a7f22","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"d8e63dd7b6683969d3d47c7b8e9635f96d554ad4","status":"affected"},{"type":"git","introduced":"a31a4055473bf0a7b2b06cb2262347200d0711e1","fixed":"c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.28","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.28","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.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.76","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.13","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.2","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":"2.6.28","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.76"},{"status":"affected","introduced":"6.7","fixed":"6.12.13"},{"status":"affected","introduced":"6.13","fixed":"6.13.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.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":"partial","date":"2026-11-05T20:32:56.790Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-57980","url":"https://www.cve.org/CVERecord?id=CVE-2024-57980","licence":"CVE Terms of Use","modified":"2026-11-05T20:41:38.325Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-57980","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57980","licence":"Public domain","modified":"2026-11-05T21:17:38.780Z"}],"updatedAt":"2026-11-25T22:58:52.085Z","epss":{"score":0.00274,"percentile":0.21179,"date":"2026-12-01T12:00:22.000Z"}}