CVE-2024-56773
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56773 is a vulnerability in the Linux kernel affecting versions from 6.8 up to (excluding) 6.12.4. The issue involves a potential null pointer dereference in the kunit_device_driver_test() function where kunit_kzalloc() may return a NULL pointer, which could be dereferenced without proper NULL checking (NVD).

Technical details

The vulnerability stems from a missing NULL pointer check in the kunit testing framework. Specifically, in the kunit_device_driver_test() function, kunit_kzalloc() is called to allocate memory for a driver_test_state structure, but the return value is not checked before use. This could lead to a NULL pointer dereference. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can result in a NULL pointer dereference, which could lead to a kernel crash or system instability. The impact is limited to availability (High), with no direct impact on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding a NULL check for test_state using KUNIT_ASSERT_NOT_ERR_OR_NULL(). The fix was implemented in the Linux kernel through commit 435c20eed572a95709b1536ff78832836b2f91b1. Users should upgrade to Linux kernel version 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-68764N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug
NoYesJan 05, 2026
CVE-2025-68758N/AN/A
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesJan 05, 2026
CVE-2025-68756N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68753N/AN/A
  • Linux KernelLinux Kernel
  • python3-perf
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