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.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024090452-CVE-2024-45008-1d89@gregkh/T