Input: MT - limit max slots
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 38e7afe96c7c0ad900824911c61fdb04078033dc · < 8f04edd554d191834e9e1349ef030318ea6b11ba| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: MT - limit max slots
syzbot is reporting too large allocation at input_mt_init_slots(), for num_slots is supplied from userspace using ioctl(UI_DEV_CREATE).
Since nobody knows possible max slots, this patch chose 1024.
From the CVE record · Linux
The Linux kernel can attempt an excessively large allocation when initializing multitouch input slots because the slot count is supplied by userspace through ioctl(UI_DEV_CREATE). A local user can trigger this behavior by supplying a large slot count; the input does not specify any authentication requirement or further impact.
Engineers running the Linux kernel should check their kernel versions against the vendor advisory; affected versions are not specified.