CVE-2024-56578
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56578 is a vulnerability in the Linux kernel's imx-jpeg driver discovered in December 2024. The issue occurs when video drvdata is set after the video device is registered, which can cause video_drvdata() to return NULL in the open() file operations, leading to a system oops. This vulnerability affects Linux kernel versions from 5.13 up to versions before 5.15.174, 6.1.120, 6.6.64, and 6.12.4 (NVD).

Technical details

The vulnerability stems from an incorrect ordering of operations in the imx-jpeg driver's probe function. The video_set_drvdata() call was incorrectly placed after the video device registration, which could result in a NULL pointer dereference during device operations. The issue was fixed by moving the video_set_drvdata(jpeg->dec_vdev, jpeg) call before the video device registration. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can cause a system oops (kernel panic) when attempting to open the affected video device, potentially leading to system instability or denial of service. The impact is limited to local attacks and requires local user privileges to exploit (NVD).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel. The fix involves reordering the video_set_drvdata() call to occur before video device registration. Users should update to kernel versions 5.15.174, 6.1.120, 6.6.64, or 6.12.4 or later to address this vulnerability (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management