Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E73AC5158A5 for ; Tue, 22 Sep 2026 15:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790089841; cv=none; b=NxWbBaxABJ92b+3igyOLynfqKjZPiwVefcoz/EogSfPkD7TL50JCys0p0OdNMbnMVhuOFjLMwg5COdwvbcmGWCS4rFUd9l/BXWYcmZviCWikOIia/A8dP2JVUSU/bAHPCheKxAaJ0ep+3mlGj6u9tu5ou9htKAWYCZYrTGUl2Yg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790089841; c=relaxed/simple; bh=E62SYDYqg5U+tTAwPZMru3hm366C8jT8/W7XMGy9GnA=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=XhXYs4yKsHe1dm+9qHAZi888O/IVDLdP11cbObsI5YWi7WGQz4NvIZhPNwXxAES5BsN/P5QVcuUDMneGTAWTTjJR5qi5K1ktIHTZgv1aapGTBGr78+BCGbH6CbsZmg/PTL1FYo+ylatTPYHZZt8t9DrrJrpt9oobbP1w8MBWUlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MVKoDogr; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MVKoDogr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC2171F000FF; Tue, 22 Sep 2026 15:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790089839; bh=9hgwWNxQmBRQdZ6GiO29WSfkQc5DA8v5QLnSbw2+3Bg=; h=Subject:To:Cc:From:Date; b=MVKoDogrD8UeAfUpHbESucgjjrjsLpHf2ijSoeSjBvKQfaoPyp1Z2NYNeVuODzF42 BGbrVRaN0wwEs45YfG8w7ojgGnvs1TOaj5nbIclhqJE6l4HIMiyfwK6Pm/ST96lrsS Q64rPdH3jFxoHaILBHJBtZPaYUniey84uXdV7UhM= Subject: FAILED: patch "[PATCH] Input: hp_sdc - shut down kicker timer on module exit" failed to apply to 5.10-stable tree To: runyu.xiao@seu.edu.cn,deller@gmx.de,dmitry.torokhov@gmail.com Cc: From: Date: Tue, 22 Sep 2026 16:53:16 +0200 Message-ID: <2026092216-pager-pacifism-6b92@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x 309731e95917125bbd13626a7a5600490a5bf44f # git commit -s git send-email --to '' --in-reply-to '2026092216-pager-pacifism-6b92@gregkh' --subject-prefix 'PATCH 5.10.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 309731e95917125bbd13626a7a5600490a5bf44f Mon Sep 17 00:00:00 2001 From: Runyu Xiao Date: Wed, 2 Sep 2026 23:40:04 +0800 Subject: [PATCH] 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 Acked-by: Helge Deller Link: https://patch.msgid.link/20260902154004.3595416-1-runyu.xiao@seu.edu.cn Signed-off-by: Dmitry Torokhov diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 1461ef319f92..ecf5347b63ab 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c @@ -981,7 +981,7 @@ static void hp_sdc_exit(void) free_irq(hp_sdc.irq, &hp_sdc); write_unlock_irq(&hp_sdc.lock); - timer_delete_sync(&hp_sdc.kicker); + timer_shutdown_sync(&hp_sdc.kicker); tasklet_kill(&hp_sdc.task);