CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-56773: kunit: Fix potential null dereference in kunit_device_driver_test()

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.

Classification

CVE ID: CVE-2024-56773

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.48% (scored less or equal to compared to others)

EPSS Date: 2025-02-06 (when was this score calculated)

References

https://git.kernel.org/stable/c/5d28fac59369b5d3c48cdf09e50275a61ff91202
https://git.kernel.org/stable/c/435c20eed572a95709b1536ff78832836b2f91b1

Timeline