media: imx-jpeg: Fix potential error pointer dereference in detach_pm()
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-476.
Summary
In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: Fix potential error pointer dereference in detach_pm() The proble is on the first line: if (jpeg->pd_dev[i] && !pm_runtime_suspended(jpeg->pd_dev[i])) If jpeg->pd_dev[i] is an error pointer, then passing it to pm_runtime_suspended() will lead to an Oops. The other conditions check for both error pointers and NULL, but it would be more clear to use the IS_ERR_OR_NULL() check for that.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.15.174 to before 5.15.179; 6.1.120 to before 6.1.129; 6.6.64 to before 6.6.76; 6.12.4 to before 6.12.13 | 5.15.179, 6.1.129, 6.6.76, 6.12.13 | Patch available | CNA |
| Linux | Linux | 6.13 and later | 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14 | Patch available | CNA |
- Linux VendorLinux Affected 5.15.174 to before 5.15.179; 6.1.120 to before 6.1.129; 6.6.64 to before 6.6.76; 6.12.4 to before 6.12.13 Fixed in 5.15.179, 6.1.129, 6.6.76, 6.12.13 Patch available CNA
- Linux VendorLinux Affected 6.13 and later Fixed in 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.174 to before 5.16; 6.1.120 to before 6.1.129; 6.6.64 to before 6.6.76; 6.12.4 to before 6.12.13; 6.13 to before 6.13.2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.15.174 to before 5.16; 6.1.120 to before 6.1.129; 6.6.64 to before 6.6.76; 6.12.4 to before 6.12.13; 6.13 to before 6.13.2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.15.179, 6.1.129, 6.6.76, 6.12.13
- Fix · CNA Linux (Linux) Fixed in 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-57978
- 2026-10-03 Alias added: GHSA-j6gc-v552-cf9v
References
Patch 5
- https://git.kernel.org/stable/c/fde89fe11b44500bfcb2d405825b69a5df805d19
- https://git.kernel.org/stable/c/1b2af918bb714937a8be6cb637f528585461cd98
- https://git.kernel.org/stable/c/6e601a64f7777e2f78c02db1a8b5ba3b7c5e9e31
- https://git.kernel.org/stable/c/f0b8535a7885ed4fd0b11625addb5476cae0f845
- https://git.kernel.org/stable/c/1378ffec30367233152b7dbf4fa6a25ee98585d1
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-57978 · CVE Program
- CVE-2024-57978 · NVD
- FIRST EPSS
- GHSA-j6gc-v552-cf9v · GitHub Advisory Database · CC BY 4.0
- CVE-2024-57978 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences