CVE-2024-58002
Description
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Remove dangling pointers When an async control is written, we copy a pointer to the file handle that started the operation. That pointer will be used when the device is done. Which could be anytime in the future. If the user closes that file descriptor, its structure will be freed, and there will be one dangling pointer per pending async control, that the driver will try to use. Clean all the dangling pointers during release(). To avoid adding a performance penalty in the most common case (no async operation), a counter has been introduced with some logic to make sure that it is properly handled.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2025-11299.html
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2025:11299
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2025-11298.html
Vendor advisory: alma — https://bugzilla.redhat.com/2363378
Vendor advisory: alma — https://bugzilla.redhat.com/2363305
Vendor advisory: alma — https://bugzilla.redhat.com/2363268
Vendor advisory: alma — https://bugzilla.redhat.com/2357142
Vendor advisory: alma — https://bugzilla.redhat.com/2356917
Vendor advisory: alma — https://bugzilla.redhat.com/2348599
Vendor advisory: alma — https://bugzilla.redhat.com/2348254
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2025:11298
Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2025-11411.html
Vendor advisory: alma — https://bugzilla.redhat.com/2375529
Vendor advisory: alma — https://bugzilla.redhat.com/2348513
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-58002
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-58002.html
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2025:11298
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2025:11299
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2025:11411
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 6.1.133-1 |
| debian | bullseye | fixed | 5.10.237-1 |
| debian | forky | fixed | 6.12.15-1 |
| debian | sid | fixed | 6.12.15-1 |
| debian | trixie | fixed | 6.12.15-1 |
References
- https://access.redhat.com/errata/RHSA-2025:11411
- https://errata.rockylinux.org/RLSA-2025:11299
- https://errata.rockylinux.org/RLSA-2025:11298
- https://www.suse.com/security/cve/CVE-2024-58002.html
- https://security-tracker.debian.org/tracker/CVE-2024-58002
- https://bugzilla.redhat.com/2348513
- https://bugzilla.redhat.com/2375529
- https://errata.almalinux.org/9/ALSA-2025-11411.html
- https://access.redhat.com/errata/RHSA-2025:11298
- https://bugzilla.redhat.com/2348254
- https://bugzilla.redhat.com/2348599
- https://bugzilla.redhat.com/2356917
- https://bugzilla.redhat.com/2357142
- https://bugzilla.redhat.com/2363268
- https://bugzilla.redhat.com/2363305
- https://bugzilla.redhat.com/2363378
- https://errata.almalinux.org/8/ALSA-2025-11298.html
- https://access.redhat.com/errata/RHSA-2025:11299
- https://errata.almalinux.org/8/ALSA-2025-11299.html
Verify integrity in audit chain (admin only). AS-IS.