diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-02 23:40:04 +0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-09-13 18:23:13 -0700 |
| commit | 309731e95917125bbd13626a7a5600490a5bf44f (patch) | |
| tree | fd38bfcbfc0b994e1249c69da0254dc78be8cd4f /net | |
| parent | 971fa7ea8621e123feb9c8d7dc61be1c656bd945 (diff) | |
| download | linux-stable-309731e95917125bbd13626a7a5600490a5bf44f.tar.gz linux-stable-309731e95917125bbd13626a7a5600490a5bf44f.zip | |
Input: hp_sdc - shut down kicker timer on module exit
hp_sdc_kicker() rearms hp_sdc.kicker with mod_timer() after scheduling the
tasklet. The module exit path uses timer_delete_sync(). That waits for a
callback already running but can still leave the timer rearmed.
A callback can therefore leave the timer pending while hp_sdc_exit() tears
down the driver, allowing timer activity to access dismantled driver state.
Use timer_shutdown_sync() for final teardown. It waits for a running
callback and prevents rearming after module exit begins.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Assisted-by: Codex:GPT-5
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patch.msgid.link/20260902154004.3595416-1-runyu.xiao@seu.edu.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
