We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-46823

kunit/overflow: Fix UB in overflow_allocation_test



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.

Reserved 2024-09-11 | Published 2024-09-27 | Updated 2024-11-05 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f4 before d1207f07decc
affected

1da177e4c3f4 before 92e9bac18124
affected

Default status
affected

6.10.10
unaffected

6.11
unaffected

References

git.kernel.org/...c/d1207f07decc66546a7fa463d2f335a856c986ef

git.kernel.org/...c/92e9bac18124682c4b99ede9ee3bcdd68f121e92

cve.org (CVE-2024-46823)

nvd.nist.gov (CVE-2024-46823)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-46823

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.