{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-57980","id":"CVE-2024-57980","title":"media: uvcvideo: Fix double free in error path","description":"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","descriptionLong":"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>","published":"2025-02-27T02:07:06.849Z","updated":"2026-11-07T02:30:20.178960085Z","reserved":"2025-02-27T02:04:28.912Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"87522ef165e5b6de8ef98cc318f3335166a1512c","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"9232719ac9ce4d5c213cebda23d72aec3e1c4c0d","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"6c36dcd662ec5276782838660f8533a7cb26be49","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"d1f8e69eec91d5a75ef079778a5d0151db2a7f22","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"d8e63dd7b6683969d3d47c7b8e9635f96d554ad4","status":"affected","versionType":"git"},{"version":"a31a4055473bf0a7b2b06cb2262347200d0711e1","lessThan":"c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.28","status":"affected"},{"version":"0","lessThan":"2.6.28","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.129","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.76","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.13","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.2","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57980.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57980","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00273,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-57980","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57980","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-57980","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-57980","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}