Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 96C14302151 for ; Tue, 13 Jan 2026 15:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318364; cv=none; b=DsVW2YTL9fAnfOnxBjNmbm5iePOvwZEQiCJ2pkQhYXuMVVYUWAoD/9lTpli+bPGrN6wUR2t3zO+TSa8TFHQ+0mTsEdHjvCmskPoUfm5w8dyiIs8nfJPXxoWmohnB2PnhDZ2u8NUp/uRgqXfiJ3rx7W87KtNeQzH9eaWkdW1yH24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318364; c=relaxed/simple; bh=H4DmhNTOmWdIKlt4yPsNlAk8yYHPD8PV3AcHvm1a3CQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TghJ30g3AKNu0p6V1ivEgsMXYKxjVXpFppyBnq4s+1X04Z6TfcZbQAy/RCALyJ20j6XKxCyCpU5YFWK1UaZu++Zn7kIZoK9quMLQjqne/VIiqTIQxBTtLSbr/BlMczYvHal92SqSu8HUKFxWLUAp2a2JyeJOeEy8yWa/Dli7fYs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LbLhEBPM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LbLhEBPM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AF47C19421; Tue, 13 Jan 2026 15:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318364; bh=H4DmhNTOmWdIKlt4yPsNlAk8yYHPD8PV3AcHvm1a3CQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=LbLhEBPMPoAUQVDQHOnBOkDAtFjG9nktvbe3EcZK3wqIDzWd6B43WVV3pNzWyf75M kJaB1/dz0UKZUg3p+GGgLmAtbx9+e/Y842mwzhKvJqWD7Q1SGTRijQct7BsTunodaW uaVg91dPRxt1HZ3Pd8PjCublm+sh1E8jC6wHILDA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71073: Input: lkkbd - disable pending work before freeing device Date: Tue, 13 Jan 2026 16:31:31 +0100 Message-ID: <2026011325-CVE-2025-71073-b002@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yPruZYn8lFcn8Iycv85tjYmGMMX+x0iplFCam4TZ/9I=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpqb7RB2b3VO7f3jr9+JOIC77rD7bqT0r1Or76va1R6 ScvlgiljlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIzXWG+R46svkCh7/rrV2d vdh0r2f39JDzRxnmWRYsk/x77U76tmWTL3+tf+lTe8r4NQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: Input: lkkbd - disable pending work before freeing device lkkbd_interrupt() schedules lk->tq via schedule_work(), and the work handler lkkbd_reinit() dereferences the lkkbd structure and its serio/input_dev fields. lkkbd_disconnect() and error paths in lkkbd_connect() free the lkkbd structure without preventing the reinit work from being queued again until serio_close() returns. This can allow the work handler to run after the structure has been freed, leading to a potential use-after-free. Use disable_work_sync() instead of cancel_work_sync() to ensure the reinit work cannot be re-queued, and call it both in lkkbd_disconnect() and in lkkbd_connect() error paths after serio_open(). The Linux kernel CVE team has assigned CVE-2025-71073 to this issue. Affected and fixed versions =========================== Fixed in 6.12.64 with commit 3a7cd1397c209076c371d53bf39a55c138f62342 Fixed in 6.18.3 with commit cffc4e29b1e2d44ab094cf142d7c461ff09b9104 Fixed in 6.19-rc2 with commit e58c88f0cb2d8ed89de78f6f17409d29cfab6c5c Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71073 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/input/keyboard/lkkbd.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3a7cd1397c209076c371d53bf39a55c138f62342 https://git.kernel.org/stable/c/cffc4e29b1e2d44ab094cf142d7c461ff09b9104 https://git.kernel.org/stable/c/e58c88f0cb2d8ed89de78f6f17409d29cfab6c5c