CVE-2024-57980

media: uvcvideo: Fix double free in error path

No CVSS score yet EPSS 0.27%

Published 27 Feb 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2024-57980

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-57980 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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>

Exploitation

EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before 87522ef165e5b6de8ef98cc318f3335166a1512c
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before 3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before 9232719ac9ce4d5c213cebda23d72aec3e1c4c0d
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before 6c36dcd662ec5276782838660f8533a7cb26be49
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before d1f8e69eec91d5a75ef079778a5d0151db2a7f22
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before d8e63dd7b6683969d3d47c7b8e9635f96d554ad4
affected from a31a4055473bf0a7b2b06cb2262347200d0711e1, before c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac
Other versions: unaffected
Linux
affected 2.6.28
unaffected before 2.6.28
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.76 up to and including 6.6.*
unaffected from 6.12.13 up to and including 6.12.*
unaffected from 6.13.2 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-57980 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-57980

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-57980
trivy image --scanners vuln IMAGE | grep CVE-2024-57980

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-57980 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.