CVE-2024-46745
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-770CVE-2024-46745 is classified as CWE-770
See CWE-770 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
2.6.36
and later are affected. Fixed in
4.19.322,
5.4.284,
5.10.226,
5.15.167,
6.1.110,
6.6.51,
6.10.10,
6.11
and their respective stable series.
References
The following references provide additional information about CVE-2024-46745 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70
Frequently asked questions
-
What is CVE-2024-46745?
CVE-2024-46745 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 2.6.36 onward and has been patched in 4.19.322, 5.4.284, 5.10.226 and others. CVE-2024-46745 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-46745?
CVE-2024-46745 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-46745?
Yes — CVE-2024-46745 has been patched. Fixed versions include 4.19.322, 5.4.284, 5.10.226 and others. If you are running Linux kernel 2.6.36 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-46745 actively exploited?
No — CVE-2024-46745 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.