# CVE-2024-46745: Input: uinput - reject requests with unreasonable number of slots

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-09-18T07:12:05.798Z
- Modified: 2026-10-15T01:18:52.633Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 38e7afe96c7c0ad900824911c61fdb04078033dc before 9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b; from 38e7afe96c7c0ad900824911c61fdb04078033dc before 597ff930296c4c8fc6b6a536884d4f1a7187ec70; from 38e7afe96c7c0ad900824911c61fdb04078033dc before 51fa08edd80003db700bdaa099385c5900d27f4b; from 38e7afe96c7c0ad900824911c61fdb04078033dc before 9719687398dea8a6a12a10321a54dd75eec7ab2d; from 38e7afe96c7c0ad900824911c61fdb04078033dc before 61df76619e270a46fd427fbdeb670ad491c42de2; from 38e7afe96c7c0ad900824911c61fdb04078033dc before a4858b00a1ec57043697fb935565fe267f161833; from 38e7afe96c7c0ad900824911c61fdb04078033dc before d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7; from 38e7afe96c7c0ad900824911c61fdb04078033dc before 206f533a0a7c683982af473079c4111f4a0f9f5e; 2.6.36 (not affected: before 2.6.36; from 4.19.322 up to 4.19.*; from 5.4.284 up to 5.4.*; from 5.10.226 up to 5.10.*; from 5.15.167 up to 5.15.*; from 6.1.110 up to 6.1.*; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 4.19.322; from 4.20 before 5.4.284; from 5.5 before 5.10.226; from 5.11 before 5.15.167; from 5.16 before 6.1.110; from 6.2 before 6.6.51; from 6.7 before 6.10.10; 6.11

## References

- <https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b> (patch)
- <https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70> (patch)
- <https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b> (patch)
- <https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d> (patch)
- <https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2> (patch)
- <https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833> (patch)
- <https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7> (patch)
- <https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-46745](https://www.cve.org/CVERecord?id=CVE-2024-46745), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-46745](https://nvd.nist.gov/vuln/detail/CVE-2024-46745), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-46745 · Whole record: https://cve.day/CVE-2024-46745.json · Rebuilt by cve.day 2026-11-25T22:58:45.551Z
