CVEvulnerability

CVE-2024-57980

7.8 HIGH Published 2025-02-27 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2025-02-27
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-415

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 configurations

• linux linux kernel (>= 2.6.28 < 6.1.129) • linux linux kernel (>= 6.2 < 6.6.76) • linux linux kernel (>= 6.7 < 6.12.13) • linux linux kernel (>= 6.13 < 6.13.2)

Related

Weakness · CWE (1)

References