Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e to < 5d28fac59369b5d3c48cdf09e50275a61ff91202affected
  • d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e to < 435c20eed572a95709b1536ff78832836b2f91b1affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.12.4 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References