In the Linux kernel, the following vulnerability has been resolved:
Input: cyapa - add missing input core locking to suspend/resume functions
Grab input->mutex during suspend/resume functions like it is done in other input drivers. This fixes the following warning during system suspend/resume cycle on Samsung Exynos5250-based Snow Chromebook:
------------[ cut here ]------------ WARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 inputdeviceenabled+0x68/0x6c Modules linked in: ... CPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109 Hardware name: Samsung Exynos (Flattened Device Tree) Workqueue: eventsunbound asyncrunentryfn unwindbacktrace from showstack+0x10/0x14 showstack from dumpstacklvl+0x58/0x70 dumpstacklvl from _warn+0x1a8/0x1cc _warn from warnslowpathfmt+0x18c/0x1b4 warnslowpathfmt from inputdeviceenabled+0x68/0x6c inputdeviceenabled from cyapagen3setpowermode+0x13c/0x1dc cyapagen3setpowermode from cyapareinitialize+0x10c/0x15c cyapareinitialize from cyaparesume+0x48/0x98 cyaparesume from dpmruncallback+0x90/0x298 dpmruncallback from deviceresume+0xb4/0x258 deviceresume from asyncresume+0x20/0x64 asyncresume from asyncrunentryfn+0x40/0x15c asyncrunentryfn from processscheduledworks+0xbc/0x6a8 processscheduledworks from workerthread+0x188/0x454 workerthread from kthread+0x108/0x140 kthread from retfromfork+0x14/0x28 Exception stack(0xf1625fb0 to 0xf1625ff8) ... ---[ end trace 0000000000000000 ]--- ... ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1680 at drivers/input/input.c:2291 inputdeviceenabled+0x68/0x6c Modules linked in: ... CPU: 1 PID: 1680 Comm: kworker/u4:12 Tainted: G W 6.6.0-rc5-next-20231009 #14109 Hardware name: Samsung Exynos (Flattened Device Tree) Workqueue: eventsunbound asyncrunentryfn unwindbacktrace from showstack+0x10/0x14 showstack from dumpstacklvl+0x58/0x70 dumpstacklvl from _warn+0x1a8/0x1cc _warn from warnslowpathfmt+0x18c/0x1b4 warnslowpathfmt from inputdeviceenabled+0x68/0x6c inputdeviceenabled from cyapagen3setpowermode+0x13c/0x1dc cyapagen3setpowermode from cyapareinitialize+0x10c/0x15c cyapareinitialize from cyaparesume+0x48/0x98 cyaparesume from dpmruncallback+0x90/0x298 dpmruncallback from deviceresume+0xb4/0x258 deviceresume from asyncresume+0x20/0x64 asyncresume from asyncrunentryfn+0x40/0x15c asyncrunentryfn from processscheduledworks+0xbc/0x6a8 processscheduledworks from workerthread+0x188/0x454 workerthread from kthread+0x108/0x140 kthread from retfromfork+0x14/0x28 Exception stack(0xf1625fb0 to 0xf1625ff8) ... ---[ end trace 0000000000000000 ]---