CVE Database›CVE-2024-46745

CVE-2024-46745

kernel: Input: uinput - reject requests with unreasonable number of slots

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · September 18, 2024

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's uinput interface. A local user could exploit this vulnerability by attempting to set up a uinput device with an unreasonably large number of slots. This action triggers a memory allocation failure, which can place a significant burden on the system, potentially leading to a Denial of Service (DoS).

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

To prevent a local attacker from exploiting this vulnerability, the uinput kernel module can be blacklisted. This will prevent the creation of virtual input devices.

echo "install uinput /bin/true" | sudo tee /etc/modprobe.d/disable-uinput.conf

After applying this change, a system reboot is required for the blacklist to take full effect if the module is already loaded. Disabling uinput may impact applications that rely on virtual input devices.

CVSS / CWE

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

CWE-770 · Allocation of Resources Without Limits or Throttling