CVE-2023-52884: Input: cyapa - add missing input core locking to suspend/resume functions
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 ]---
Other sources
In the Linux kernel, the following vulnerability has been resolved:
Input: cyapa - add missing input core locking to suspend/resume functions
The Linux kernel CVE team has assigned CVE-2023-52884 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062131-CVE-2023-52884-5b0d@gregkh/T
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52884?
CVE-2023-52884 is classified as a medium-severity vulnerability in the Linux kernel.
How do I fix CVE-2023-52884?
To fix CVE-2023-52884, you should update the Linux kernel to versions 5.15.161, 6.1.93, 6.6.33, 6.9.4, 6.10, or the specific patched versions from Debian.
What vulnerability does CVE-2023-52884 address?
CVE-2023-52884 addresses a locking issue in the input subsystem during suspend and resume functions in the Linux kernel.
Which Linux distributions are affected by CVE-2023-52884?
CVE-2023-52884 affects the Red Hat kernel and Debian linux packages, specifically the outlined versions.
Can CVE-2023-52884 be exploited remotely?
CVE-2023-52884 does not involve a remote exploit vector; it is more likely to be a local privilege escalation issue.