# CVE-2024-57980: media: uvcvideo: Fix double free in error path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:06.849Z
- Modified: 2026-11-05T21:17:38.780Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: uvcvideo: Fix double free in error path

If the uvc_status_init() function fails to allocate the int_urb, it will
free the dev->status pointer but doesn't reset the pointer to NULL. This
results in the kfree() call in uvc_status_cleanup() trying to
double-free the memory. Fix it by resetting the dev->status pointer to
NULL after freeing it.

Reviewed by: Ricardo Ribalda <ribalda@chromium.org>

(As written by CVE List.)

## Affected

- Linux Linux: from a31a4055473bf0a7b2b06cb2262347200d0711e1 before d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before 87522ef165e5b6de8ef98cc318f3335166a1512c; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before 3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before 9232719ac9ce4d5c213cebda23d72aec3e1c4c0d; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before 6c36dcd662ec5276782838660f8533a7cb26be49; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before d1f8e69eec91d5a75ef079778a5d0151db2a7f22; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before d8e63dd7b6683969d3d47c7b8e9635f96d554ad4; from a31a4055473bf0a7b2b06cb2262347200d0711e1 before c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac; 2.6.28 (not affected: before 2.6.28; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 2.6.28 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## References

- <https://git.kernel.org/stable/c/d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d>
- <https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c>
- <https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277>
- <https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d> (patch)
- <https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49> (patch)
- <https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22> (patch)
- <https://git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4> (patch)
- <https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2024-57980](https://www.cve.org/CVERecord?id=CVE-2024-57980), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-57980](https://nvd.nist.gov/vuln/detail/CVE-2024-57980), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-57980 · Whole record: https://cve.day/CVE-2024-57980.json · Rebuilt by cve.day 2026-11-25T22:58:52.085Z
