CVE-2024-46745
Input: uinput - reject requests with unreasonable number of slots
Reported by linux · Published September 18, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.111-120.187.amzn2023, 4.14.355-271.569.amzn2 |
| kernel-modules-extra | Amazon Linux | 6.1.111-120.187.amzn2023 |
| kernel-livepatch-6.1.111-120.187 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.111-120.187.amzn2023 |
| perf | Amazon Linux | 6.1.111-120.187.amzn2023, 4.14.355-271.569.amzn2 |
| kernel-livepatch-4.14.355-271.569 | Amazon Linux | 1.0-0.amzn2 |
| kernel | Amazon Linux | 6.1.111-120.187.amzn2023 |
| kernel-tools | Amazon Linux | 4.14.355-271.569.amzn2 |
| kernel-devel | Amazon Linux | 6.1.111-120.187.amzn2023 |
| linux_kernel | linux | 6.10.10, 6.6.51, 6.1.110, 5.15.167, 5.10.226, 5.4.284, 4.19.322 |
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family | Siemens | 3.2 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.2 |
2 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc |
| Linux | Linux | 2.6.36, 0, 4.19.322 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.111-120.187 | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-livepatch-4.14.355-271.569 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Linux | Linux | 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc |
| linux | linux_kernel | 2.6.36, 2.6.36, 2.6.36 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
…and 13 more
Timeline
- Sep 17, 2024 CVE Published
- Sep 19, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 4, 2026 Security Advisory (160 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (146 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-46745
vulnetix vdb fixes CVE-2024-46745
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46745/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html url
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html url