CVE-2024-56773

published 8 Jan 2025 · updated 11 May 2026

kunit: Fix potential null dereference in kunit_device_driver_test()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 435c20eed572a95709b1536ff78832836b2f91b1 and Kernel 5d28fac59369b5d3c48cdf09e50275a61ff91202.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e <435c20eed572a95709b1536ff78832836b2f91b1, >=d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e <5d28fac59369b5d3c48cdf09e50275a61ff91202435c20eed572a95709b1536ff78832836b2f91b1, 5d28fac59369b5d3c48cdf09e50275a61ff91202

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56773 severity on Zeptric[![CVE-2024-56773](https://zeptric.io/badge/cve/CVE-2024-56773.svg)](https://zeptric.io/cve/CVE-2024-56773)