What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56773 or the next vulnerability affects your stack