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 6F7A239DBDB for ; Sun, 19 Jul 2026 15:00:42 +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=1784473243; cv=none; b=YlUN1u16byTjnlM0GwYudwhIaSuBq40k1gklP6xBrYIcCQe0E9Y8hIFNlpMMBQhjgOhAycCEHBMcmueyTl5dRgm46rLoGt3jNuGZvhIyltWemkfFxH5mpqJozldj/9ZUfOUVsOUhbYcuGwYp87zYZD268dMlEGywwjP10Up6W+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473243; c=relaxed/simple; bh=knHzI7S45xYgLAA3Hej1ON5dfucr+/730hmHqTWUnQY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EsnKD5l7rb/wEgcQAHrpvBbg5ZTjHN6IL2KWrFeJeC7GRIHFyv1NdgRE35G4HeogtBi3T+Abv5ZArPNrGrUTwtNUvna/rWEuYxLy0g+M69VC672W2d58VvUx+g6kv53YWiSLj3SZ2zK3TWFEmDYBLDzceB15wd65amYO6av4Lyk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AbT79FOl; 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="AbT79FOl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC5D21F000E9; Sun, 19 Jul 2026 15:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473242; bh=KOo69h7pVwd6PYlk4lXSDF2CoMgNitVxEqvZ4ZuWfmI=; h=From:To:Cc:Subject:Date:Reply-To; b=AbT79FOlXm07XgHEJRkffsVjgqlDrDs/X954L0M2Xl/20RnTmK4Sn3wcoDMddeQh9 PVZA6B7p+sRre7JEHXBStElmB84dP1nEofZNsWza6Gvqp2aeLA8fZ2oWzuttSq5Nsj MwzIwqepHiyqLvaUDsVnWxt7y0w6Mn8C2GIlMolY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63945: Bluetooth: ISO: serialize iso_sock_clear_timer with socket lock Date: Sun, 19 Jul 2026 16:56:45 +0200 Message-ID: <2026071953-CVE-2026-63945-87fb@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=3758; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qyiX6loHBB2CfrhwlYrq5fe8cRgLtkv1OxtBj4am6TU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxTyuTd1h7c3WEWbY4H7jGt8d26e9UaY/XCtV8d2p7l M+Wqd3riGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlMi2GYXzdnff719M+vGN/b PdIVLtMu2CfRzjBXVLGIf9m3PY9q4mfesglSCDk3p386AA== 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: ISO: serialize iso_sock_clear_timer with socket lock iso_sock_close() calls iso_sock_clear_timer() before acquiring lock_sock(sk). iso_sock_clear_timer() reads iso_pi(sk)->conn twice without the socket lock held: if (!iso_pi(sk)->conn) return; cancel_delayed_work(&iso_pi(sk)->conn->timeout_work); Concurrently, iso_conn_del() executes under lock_sock(sk) and calls iso_chan_del(), which sets iso_pi(sk)->conn to NULL and may result in the final reference to the connection being dropped: CPU0 CPU1 ---- ---- iso_sock_clear_timer() if (conn != NULL) ... lock_sock(sk) iso_chan_del() iso_pi(sk)->conn = NULL cancel_delayed_work(conn) /* NULL deref or UAF */ iso_pi(sk)->conn is not stable across the unlock window, causing a NULL pointer dereference or use-after-free. Serialize iso_sock_clear_timer() with the socket lock by moving it inside lock_sock()/release_sock(), matching the pattern used in iso_conn_del() and all other call sites. The Linux kernel CVE team has assigned CVE-2026-63945 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.1.176 with commit d9cbf7144ec589a3f0cc91f74a1a1af2d2b14afa Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.6.143 with commit 35f68f36d9883d56dec21cf85f7556d4657fc393 Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.12.93 with commit 996c2104d0726a8fe584f85b3d6327197374a348 Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.18.35 with commit bc08c15746f25f41dd0508b25780d1e84acbb2ef Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 7.0.12 with commit 51cb9dcfdf9a1bccf312ab2ae4b62db629f7dcd5 Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 7.1 with commit 4b5f8e608749b7e8fa386c6e4301cf9272595859 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-63945 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/iso.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/d9cbf7144ec589a3f0cc91f74a1a1af2d2b14afa https://git.kernel.org/stable/c/35f68f36d9883d56dec21cf85f7556d4657fc393 https://git.kernel.org/stable/c/996c2104d0726a8fe584f85b3d6327197374a348 https://git.kernel.org/stable/c/bc08c15746f25f41dd0508b25780d1e84acbb2ef https://git.kernel.org/stable/c/51cb9dcfdf9a1bccf312ab2ae4b62db629f7dcd5 https://git.kernel.org/stable/c/4b5f8e608749b7e8fa386c6e4301cf9272595859