CVE-2024-46823
JSON

8.4high

kunit/overflow: Fix UB in overflow_allocation_test

Severity
8.4high CVSS:3.1 by Linux
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelbefore 6.10.10, 6.11NVD

All scores

Linux8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: kunit/overflow: Arreglar UB en overflow_allocation_test La matriz 'device_name' no existe fuera del ámbito de la función 'overflow_allocation_test'. Sin embargo, se está utilizando como nombre de controlador al llamar a 'kunit_driver_create' desde 'kunit_device_register'. Produce el pánico del kernel con KASAN habilitado. Dado que esta variable se utiliza en un solo lugar, elimínela y pase el nombre del dispositivo a kunit_device_register directamente como una cadena ascii.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46823 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-46823 changed 2026-08-04Public domain