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.
History

Fri, 10 Jan 2025 01:45:00 +0000


Thu, 09 Jan 2025 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Weaknesses CWE-476
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Wed, 08 Jan 2025 18:00:00 +0000

Type Values Removed Values Added
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.
Title kunit: Fix potential null dereference in kunit_device_driver_test()
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-01-08T17:49:12.275Z

Updated: 2025-01-08T17:49:12.275Z

Reserved: 2024-12-29T11:26:39.764Z

Link: CVE-2024-56773

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2025-01-08T18:15:18.087

Modified: 2025-01-09T20:59:54.917

Link: CVE-2024-56773

cve-icon Redhat

Severity : Low

Publid Date: 2025-01-08T00:00:00Z

Links: CVE-2024-56773 - Bugzilla