Kernel Oops via imx-jpeg error pointer dereference
Published Feb 27, 2025 · Updated May 23, 2026
NULL pointer dereference in the Linux kernel imx-jpeg driver allows local users to trigger a kernel Oops during power-domain detach. During detach_pm(), a non-NULL error pointer in jpeg->pd_dev[i] is passed to pm_runtime_suspended() without an IS_ERR_OR_NULL() guard. Reachability requires the NXP i.MX JPEG driver and the affected detach path; the reported consequence is service interruption, not data access or code execution.
Summary
What happened
NULL pointer dereference in the Linux kernel imx-jpeg driver allows local users to trigger a kernel Oops during power-domain detach. During detach_pm(), a non-NULL error pointer in jpeg->pd_dev[i] is passed to pm_runtime_suspended() without an IS_ERR_OR_NULL() guard. Reachability requires the NXP i.MX JPEG driver and the affected detach path; the reported consequence is service interruption, not data access or code execution.
The record
- CVE
- CVE-2024-57978
- Published
- Feb 27, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=12914fd765ba4f9d6a9a50439e8dd2e9f91423f2 <fde89fe11b44500bfcb2d405825b69a5df805d19
- Affected versionversion=2f86d104539fab9181ea7b5721f40e7b92a8bf67 <6e601a64f7777e2f78c02db1a8b5ba3b7c5e9e31
- Affected versionversion=5.15.174 <5.15.179
- Affected versionversion=6.1.120 <6.1.129
- Affected versionversion=6.12.4 <6.12.13
- Affected versionversion=6.13
- Affected versionversion=6.6.64 <6.6.76
- Affected versionversion=b7a830bbc25da0f641e3ef2bac3b1766b2777a8b <1b2af918bb714937a8be6cb637f528585461cd98
- Affected versionversion=f3c4e088ec01cae45931a18ddf7cae0f4d72e1c5 <a32ba399a030853f2db45a90ba5474fdd3494aad
- Affected versionversion=fd0af4cd35da0eb550ef682b71cda70a4e36f6b9 <1378ffec30367233152b7dbf4fa6a25ee98585d1
- Affected versionversion=fd0af4cd35da0eb550ef682b71cda70a4e36f6b9 <f0b8535a7885ed4fd0b11625addb5476cae0f845
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo