# media: uvcvideo: Fix double free in error path

CVE record · `CVE-2024-57980`

- **Identifiers:** `CVE-2024-57980`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Feb 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Feb 2025, 02:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before 87522ef165e5b6de8ef98cc318f3335166a1512c` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before 3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before 9232719ac9ce4d5c213cebda23d72aec3e1c4c0d` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before 6c36dcd662ec5276782838660f8533a7cb26be49` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before d1f8e69eec91d5a75ef079778a5d0151db2a7f22` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before d8e63dd7b6683969d3d47c7b8e9635f96d554ad4` (git)
  - affected: `a31a4055473bf0a7b2b06cb2262347200d0711e1 to before c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.28`
  - unaffected: `before 2.6.28` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.76 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.13 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.2 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The uvcvideo media driver in the Linux kernel frees memory twice in an error path when status initialization fails to allocate a URB. The source gives few details on how an attacker would trigger it or what they could gain. Upgrade to 5.4.291, 5.10.235, 5.15.179, 6.1.129, or a later release in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 20th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Feb 2025, 02:07 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-57980)
- 27 Feb 2025, 02:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-57980)

## Sources

- [CVE List: CVE-2024-57980](https://www.cve.org/CVERecord?id=CVE-2024-57980)
- [NVD: CVE-2024-57980](https://nvd.nist.gov/vuln/detail/CVE-2024-57980)

### References from the CNA

- <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>
- <https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49>
- <https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22>
- <https://git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4>
- <https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-57980>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-57980/>. Everything for agents: <https://agentprime.io/llms.txt>.
