CVE-2024-56773

kunit: Fix potential null dereference in kunit_device_driver_test()

Medium · published January 8, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
6.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00177 · 6.9th percentile
Published
2025-01-08T17:49Z
EPSS history
Timeline
  • 08 JAN 17:49Z
    kunit: Fix potential null dereference in kunit_device_driver_test()
    cvelistv5