CVE Database›Document archive›CVE-2024-46823

CVE-2024-46823

kernel: kunit/overflow: Fix UB in overflow_allocation_test

Loading…

Severity

Low

Red Hat Product Security

4.1

CVSS 3.1

Review impact separately from score.

Published · September 27, 2024

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel before initialization in subsystem tests. 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', which can produce a kernel panic with KASAN enabled. This could allow a local user to crash the system.

Statement

This vulnerability is rated as Low impact because it is restricted to internal KUnit test executions and requires elevated administrative privileges to trigger. In standard Red Hat Enterprise Linux environments, test modules are not loaded during normal operations, and production kernels are compiled without KASAN enabled. Consequently, unprivileged local users cannot independently invoke the flawed test routines to cause a denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE not specified