IM
IronMonkey Threat Research

CVE-2024-46745 MEDIUM

Published: 2024-09-18 | Last Modified: 2026-05-12 | Status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Input: uinput - reject requests with unreasonable number of slots When exercising uinput interface syzkaller may try setting up device with a really large number of slots, which causes memory allocation failure in input_mt_init_slots(). While this allocation failure is handled properly and request is rejected, it results in syzkaller reports. Additionally, such request may put undue burden on the system which will try to free a lot of memory for a bogus request. Fix it by limiting allowed number of slots to 100. This can easily be extended if we see devices that can track more than 100 contacts.

Additional Descriptions (1)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: uinput - rechazar solicitudes con un número irrazonable de ranuras Al ejercitar la interfaz uinput, syzkaller puede intentar configurar el dispositivo con un número realmente grande de ranuras, lo que provoca un error de asignación de memoria en input_mt_init_slots(). Si bien este error de asignación se maneja correctamente y la solicitud se rechaza, da como resultado informes de syzkaller. Además, dicha solicitud puede poner una carga indebida en el sistema que intentará liberar una gran cantidad de memoria para una solicitud falsa. Arréglelo limitando el número permitido de ranuras a 100. Esto se puede ampliar fácilmente si vemos dispositivos que pueden rastrear más de 100 contactos.

CVSS Metrics

Base Score: 5.5 (MEDIUM)

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

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactNONE
Integrity ImpactNONE
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 3.6

Weaknesses

Source Type Description
[email protected] Primary
en CWE-770

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x7fd36b778500> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36adbe2c0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd3686d3c80> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36adbc580> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd3686d2940> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd3686d1380> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd2dbf6ef00> Operating System
linux linux_kernel 6.11 <built-in method update of dict object at 0x7fd2dbf6f080> Operating System
linux linux_kernel 6.11 <built-in method update of dict object at 0x7fd3855a6d40> Operating System
linux linux_kernel 6.11 <built-in method update of dict object at 0x7fd3686d0980> Operating System
linux linux_kernel 6.11 <built-in method update of dict object at 0x7fd368ee7ec0> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*

References