# CVE-2024-56578: media: imx-jpeg: Set video drvdata before register video device

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-27T14:23:20.659Z
- Modified: 2026-06-17T08:12:27.483Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before f68bb1210fbea252552d97242757f69a219e942b; from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before b88556e82dc18cb708744d062770853a2d5095b2; from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before 68efeff2f7fccdfedc55f92e92be32997127d16e; from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before 5ade59d28eade49194eb09765afdeb0ba717c39a; from 2db16c6ed72ce644d5639b3ed15e5817442db4ba before d2b7ecc26bd5406d5ba927be1748aa99c568696c; 5.13 (not affected: before 5.13; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.12.4 up to 6.12.*; from 6.13 up to *)
- linux 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

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f68bb1210fbea252552d97242757f69a219e942b> (patch)
- <https://git.kernel.org/stable/c/b88556e82dc18cb708744d062770853a2d5095b2> (patch)
- <https://git.kernel.org/stable/c/68efeff2f7fccdfedc55f92e92be32997127d16e> (patch)
- <https://git.kernel.org/stable/c/5ade59d28eade49194eb09765afdeb0ba717c39a> (patch)
- <https://git.kernel.org/stable/c/d2b7ecc26bd5406d5ba927be1748aa99c568696c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-56578](https://www.cve.org/CVERecord?id=CVE-2024-56578), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56578](https://nvd.nist.gov/vuln/detail/CVE-2024-56578), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56578 · Whole record: https://cve.day/CVE-2024-56578.json · Rebuilt by cve.day 2026-11-25T22:58:50.459Z
