{"id":"CVE-2024-46745","aliases":["CVE-2024-46745"],"related":[],"kind":"vulnerability","state":"published","title":"Input: uinput - reject requests with unreasonable number of slots","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: uinput - reject requests with unreasonable number of slots\n\n\nWhen exercising uinput interface syzkaller may try setting up device\nwith a really large number of slots, which causes memory allocation\nfailure in input_mt_init_slots(). While this allocation failure is\nhandled properly and request is rejected, it results in syzkaller\nreports. Additionally, such request may put undue burden on the\nsystem which will try to free a lot of memory for a bogus request.\n\nFix it by limiting allowed number of slots to 100. This can easily\nbe extended if we see devices that can track more than 100 contacts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: uinput - reject requests with unreasonable number of slots\n\n\nWhen exercising uinput interface syzkaller may try setting up device\nwith a really large number of slots, which causes memory allocation\nfailure in input_mt_init_slots(). While this allocation failure is\nhandled properly and request is rejected, it results in syzkaller\nreports. Additionally, such request may put undue burden on the\nsystem which will try to free a lot of memory for a bogus request.\n\nFix it by limiting allowed number of slots to 100. This can easily\nbe extended if we see devices that can track more than 100 contacts.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: uinput - rechazar solicitudes con un número irrazonable de ranuras Al ejercitar la interfaz uinput, syzkaller puede intentar configurar el dispositivo con un número realmente grande de ranuras, lo que provoca un error de asignación de memoria en input_mt_init_slots(). Si bien este error de asignación se maneja correctamente y la solicitud se rechaza, da como resultado informes de syzkaller. Además, dicha solicitud puede poner una carga indebida en el sistema que intentará liberar una gran cantidad de memoria para una solicitud falsa. Arréglelo limitando el número permitido de ranuras a 100. Esto se puede ampliar fácilmente si vemos dispositivos que pueden rastrear más de 100 contactos.","source":"nvd"}],"published":"2024-09-18T07:12:05.798Z","modified":"2026-10-15T01:18:52.633Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"597ff930296c4c8fc6b6a536884d4f1a7187ec70","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"51fa08edd80003db700bdaa099385c5900d27f4b","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"9719687398dea8a6a12a10321a54dd75eec7ab2d","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"61df76619e270a46fd427fbdeb670ad491c42de2","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"a4858b00a1ec57043697fb935565fe267f161833","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7","status":"affected"},{"type":"git","introduced":"38e7afe96c7c0ad900824911c61fdb04078033dc","fixed":"206f533a0a7c683982af473079c4111f4a0f9f5e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"4.19.322","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.284","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.226","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.167","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.110","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.51","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.10","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.19.322"},{"status":"affected","introduced":"4.20","fixed":"5.4.284"},{"status":"affected","introduced":"5.5","fixed":"5.10.226"},{"status":"affected","introduced":"5.11","fixed":"5.15.167"},{"status":"affected","introduced":"5.16","fixed":"6.1.110"},{"status":"affected","introduced":"6.2","fixed":"6.6.51"},{"status":"affected","introduced":"6.7","fixed":"6.10.10"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T14:49:11.611Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46745","url":"https://www.cve.org/CVERecord?id=CVE-2024-46745","licence":"CVE Terms of Use","modified":"2026-10-15T00:50:34.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46745","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46745","licence":"Public domain","modified":"2026-10-15T01:18:52.633Z"}],"updatedAt":"2026-11-25T22:58:45.551Z","epss":{"score":0.00285,"percentile":0.22636,"date":"2026-12-01T12:00:22.000Z"}}