What’s Vulnerable › Vulnerabilities
CVE-2024-46823: kunit/overflow: Fix UB in overflow_allocation_test
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-27 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: kunit/overflow: Fix UB in overflow_allocation_test The 'device_name' array doesn't exist out of the 'overflow_allocation_test' function scope. However, it is being used as a driver name when calling 'kunit_driver_create' from 'kunit_device_register'. It produces the kernel panic with KASAN enabled. Since this variable is used in one place only, remove it and pass the device name into kunit_device_register directly as an ascii string.
Affected products
- Linux kernel: before 6.10.10; 6.11-rc1, 6.11-rc2, 6.11-rc3 — fixed in 6.10.10
How to fix
Upgrade to a fixed version: Linux kernel 6.10.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/92e9bac18124682c4b99ede9ee3bcdd68f121e92
- https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Get alerted when CVE-2024-46823 or the next vulnerability affects your stack