Input: uinput - reject requests with unreasonable number of slots
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.322, 5.10.226, 5.15.167, 5.4.284, 6.1.110, 6.10.10, 6.6.51
- CVEs
- CVE-2024-46745
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:01 UTC · Revision 1
Source evidence
Input: uinput - reject requests with unreasonable number of slots
core-osv · Original sourcePublished 18 Sept 2024, 07:12 UTC
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.
osv:CVE-2024-46745
Kernel
Fixed versions: 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, 6.6.51, 6.10.10
Complete source record
{
"id": "cc565111c51d1859d9111e0f34caf1cad57279f06e47ba8f71e7b73f0ea2304e",
"url": "https://osv.dev/vulnerability/CVE-2024-46745",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Input: uinput - reject requests with unreasonable number of slots",
"summary": "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.",
"evidence": "osv:CVE-2024-46745",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.322",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.284",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.226",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.167",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.51",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-46745",
"aliases": [
"CVE-2024-46745"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "38e7afe96c7c0ad900824911c61fdb04078033dc"
},
{
"fixed": "9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b"
},
{
"fixed": "597ff930296c4c8fc6b6a536884d4f1a7187ec70"
},
{
"fixed": "51fa08edd80003db700bdaa099385c5900d27f4b"
},
{
"fixed": "9719687398dea8a6a12a10321a54dd75eec7ab2d"
},
{
"fixed": "61df76619e270a46fd427fbdeb670ad491c42de2"
},
{
"fixed": "a4858b00a1ec57043697fb935565fe267f161833"
},
{
"fixed": "d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7"
},
{
"fixed": "206f533a0a7c683982af473079c4111f4a0f9f5e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46745.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.36"
},
{
"fixed": "4.19.322"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.284"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.226"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.167"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.110"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46745.json"
}
}
],
"modified": "2026-10-28T02:30:48.855215117Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://cert-portal.siemens.com/productcert/html/ssa-355557.html",
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e",
"https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b",
"https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70",
"https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2",
"https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d",
"https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b",
"https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833",
"https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7",
"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46745.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46745",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46745.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46745",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 516818,
"published_at": "2024-09-18T07:12:05.798+00:00"
}