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 1AE3D3A9624 for ; Wed, 3 Jun 2026 15:51:38 +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=1780501899; cv=none; b=ciLNyFqvDzvzIHLbhou1xyJY7avRPMH7sygwnKXSiuNoFYVk26x9z0QTEJksFGncTUgh0uVTYyTxX7gP6BBzemathZbKhuhBnEPbltyuADv6fTc1ap9t80bgPwITGImzWHKpj5eubbh8/dZLgGzmwQOTN5tZEAptMJSHRDFNC9w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501899; c=relaxed/simple; bh=xeEbzmV4NWibg6DWUZz3mI+VfZuIg2vSmtHe7vs1g6U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ao5uf2Im4QsGj2ugi0wh0nV9cUrGsZEJWwTdpdqQUup+ULX5udIlr06cTrekgmX6niqjqaV6yQbvJB8T9/ybSoTTbudGgG6ZJJpV5TOZ2dWhshwUAGHA+Gkvio/CJ+EnsXccWOmMwQTwkHQDP3If7EPk4MLdopB1EtVh5fZNF2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JjDTK3LI; 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="JjDTK3LI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CFEC1F00893; Wed, 3 Jun 2026 15:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501898; bh=6R7V8tJHPbgD8Z0i1GpbY1PUTZ2LyqewKUcnRq3iZe8=; h=From:To:Cc:Subject:Date:Reply-To; b=JjDTK3LI+aDfLxEHMpqBQZYegVSSFmPaI+AMSzueoq/QFlr7b8tl1D9b9PV60O6S5 YzbqnaPsqgI3gHf2jYbVLwPSFB5mpStniKjQrdjpei0vcDVXLwKMkWj96fenFVeAo0 TIWIi5kz1SQBDRHd6w6Y5oiiJ3tSJ+tOIwUGEajo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46267: nfc: hci: shdlc: Stop timers and work before freeing context Date: Wed, 3 Jun 2026 17:49:56 +0200 Message-ID: <2026060338-CVE-2026-46267-5845@gregkh> X-Mailer: git-send-email 2.54.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=3428; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4sNxWZSu5uwOHlR3YnVzWUR6YMHH541JMc24Y8USCwQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKvkLBFX2vvJm2SzVtXSuyK3ipz62996LWS126VBf1e KOEpfi5jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIupcMc3jjOmW4fNr8T5sH XYnncLYPV1b+ybDg5LWNuTFV99fMvWy/taji8pTiSi5XAA== 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: nfc: hci: shdlc: Stop timers and work before freeing context llc_shdlc_deinit() purges SHDLC skb queues and frees the llc_shdlc structure while its timers and state machine work may still be active. Timer callbacks can schedule sm_work, and sm_work accesses SHDLC state and the skb queues. If teardown happens in parallel with a queued/running work item, it can lead to UAF and other shutdown races. Stop all SHDLC timers and cancel sm_work synchronously before purging the queues and freeing the context. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2026-46267 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 5.15.202 with commit c60f41022eaad2a1dafecd3ae6f249a3bd6d4b6e Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 6.1.165 with commit a24a676329d40481b2331bfa1418a679577dfd3a Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 6.6.128 with commit 77eef9f2eef045c3c37a3df82d3e661afb866b98 Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 6.12.75 with commit cf70cedce327833296ebe6043364d1e44b76a2ab Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 6.18.14 with commit 276820278e9717cc7d4bb32381892dd3ddf418d4 Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 6.19.4 with commit 1cb97b1225450af3f7b728777929ba50c6a58ced Issue introduced in 3.7 with commit 4a61cd6687fc6348d08724676d34e38160d6cf9b and fixed in 7.0 with commit c9efde1e537baed7648a94022b43836a348a074f 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-2026-46267 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: net/nfc/hci/llc_shdlc.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/c60f41022eaad2a1dafecd3ae6f249a3bd6d4b6e https://git.kernel.org/stable/c/a24a676329d40481b2331bfa1418a679577dfd3a https://git.kernel.org/stable/c/77eef9f2eef045c3c37a3df82d3e661afb866b98 https://git.kernel.org/stable/c/cf70cedce327833296ebe6043364d1e44b76a2ab https://git.kernel.org/stable/c/276820278e9717cc7d4bb32381892dd3ddf418d4 https://git.kernel.org/stable/c/1cb97b1225450af3f7b728777929ba50c6a58ced https://git.kernel.org/stable/c/c9efde1e537baed7648a94022b43836a348a074f