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 0D0E348124B for ; Thu, 2 Jul 2026 13:43:27 +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=1782999808; cv=none; b=TDiDEVbDXwFNUOF2GxDaHXJqKjvOC2vVq+UyD0UA9NXNbU3tJE2hrpnKGnE2wIG+6DZFo+VvXB406jqPZnj3FHkbWJugD72rsop7DA7MZPXWpHjsuyR5NkXDoLvpPfxIM/DNNv6A013y2cKtlo9XN008MD0JBgJZDyixYr4+MsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782999808; c=relaxed/simple; bh=499WV7DqH0onxOKIstvRRAU0BKuM6H3114JESUHDIB4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V6YTysgBm42RvOWbpkjaUpd0Llora0bINbfrcSh1wDiFT5gFhOGk+fLJHCD2Pi284I1TrYQjmspjRhMrsROMIO6rV4D0AJjh1Tc6e0ELrhqmDrKlyg5sIMTN6/DMD6iaAa8UZhhW884GR457NblrrTGA93F5Z/X+R2e11Z1BqlE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tOoJTgqr; 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="tOoJTgqr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77BB11F000E9; Thu, 2 Jul 2026 13:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782999806; bh=UdTIPm3JOn0uXRmqjsIY/DnWxbjcuq8Nk6ot5vDqiKQ=; h=From:To:Cc:Subject:Date:Reply-To; b=tOoJTgqrKDAEx7YTtwYaGFXubikFmujhIJUs5E4OS7UEb0b9hZMkosnXkBRHZc68T BKuMLTiub8PCvzQiwaThlndTA1TMd+SDR8/fbfo9wQoccxOS/Ht4AJRh+We9GsBKZk qRylyJApU4DcJ5nHhilr25ilc+o322VQ4nLsHbhw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53358: Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen() Date: Thu, 2 Jul 2026 15:43:36 +0200 Message-ID: <2026070236-CVE-2026-53358-6f81@gregkh> X-Mailer: git-send-email 2.55.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=4050; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rj5uO1Ey3gKxTtF/REPtCunnGnvOg455YJh9bNmz2Zs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlu2RzrDNRuaJhpeXemvczTsfLIl1/ZxrMxkfPT5E8cS Svenr3dEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPJ2MKwYMfmT3tKvQwUbIqd 1FUCKn7xzXrEyTCLeZNN7/sL5v/uPOdICM+K4tpsuCEDAA== 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: use chan timer to close channels in cleanup_listen() l2cap_chan_close() removes the channel from conn->chan_l, which must be done under conn->lock. cleanup_listen() runs under the parent sk_lock, so acquiring conn->lock would invert the established conn->lock -> chan->lock -> sk_lock order. Instead of calling l2cap_chan_close() directly, schedule l2cap_chan_timeout with delay 0 to close the channel asynchronously. The timeout handler already acquires conn->lock and chan->lock in the correct order. The timer is only armed when chan->conn is still set: if it is already NULL, l2cap_conn_del() has already processed this channel (l2cap_chan_del + l2cap_sock_teardown_cb + l2cap_sock_close_cb), so there is nothing left to do. If l2cap_conn_del() races in after the timer is armed, __clear_chan_timer() inside l2cap_chan_del() cancels it; if the timer has already fired, the handler returns harmlessly because chan->conn was cleared. The Linux kernel CVE team has assigned CVE-2026-53358 to this issue. Affected and fixed versions =========================== Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 5.10.259 with commit 3634cbdc2eb414b69ffa752ddbe5e0458518e321 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 5.15.210 with commit e1c100e2d61bd8c718b7d91fe3e050780a9bf72d Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 6.1.176 with commit deb8493a8fa599f6c95e2465b12bfdfb7f94a1d9 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 6.6.143 with commit 89dec92041717b027216e110599e4f6d6c921b79 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 6.12.93 with commit 50dfec218808b148ab4247b1858031b7a32015c5 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 6.18.35 with commit 859d3ace791ed878ae9ba5522c7844d960da8f88 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 7.0.12 with commit 7555fd885a0603f50e49a655850a1f2bd8a25398 Issue introduced in 3.4 with commit 3df91ea20e744344100b10ae69a17211fcf5b207 and fixed in 7.1 with commit 8c8e620467a7b51562dbcefbd1f09f288d7d710d 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-53358 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_sock.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/3634cbdc2eb414b69ffa752ddbe5e0458518e321 https://git.kernel.org/stable/c/e1c100e2d61bd8c718b7d91fe3e050780a9bf72d https://git.kernel.org/stable/c/deb8493a8fa599f6c95e2465b12bfdfb7f94a1d9 https://git.kernel.org/stable/c/89dec92041717b027216e110599e4f6d6c921b79 https://git.kernel.org/stable/c/50dfec218808b148ab4247b1858031b7a32015c5 https://git.kernel.org/stable/c/859d3ace791ed878ae9ba5522c7844d960da8f88 https://git.kernel.org/stable/c/7555fd885a0603f50e49a655850a1f2bd8a25398 https://git.kernel.org/stable/c/8c8e620467a7b51562dbcefbd1f09f288d7d710d