{"id":"CVE-2024-57980","summary":"media: uvcvideo: Fix double free in error path","details":"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-\u003estatus 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-\u003estatus pointer to\nNULL after freeing it.\n\nReviewed by: Ricardo Ribalda \u003cribalda@chromium.org\u003e","modified":"2026-04-02T12:25:26.187944Z","published":"2025-02-27T02:07:06.849Z","related":["ALSA-2025:11298","ALSA-2025:11299","ALSA-2025:11428","ALSA-2025:11861","SUSE-SU-2025:01600-1","SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57980.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57980.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57980"},{"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":"a31a4055473bf0a7b2b06cb2262347200d0711e1"},{"fixed":"d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d"},{"fixed":"87522ef165e5b6de8ef98cc318f3335166a1512c"},{"fixed":"3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277"},{"fixed":"9232719ac9ce4d5c213cebda23d72aec3e1c4c0d"},{"fixed":"6c36dcd662ec5276782838660f8533a7cb26be49"},{"fixed":"d1f8e69eec91d5a75ef079778a5d0151db2a7f22"},{"fixed":"d8e63dd7b6683969d3d47c7b8e9635f96d554ad4"},{"fixed":"c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57980.json"}}],"schema_version":"1.7.5"}