CVE-2024-46823

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/09/2024
Last modified:
05/01/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> kunit/overflow: Fix UB in overflow_allocation_test<br /> <br /> The &amp;#39;device_name&amp;#39; array doesn&amp;#39;t exist out of the<br /> &amp;#39;overflow_allocation_test&amp;#39; function scope. However, it is being used as<br /> a driver name when calling &amp;#39;kunit_driver_create&amp;#39; from<br /> &amp;#39;kunit_device_register&amp;#39;. It produces the kernel panic with KASAN<br /> enabled.<br /> <br /> Since this variable is used in one place only, remove it and pass the<br /> device name into kunit_device_register directly as an ascii string.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10.10 (excluding)
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*