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 C6886391E4B for ; Tue, 22 Sep 2026 15:10:35 +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=1790089836; cv=none; b=C0x5NXr2hrxAmnxKwGLx1hAn/sBQIruoRZaKqp/yhxpuqqxqR6HlYT1NOGEQ9ADOjzR+LV6ofq2VJ88lB8WxGOaE0eG2mmgzf2OXC/+KrGSYLjCSw9XwCqAl/Z9cKL8xzn1506MqyXUBshiIbptLwtRHTy2oSi+tTKzQjRp4sX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790089836; c=relaxed/simple; bh=F5YyWXE73UKKaqVufjQGOXc1bvrswjqKIwQ8c7q3Rvo=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=dUOHrVyIcOofbvrjdBWw0JPAKuFLY5/0plvBQ0ShlrACg5m0cfkj4+/k5m3i+DZ9MCS5/PcBcmRVzDanLHWMT+beyt/TdkEPy+2RO8RlKqGhyArAkU8LU2D+6hVPVlHKkzYP7Mrpz28AVgwJW6vP6+PE3y6ebeIYQfPNbh/ZYOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wXHJC0xq; 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="wXHJC0xq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C00841F000FF; Tue, 22 Sep 2026 15:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790089835; bh=cijHauI/g0h3jAZ9lGjyJorAm0b78+9JbyLelJsPSUI=; h=Subject:To:Cc:From:Date; b=wXHJC0xqX3SzKsrFsmAhen8AT5PiFgAD/YGWhU6FS7XdWn5i6h+CMtOg48Kvl1vnG OQ3OMhN4XsvkkZci/nQpm07a8xOiXzM0Z0sGcORqTLTc7ivYuwtDsLZyRQr+P7KkW9 a6yzMxOGwePDI1EbD2Et4gA2tgKgZKB6EK4zL+/U= Subject: FAILED: patch "[PATCH] Input: hp_sdc - shut down kicker timer on module exit" failed to apply to 6.1-stable tree To: runyu.xiao@seu.edu.cn,deller@gmx.de,dmitry.torokhov@gmail.com Cc: From: Date: Tue, 22 Sep 2026 16:53:15 +0200 Message-ID: <2026092214-enrage-retold-f773@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 6.1-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-6.1.y git checkout FETCH_HEAD git cherry-pick -x 309731e95917125bbd13626a7a5600490a5bf44f # git commit -s git send-email --to '' --in-reply-to '2026092214-enrage-retold-f773@gregkh' --subject-prefix 'PATCH 6.1.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);