Bug 2315175 (CVE-2024-46823) - CVE-2024-46823 kernel: kunit/overflow: Fix UB in overflow_allocation_test
Summary: CVE-2024-46823 kernel: kunit/overflow: Fix UB in overflow_allocation_test
Keywords:
Status: NEW
Alias: CVE-2024-46823
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2315283
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-27 13:21 UTC by OSIDB Bzimport
Modified: 2024-10-28 16:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-27 13:21:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.