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 41D0655295D for ; Tue, 22 Sep 2026 15:10:28 +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=1790089830; cv=none; b=FQ91xq5Nh7UsMkavCjHjxZOoaK8biJA1+kTD/20Q63UdAmEQ+WExREv62VonhgHoz01uUgB8QG5WT0e4fgyDLgrMQCsyOCChXY0/oslCedBFpUFhiqMxy3taYE2SaeFbCGUsx1uLQHqD81QBhPCz8W8BANyLFpWU5ck1J6IMp0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790089830; c=relaxed/simple; bh=lyMJqKwpKpCYPKlucGOdqfhy0TnTyYommPfOuRu7Jos=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Aq2Mt+XIJaWKxig0hwlUk/bKt09A4+HHj5p+5ArQdgZ+MFeIb0m9pw0drSejHlF+AIUIG/Z/TJTEkWKrYrVsqHg+FbPjVhvpkjGlzF2GzL6Ij/hhSBnqA4+7qVVNUaD/qZcndHRaGekeJTap2E+nJpeelvwUtha9N9Jyp31LfjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TxmId8PD; 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="TxmId8PD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E7C41F000FF; Tue, 22 Sep 2026 15:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790089827; bh=3Re31uWdHmkHS9BqbdaHAhntO3tXfRLWX8YzzVs/XwU=; h=Subject:To:Cc:From:Date; b=TxmId8PDrVeTSPGZcrv1Wbo6uFjxyg2jsH8vC+NqpoGsyCnQUyvzF4XXWbot1B4nP NUZ53+cI9ogPY6FyZOjNgueSxki7cVHi0qtXLHCuCFmd2zl1BN4M4c7BMrY1tayEA6 /gK2uE0CkcpcOTp8WvjIiLRIiIr4+05T044r3nwU= Subject: FAILED: patch "[PATCH] Input: hp_sdc - shut down kicker timer on module exit" failed to apply to 6.6-stable tree To: runyu.xiao@seu.edu.cn,deller@gmx.de,dmitry.torokhov@gmail.com Cc: From: Date: Tue, 22 Sep 2026 16:53:14 +0200 Message-ID: <2026092214-backpedal-genetics-2368@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.6-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.6.y git checkout FETCH_HEAD git cherry-pick -x 309731e95917125bbd13626a7a5600490a5bf44f # git commit -s git send-email --to '' --in-reply-to '2026092214-backpedal-genetics-2368@gregkh' --subject-prefix 'PATCH 6.6.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);