CVE-2024-46745
Input: uinput - reject requests with unreasonable number of slots
Check your servers for CVE-2024-46745
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-46745 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 597ff930296c4c8fc6b6a536884d4f1a7187ec70 affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 51fa08edd80003db700bdaa099385c5900d27f4b affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 9719687398dea8a6a12a10321a54dd75eec7ab2d affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 61df76619e270a46fd427fbdeb670ad491c42de2 affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before a4858b00a1ec57043697fb935565fe267f161833 affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7 affected from 38e7afe96c7c0ad900824911c61fdb04078033dc, before 206f533a0a7c683982af473079c4111f4a0f9f5e
Other versions: unaffected
|
| Linux |
affected 2.6.36 unaffected before 2.6.36 unaffected from 4.19.322 up to and including 4.19.* unaffected from 5.4.284 up to and including 5.4.* unaffected from 5.10.226 up to and including 5.10.* unaffected from 5.15.167 up to and including 5.15.* unaffected from 6.1.110 up to and including 6.1.* unaffected from 6.6.51 up to and including 6.6.* unaffected from 6.10.10 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-46745 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-46745
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-46745
trivy image --scanners vuln IMAGE | grep CVE-2024-46745
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b git.kernel.org
- https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70 git.kernel.org
- https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b git.kernel.org
- https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d git.kernel.org
- https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2 git.kernel.org
- https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833 git.kernel.org
- https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7 git.kernel.org
- https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-46745 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse