VDB

CVE-2024-56773

CVE-2024-56773 PUBLISHED CVSS 5.5 MEDIUM

kunit: Fix potential null dereference in kunit_device_driver_test()

Reported by linux · Published January 8, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.12.4

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e, d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e
LinuxLinux6.8, 0, 6.12.4
linuxlinux_kernel6.8, 6.8
LinuxLinux0, 6.12.4, 6.13

Timeline

  • Jan 8, 2025 CVE Published
  • Jan 9, 2025 EPSS Score (30 in total, the first dated here)
  • Jan 21, 2025 Coalition ESS Score (24 in total, the first dated here)
  • Dec 29, 2025 Security Advisory (75 in total, the first dated here)
  • Dec 29, 2025 CVE Updated
  • Apr 29, 2026 Distribution Patch (72 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56773
vulnetix vdb fixes CVE-2024-56773

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56773/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›