What’s Vulnerable › Vulnerabilities
CVE-2024-56578: media: imx-jpeg: Set video drvdata before register video device
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-27 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: Set video drvdata before register video device The video drvdata should be set before the video device is registered, otherwise video_drvdata() may return NULL in the open() file ops, and led to oops.
Affected products
- Linux kernel: from 5.13 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.12.4 — fixed in 5.15.174, 6.1.120, 6.12.4, 6.6.64
How to fix
Upgrade to a fixed version: Linux kernel 5.15.174, 6.1.120, 6.12.4, 6.6.64. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5ade59d28eade49194eb09765afdeb0ba717c39a
- https://git.kernel.org/stable/c/68efeff2f7fccdfedc55f92e92be32997127d16e
- https://git.kernel.org/stable/c/b88556e82dc18cb708744d062770853a2d5095b2
- https://git.kernel.org/stable/c/d2b7ecc26bd5406d5ba927be1748aa99c568696c
- https://git.kernel.org/stable/c/f68bb1210fbea252552d97242757f69a219e942b
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Get alerted when CVE-2024-56578 or the next vulnerability affects your stack