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 5809126E718 for ; Wed, 22 Apr 2026 13:58:21 +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=1776866301; cv=none; b=BtfIAt2E9bsdtiqp7xXi4H+wV8/BdRKIvWPLvjLA+iXq1wcrvuWITneJapfXSGWN/Y1VkHUWOWqtRdOyOuZcVImsMh5ZIcSPxHf4pY9ixHLx186M5J91y1TAxTILlZtlWEWRXAlM2cE+hVH9O0vqUHTDiMh1zeQr9q/PX/o5b5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866301; c=relaxed/simple; bh=cLc0bomXsq08D3Toc3grwKeGXwO7HdO19y5hZfSa7ps=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HX/c+aPC6RIYHSxOw8mhAgC3QSY8+RBc4TuzJ44h2gMolf29jtyJlzNWStkn5KG8rFhy6X2JfLoSoyfPsaKvjBNvDzX1gOeVCOBFFoIObosudnH5L4crFB+tBcnUPAxeKU9EKYJY4KEBZ2+YJKk8dFWTv60kNA7Gu2S5s8BTpWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C6Ug1Feq; 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="C6Ug1Feq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E16EDC19425; Wed, 22 Apr 2026 13:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866301; bh=cLc0bomXsq08D3Toc3grwKeGXwO7HdO19y5hZfSa7ps=; h=From:To:Cc:Subject:Date:Reply-To:From; b=C6Ug1FeqWixcwYaexBnb2c0tR5+0E4DyClNNUP75/5jhh8DI6Zh/b+16S0p6yy3LJ yKvmEdf+H8Ka7UJt7DQUi3gRaMHJHX5G7vT8xz9sDVxehrQp2JTtNrNQYUuz02eT8E kSiHd+8sBLBjhO8xiRHC/uWJ4qzDb3zFLZtPAhRM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31499: Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del() Date: Wed, 22 Apr 2026 15:54:45 +0200 Message-ID: <2026042204-CVE-2026-31499-0142@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=2789; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rgwoPNC5WJS9RHMqVl2R0xe01R8XNetoocxJa9pr1mc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLv1xc9uz7OMTWatW94+ZFs8Sbry6pZEmtum2ZoLj0 c1TP65p6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJxGxmWLAmVPl45Zdl90On 873cUVaVWB9bZwIU3R+63HZTVFjpvPk3di6a1fzkYug3AA== 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: Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del() l2cap_conn_del() calls cancel_delayed_work_sync() for both info_timer and id_addr_timer while holding conn->lock. However, the work functions l2cap_info_timeout() and l2cap_conn_update_id_addr() both acquire conn->lock, creating a potential AB-BA deadlock if the work is already executing when l2cap_conn_del() takes the lock. Move the work cancellations before acquiring conn->lock and use disable_delayed_work_sync() to additionally prevent the works from being rearmed after cancellation, consistent with the pattern used in hci_conn_del(). The Linux kernel CVE team has assigned CVE-2026-31499 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 6.18.21 with commit 3f26ecbd9cde621dd94be7ef252c7210b965a5c7 Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 6.19.11 with commit d008460de352e534f6721de829b093368564ec66 Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 7.0 with commit 00fdebbbc557a2fc21321ff2eaa22fd70c078608 Issue introduced in 6.6.84 with commit efc30877bd4bc85fefe98d80af60fafc86e5775e Issue introduced in 6.12.20 with commit f87271d21dd4ee83857ca11b94e7b4952749bbae Issue introduced in 6.13.8 with commit 18ab6b6078fa8191ca30a3065d57bf35d5635761 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-31499 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/bluetooth/l2cap_core.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/3f26ecbd9cde621dd94be7ef252c7210b965a5c7 https://git.kernel.org/stable/c/d008460de352e534f6721de829b093368564ec66 https://git.kernel.org/stable/c/00fdebbbc557a2fc21321ff2eaa22fd70c078608