CVE-2024-57978

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Feb 27, 2025
Updated: Mar 13, 2025
CWE ID 476

Summary

CVE-2024-57978 is a vulnerability affecting the Linux kernel's media driver for Imx-JPEG. This issue arises from a potential error pointer dereference in the detach_pm() function. Specifically, the 'if' condition on the first line may pass an error pointer to pm_runtime_suspended(), leading to an Oops if jpeg->pd_dev[i] is an error pointer. Although other conditions check for errors and NULL values, using the IS_ERR_OR_NULL() check for this condition would enhance clarity.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share