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.
https://git.kernel.org/stable/c/cd19f1799c32ba7b874474b1b968815ce5364f73
https://git.kernel.org/stable/c/99d3bf5f7377d42f8be60a6b9cb60fb0be34dceb
https://git.kernel.org/stable/c/95f73d01f547dfc67fda3022c51e377a0454b505
https://git.kernel.org/stable/c/94736334b8a25e4fae8daa6934e54a31f099be43
https://git.kernel.org/stable/c/8f04edd554d191834e9e1349ef030318ea6b11ba
https://git.kernel.org/stable/c/87f610a1a7fbdb1f2e3d90b54c955bd3b8a0c322
https://git.kernel.org/stable/c/2829c80614890624456337e47320289112785f3e
https://git.kernel.org/stable/c/05dd9aabd04f9b5eb04dab9bb83d8c3e982d7549