CVE-2024-56773

medium

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.

References

https://git.kernel.org/stable/c/5d28fac59369b5d3c48cdf09e50275a61ff91202

https://git.kernel.org/stable/c/435c20eed572a95709b1536ff78832836b2f91b1

Details

Source: Mitre, NVD

Published: 2025-01-08

Updated: 2025-01-09

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium