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 9B3AB499F1A for ; Fri, 25 Sep 2026 10:40:43 +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=1790332844; cv=none; b=k+lK0SvjwTnofbSvm/uE5kLeZmISHPJFSWdf6Bg7X9UggIGkV3Wjo1mahtw7PaxWEhIjasqdnJ6txEfX3n9nvOTP3hUYHpMKAdnp67XyQuntxu4MrI3/xrVky9b43X4Z46w6PrPEdEvHFw0gLyjlbK3m47U32mw4f5ts3GSRFiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332844; c=relaxed/simple; bh=scxtOgQkxhaYRNMmWWyDAAPZtzWYEZkQzJ17CvqEhmg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BdIPpPJKXxdBJmulCzo4n01AvFrmLY/tmiXJLw1rq36Lop1dAo2ZswubKfn/pjTn2rsJA8vaXI8FeTzyg5C+RuI9QthQ/Et7jpvuluiw8zdfaPyLxb4KHAAgngFzgX1m2QrUcjjhueddI7jHGPgAF023lhhPTIsiIEXd62ARoJU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wc6Jxtk3; 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="wc6Jxtk3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE71F1F000FF; Fri, 25 Sep 2026 10:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332843; bh=sfxvGEugl3v0o36Q56X1wPgK/tOqL7qVeXAiAHPK02k=; h=From:To:Cc:Subject:Date:Reply-To; b=wc6Jxtk3KJI7kObV1KysLTnFQRcBHqvddzRt/cdaeOwRfkVsDe6uzqXPg2lkCkdPF l3KtCwHuQ+93Ir+nSY41OnKwcctW/5ZwAK0A4QCWzmdtZf3x8uVhb1D9bFTXzR6YV1 Z+kV9HgHw6wINjXrYWQYNj3xJMgQvHRh0yrW16Zc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98108: Bluetooth: L2CAP: fix chan mode for LE_CONN_REQ + EXT_FLOWCTL pchan Date: Fri, 25 Sep 2026 12:39:15 +0200 Message-ID: <2026092511-CVE-2026-98108-44c7@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=2973; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IoGS45GtxR4eti9GMJ3aop5t2uyOn+yz86XqAVqfF8M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/P2dBdyeaBzJzN+kecurK77F4sPRH4umxLVOe52xS 3T52Zy1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRviMM82tmn/qn9uvY93mf N//UTPp81tevYynDPKPcGfJRL0IO5ATd+hEettC3SbesHAA= 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 chan mode for LE_CONN_REQ + EXT_FLOWCTL pchan l2cap_new_connection() sets default value of channel mode to match the parent channel. l2cap_le_connect_req() left this at the default, and created L2CAP_MODE_EXT_FLOWCTL channels if listening pchan has that mode. This causes FLAG_DEFER_SETUP channels to reply to L2CAP_LE_CONN_REQ with L2CAP_ECRED_CONN_RSP, which is incorrect. It can also result to stack OOB write (of l2cap_alloc_cid determined values) in l2cap_ecred_rsp_defer(), as l2cap_le_connect_req() does not limit maximum number of deferred channels or check for duplicate ident. Fix by setting chan->mode correctly in l2cap_le_connect_req(). Also check channel mode in l2cap_ecred_rsp_defer(), and do WARN_ON_ONCE instead of OOB write to make it less brittle. The Linux kernel CVE team has assigned CVE-2026-98108 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.12.111 with commit 1074bcc57f741223f9fa82ce6afe5c3d783e4d10 Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.18.53 with commit 5d5a625cbc854d4c4f68e4b16fcf6e682d9a9ed1 Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.2.7 with commit 6cb79e6499228cfdbd4b3301371ce74d01cd2f80 Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.3-rc2 with commit 4ef05db5b08b176a551b4a6287372045998806b0 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-98108 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/1074bcc57f741223f9fa82ce6afe5c3d783e4d10 https://git.kernel.org/stable/c/5d5a625cbc854d4c4f68e4b16fcf6e682d9a9ed1 https://git.kernel.org/stable/c/6cb79e6499228cfdbd4b3301371ce74d01cd2f80 https://git.kernel.org/stable/c/4ef05db5b08b176a551b4a6287372045998806b0