[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1762604516.git.duoming@zju.edu.cn>
Date: Sat, 8 Nov 2025 20:40:03 +0800
From: Duoming Zhou <duoming@....edu.cn>
To: linux-input@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
dmitry.torokhov@...il.com,
kuba@...nel.org,
alexander.deucher@....com,
pali@...nel.org,
hverkuil+cisco@...nel.org,
akpm@...ux-foundation.org,
andriy.shevchenko@...ux.intel.com,
tglx@...utronix.de,
mingo@...nel.org,
Jonathan.Cameron@...wei.com,
Duoming Zhou <duoming@....edu.cn>
Subject: [PATCH 0/2] Input: alps/psmouse: Fix UAF bugs and improve workqueue synchronization
This patch series addresses use-after-free bugs in the ALPS
touchpad driver and enhances workqueue handling efficiency
in the psmouse subsystem.
The first patch fixes a critical use-after-free race condition
in the ALPS driver where dev3_register_work could be scheduled
after the alps_data structure was already freed. This was caused
by insufficient synchronization during device disconnection,
where flush_workqueue() couldn't prevent subsequent work item
submissions.
The second patch optimizes the psmouse disconnect path by replacing
flush_workqueue() with disable_delayed_work_sync() for better
efficiency and robustness.
Duoming Zhou (2):
Input: alps - fix use-after-free bugs caused by dev3_register_work
Input: psmouse - Replace flush_workqueue() with
disable_delayed_work_sync()
drivers/input/mouse/alps.c | 1 +
drivers/input/mouse/psmouse-base.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--
2.34.1
Powered by blists - more mailing lists