CVE-2024-56773 Details
Description
In the Linux kernel, the following vulnerability has been resolved: kunit: Fix potential null dereference in kunit_device_driver_test() kunit_kzalloc() may return a NULL pointer, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for test_state.
A potential null pointer dereference vulnerability has been identified in the Linux kernel's Kunit testing framework. The issue arises in the 'kunit_device_driver_test()' function, where 'kunit_kzalloc()' may return a NULL pointer. Dereferencing this pointer without a proper NULL check can lead to a null dereference error. The vulnerability has been addressed by adding a NULL check for the 'test_state' variable.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/435c20eed572a95709b1536ff78832836b2f91b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d28fac59369b5d3c48cdf09e50275a61ff91202 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.12.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Jan 9, 2025 | Initial Analysis | [email protected] |
| Jan 8, 2025 | New CVE Received | kernel.org |