← CVE Intelligence

CVE-2024-56773

kunit: Fix potential null dereference in kunit_device_driver_test() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e before 5d28fac59369b5d3c48cdf09e50275a61ff91202; affected d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e before 435c20eed572a95709b1536ff78832836b2f91b1
Linux / Linuxaffected 6.8; unaffected 0 before 6.8; unaffected 6.12.4 through 6.12.*; unaffected 6.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.