
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."