Input: uinput - reject requests with unreasonable number of slots
Summary
| CVE | CVE-2024-46745 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-09-18 08:15:03 UTC |
| Updated | 2026-05-12 12:17:11 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-770
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 597ff930296c4c8fc6b6a536884d4f1a7187ec70 git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 51fa08edd80003db700bdaa099385c5900d27f4b git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 9719687398dea8a6a12a10321a54dd75eec7ab2d git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 61df76619e270a46fd427fbdeb670ad491c42de2 git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc a4858b00a1ec57043697fb935565fe267f161833 git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7 git | Not specified |
| CNA | Linux | Linux | affected 38e7afe96c7c0ad900824911c61fdb04078033dc 206f533a0a7c683982af473079c4111f4a0f9f5e git | Not specified |
| CNA | Linux | Linux | affected 2.6.36 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.36 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.322 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.284 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.226 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.167 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.110 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.51 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.10 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.2 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | affected V3.2 custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.2 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/10/msg00003.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| cert-portal.siemens.com/productcert/html/ssa-355557.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.