CVE
CVE-2024-57980
CNA 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 <[email protected]>
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.13, < 6.13.2Fixed in 6.13.2
- ≥ 6.7, < 6.12.13Fixed in 6.12.13
- ≥ 6.2, < 6.6.76Fixed in 6.6.76
- ≥ 2.6.28, < 6.1.129Fixed in 6.1.129
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49 · Patch
- git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d · Patch
- git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac · Patch
- git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22 · Patch
- git.kernel.org/stable/c/d8e63dd7b6683969d3d47c7b8e9635f96d554ad4 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.