---
id: CVE-2024-46745
title: |-
  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 s…
summary: |-
  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 s…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.322
  - 'linux_kernel >= 4.20, < 5.4.284'
  - 'linux_kernel >= 5.5, < 5.10.226'
  - 'linux_kernel >= 5.11, < 5.15.167'
  - 'linux_kernel >= 5.16, < 6.1.110'
  - 'linux_kernel >= 6.2, < 6.6.51'
  - 'linux_kernel >= 6.7, < 6.10.10'
  - linux_kernel = 6.11
patched:
  - linux_kernel 6.10.10
published: '2024-09-18'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:52.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-46745'
references:
  - url: 'https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00283
epssPercentile: 0.19458
ingestedAt: '2026-10-15T03:30:12.742Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-29T14:49:11.611047Z'
---

## Overview

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.

## Affected

- `linux_kernel < 4.19.322`
- `linux_kernel >= 4.20, < 5.4.284`
- `linux_kernel >= 5.5, < 5.10.226`
- `linux_kernel >= 5.11, < 5.15.167`
- `linux_kernel >= 5.16, < 6.1.110`
- `linux_kernel >= 6.2, < 6.6.51`
- `linux_kernel >= 6.7, < 6.10.10`
- `linux_kernel = 6.11`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.10.10`
