cve/2024/CVE-2024-57980.md
2025-09-29 21:09:30 +02:00

1.1 KiB

CVE-2024-57980

Description

In the Linux kernel, the following vulnerability has been resolved:media: uvcvideo: Fix double free in error pathIf the uvc_status_init() function fails to allocate the int_urb, it willfree the dev->status pointer but doesn't reset the pointer to NULL. Thisresults in the kfree() call in uvc_status_cleanup() trying todouble-free the memory. Fix it by resetting the dev->status pointer toNULL after freeing it.Reviewed by: Ricardo Ribalda ribalda@chromium.org

POC

Reference

No PoCs from references.

Github