# CVE-2024-46823: kunit/overflow: Fix UB in overflow_allocation_test

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-09-27T12:39:23.959Z
- Modified: 2026-08-05T11:38:50.296Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e before d1207f07decc66546a7fa463d2f335a856c986ef; from d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e before 92e9bac18124682c4b99ede9ee3bcdd68f121e92; 6.8 (not affected: before 6.8; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 6.10.10; 6.11

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d1207f07decc66546a7fa463d2f335a856c986ef> (patch)
- <https://git.kernel.org/stable/c/92e9bac18124682c4b99ede9ee3bcdd68f121e92> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2024-46823](https://www.cve.org/CVERecord?id=CVE-2024-46823), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46823](https://nvd.nist.gov/vuln/detail/CVE-2024-46823), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46823 · Whole record: https://cve.day/CVE-2024-46823.json · Rebuilt by cve.day 2026-11-25T22:58:45.831Z
