CVE Catalog

CVE-2024-27043

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

21th percentile - higher than 21% of all known CVEs

Summary

In the Linux kernel, the DVB subsystem has a use-after-free vulnerability. In dvb_register_device, *pdvbdev is set to dvbdev, which is freed in error paths, but not set to NULL, leading to use of freed memory in later calls such as dvb_unregister_device.

Risk Assessment

The vulnerability could lead to system crash or potentially privilege escalation on systems with DVB devices.

Recommendation

It is recommended to update the Linux kernel to a version with the fix that sets *pdvbdev to NULL after freeing the memory.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS