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 23CAD4AE130 for ; Thu, 17 Sep 2026 16:14:11 +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=1789661653; cv=none; b=hF+4nkhy4x1m7/34bGQAEK+MXU8vyZ+Q3KsIluLI4yU5Z6G2wukITuG7jKKRqJ6fbjbQiekjBgLf/vXQS9UeGwCCh9ZrDLyAHRYAk/hBhonCeXZ+fuh0TJ6iqRWEB+YCZix1llctlhYyLyg5k0oq/vXkvmFR7e0A/BOTGZEqUMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661653; c=relaxed/simple; bh=Hs72NNnckxe/axWz1y0XinzGneGV+aTqtq6w/ZsezOA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fdhNUisbdggOSVkK3ig5hs5+qn5RCZi7vhzchNdSp3LQQ30uT62jySvZZGn7ELTaFib/STUJuQmTVeRNu7DQEQBBOM8LcsBBrLE6MULhW6sif58KIB5Kdzy7Jn1BAtOH9vpLvyjPCpXmHEhZonbTQbCyU4SsWt6IE9uoh5zg/LQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tPzi6Mpj; 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="tPzi6Mpj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5622F1F000FF; Thu, 17 Sep 2026 16:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661650; bh=Sx+yKBu26YC1X6qNVkiY5RP6ix9D19Rnd1NML/dS3Ew=; h=From:To:Cc:Subject:Date:Reply-To; b=tPzi6MpjRPw3leTeWnJP3FCPWcmwFbPx/4XE+d/6yl+a01sgyiK/mIN1P96YW2+el tN9eFF7dFp16cqV4e0+VeEyS26HPBa4Yny9GB684CxKnwbU+e3OqKEpYFOuKNWlbgi da9jZmqQNCfSbaHdG3BaJMYboxqyZ5vU0P2w0y8E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90093: Bluetooth: L2CAP: access chan->conn safely in get/setsockopt Date: Thu, 17 Sep 2026 17:08:43 +0100 Message-ID: <2026091711-CVE-2026-90093-42b4@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=2938; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZNCorPlUjXmzeazTDx8TxOEDNzDS/aUWgh+AXJMg8ec=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBLLfmEhpMpUFSTryGf6pKEkN6y2xNpn6QFPlSnbK6 /8/MxZ0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwES2/GVY0LMqtuXEnehV6WnN e5iUPn+7Eb9YnGHBYb+gt0/N+ZzYuIL/ZrZtua3/Xm4HAA== 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: access chan->conn safely in get/setsockopt Since commit b66774b48dd9 ("Bluetooth: L2CAP: Fix UAF in channel timeout by holding conn ref") l2cap_chan::conn has held reference and remains non-NULL also after the corresponding hci_conn is deleted. In this state accessing various fields eg. hci_conn::hdev is invalid, which leads to KASAN crash in l2cap_sock_setsockopt() access of conn->hcon->hdev. Check l2cap_chan::conn.hcon corresponds to an alive hci_conn before trying to use it in l2cap_sock.c. Hold l2cap_chan_lock() in getsockopt/setsockopt to ensure it stays alive, and to avoid data races in l2cap_chan fields. The Linux kernel CVE team has assigned CVE-2026-90093 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit b66774b48dd98f07254951f74ea6f513efe7ff8b and fixed in 7.2.6 with commit f49321c85785178214fd67f2e9b4b73d6363783b Issue introduced in 7.2 with commit b66774b48dd98f07254951f74ea6f513efe7ff8b and fixed in 7.3-rc1 with commit ca2c4c26498643f421d35ffe258fafbd3ed461c3 Issue introduced in 5.10.265 with commit 8f90405a4a6f1f1880dc07996b47bf57c712bd8a Issue introduced in 5.15.216 with commit 32d783cafb46ff3ca58e6f9fd62c9c5f35eaf26b Issue introduced in 6.1.183 with commit 8922c7940bae9ce4b1736dddb6362370793835c2 Issue introduced in 6.6.145 with commit 91047a4396a8b1857a6f712a90cf33ec0012b189 Issue introduced in 6.12.97 with commit 0b0e2bf39cf99e458d991b9df253727e036a7d7d Issue introduced in 6.18.39 with commit d3b739db5dc6f688a60d56da872fabaf65246032 Issue introduced in 7.1.4 with commit 50c38d9f42a529691e4e67ea9cedf4f0bfc8d277 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-90093 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/f49321c85785178214fd67f2e9b4b73d6363783b https://git.kernel.org/stable/c/ca2c4c26498643f421d35ffe258fafbd3ed461c3