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 7AE8058599E for ; Fri, 11 Sep 2026 19:56:32 +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=1789156604; cv=none; b=W2TR4m9dq4+T+iNuN9Ydxdx8RMXjn4rzse3TSC+IjLq8i11jn10Df1yeHmN96EitaqZY/MSe4xOtmNOisNQhCiVBbO67hDcDsSbH/YQq4tmCDtaExAJMaeLXgtNsHXrtzsXaZJjm2Ubx17v33afvXe4cCPlKeoskGCzNFwNLCKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156604; c=relaxed/simple; bh=FXUGI49uvHi2jxJ5N+a+dzqqOfiIe6PSRodStotY4WU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SkWz5hxJ/vQKU5EqowqNSOZqseIWXFTypDTMuO0keF9lVN6ecChgc8UT3Q+ljtLylPvNUT25wiTG0QIpxxEjPt0DMmuVbG8SwaFmDL2V8nPOR2uzMfZuiSERNYmygW+ActjWRgrEv2DwnaPE27oN/DsQHzWgyHG3fxgjDHN2mgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tqWUgWWi; 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="tqWUgWWi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C86951F000FF; Fri, 11 Sep 2026 19:56:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156592; bh=a/y6J+vw0+B2qhTEVVf0lzWM494feEZXjjqiwqRZ5QA=; h=From:To:Cc:Subject:Date:Reply-To; b=tqWUgWWiLnFhMxINNH6b8iTErJ3j8f/buGf7FZetndAkFSRqenT1cXhTTa6Tlo3Ru Or+XHO8H9zCcO97DGTIROXKWjQSDSPFERFa6LF9B3oNQAcZ4O0Ds7oCj8/AZfRUNIc FiRWJeLZ/HXQnauCfbums651w2+RX5hU/wda/61E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89569: Bluetooth: RFCOMM: serialize security confirmation handling Date: Fri, 11 Sep 2026 21:44:18 +0200 Message-ID: <2026091125-CVE-2026-89569-953c@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=3876; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gzy3jh+rtuAOY0XsIw23Nn1uFzVBG4rPERckLgNCWkk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIlNPa88xCv0jHv+Iwbkj6MGb1i5+6da6med3X9oqv bJ02v0JHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR1TwMC5ZmMs6WMWKeKlVx TE5xEYfU/E+lNxjmmT9IPXN+m227xZ1InwWzXq1fp2LBCgA= 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: RFCOMM: serialize security confirmation handling rfcomm_security_cfm() looks up a session on session_list and then walks its DLC list without holding rfcomm_mutex. Since RFCOMM session teardown uses rfcomm_mutex, krfcommd can close and free the same session and DLCs concurrently: hci_rx_work krfcommd ----------- --------- rfcomm_session_get() rfcomm_lock() rfcomm_session_close() rfcomm_dlc_unlink() rfcomm_session_del() kfree(s) rfcomm_unlock() walk s->dlcs The callback can then read a freed session list head and touch freed DLCs while updating their flags or timers. Serialize the session lookup and DLC traversal in rfcomm_security_cfm() with rfcomm_mutex. This matches the existing RFCOMM session lifetime rules and prevents concurrent rfcomm_session_del() / rfcomm_dlc_unlink() from tearing the objects down while the callback is using them. KASAN reported: BUG: KASAN: slab-use-after-free in rfcomm_security_cfm+0x41c/0x440 Read of size 8 at addr ffff888111fb3960 by task kworker/u17:1/89 Workqueue: hci0 hci_rx_work Call Trace: rfcomm_security_cfm+0x41c/0x440 hci_encrypt_cfm+0x139/0x590 hci_encrypt_change_evt+0x37b/0xc40 hci_event_packet+0x71b/0xb20 hci_rx_work+0x293/0x730 Allocated by task 69: rfcomm_session_add+0x9e/0x2f0 rfcomm_run+0x44b/0x41e0 Freed by task 69: kfree+0x131/0x3c0 rfcomm_session_del+0x188/0x220 rfcomm_run+0x1985/0x41e0 The Linux kernel CVE team has assigned CVE-2026-89569 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 08c30aca9e698faddebd34f81e1196295f9dc063 and fixed in 6.12.109 with commit 1b7841ffad08e911e8c4b9470f3fa08423568940 Issue introduced in 3.10 with commit 08c30aca9e698faddebd34f81e1196295f9dc063 and fixed in 6.18.50 with commit 946d76db77ee5f922968ce558629ae47b381e3fc Issue introduced in 3.10 with commit 08c30aca9e698faddebd34f81e1196295f9dc063 and fixed in 7.2.4 with commit fbf7961964a6e93360179f64712320ae9a1e9577 Issue introduced in 3.10 with commit 08c30aca9e698faddebd34f81e1196295f9dc063 and fixed in 7.3-rc1 with commit 759c185d0bbdb131357408f50b8735e04ed3caff 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-89569 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/rfcomm/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/1b7841ffad08e911e8c4b9470f3fa08423568940 https://git.kernel.org/stable/c/946d76db77ee5f922968ce558629ae47b381e3fc https://git.kernel.org/stable/c/fbf7961964a6e93360179f64712320ae9a1e9577 https://git.kernel.org/stable/c/759c185d0bbdb131357408f50b8735e04ed3caff