All reports
Low

kernel: kunit: Fix potential null dereference in kunit_device_driver_test()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-56773

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-19

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.