CVE-2024-45008
kernel: Input: MT - limit max slots
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 4, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's multi-touch input handling where the number of MT slots supplied through the UI_DEV_CREATE ioctl was not adequately bounded. A local user could provide an excessively large value, causing input_mt_init_slots() to perform an excessive kernel memory allocation. This could exhaust kernel memory and result in a denial of service. The issue was fixed by limiting the maximum number of MT slots to 1024.
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
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-789 · Memory Allocation with Excessive Size Value