{"id":"CVE-2024-46823","summary":"kunit/overflow: Fix UB in overflow_allocation_test","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nkunit/overflow: Fix UB in overflow_allocation_test\n\nThe 'device_name' array doesn't exist out of the\n'overflow_allocation_test' function scope. However, it is being used as\na driver name when calling 'kunit_driver_create' from\n'kunit_device_register'. It produces the kernel panic with KASAN\nenabled.\n\nSince this variable is used in one place only, remove it and pass the\ndevice name into kunit_device_register directly as an ascii string.","modified":"2026-03-20T12:37:56.916329Z","published":"2024-09-27T12:39:23.959Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46823.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/92e9bac18124682c4b99ede9ee3bcdd68f121e92"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46823.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46823"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e"},{"fixed":"d1207f07decc66546a7fa463d2f335a856c986ef"},{"fixed":"92e9bac18124682c4b99ede9ee3bcdd68f121e92"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46823.json"}}],"schema_version":"1.7.5"}