VDB

CVE-2024-46745

CVE-2024-46745 PUBLISHED

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.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.111-120.187.amzn2023, 4.14.355-271.569.amzn2
kernel-modules-extraAmazon Linux6.1.111-120.187.amzn2023
kernel-livepatch-6.1.111-120.187Amazon Linux1.0-0.amzn2023
kernel-libbpfAmazon Linux6.1.111-120.187.amzn2023
perfAmazon Linux6.1.111-120.187.amzn2023, 4.14.355-271.569.amzn2
kernel-livepatch-4.14.355-271.569Amazon Linux1.0-0.amzn2
kernelAmazon Linux6.1.111-120.187.amzn2023
kernel-toolsAmazon Linux4.14.355-271.569.amzn2
kernel-develAmazon Linux6.1.111-120.187.amzn2023
linux_kernellinux6.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 familySiemens3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.2

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc
LinuxLinux2.6.36, 0, 4.19.322
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.111-120.1870
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
amazon:2023kernel-libbpf0
amazon:2perf0
amazon:2kernel-livepatch-4.14.355-271.5690
amazon:2kernel-headers0
amazon:2023kernel0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2kernel-tools0
amazon:2023kernel-devel0
amazon:2023perf0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc, 38e7afe96c7c0ad900824911c61fdb04078033dc
linuxlinux_kernel2.6.36, 2.6.36, 2.6.36
amazon:2023python3-perf0
amazon:2023kernel-libbpf-devel0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›