CVE-2024-56773
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e, d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e |
| Linux | Linux | 6.8, 0, 6.12.4 |
| linux | linux_kernel | 6.8, 6.8 |
| Linux | Linux | 0, 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