Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759051; b=1+JCxncp9+6AjpvexL2Mqk6JhrLjCUIWs/iWG96CLAlGf/QNQmhzfHJujcOdVhDC8Vgc tPk9s2bRTA4hbwnLHFMjo8NSXut01SpBhzgPwe4WKWVSSoU81obmjHoVMOBxUdWSyL85J ieh2BQ4ZvsomZZprDE+gUqpTxPDabzyCa9JLr+PNJOcqTsIpiLVyj4keVEH1X0wH7bxLv Am94MEqvo2H2rRfNaN7/h0jZu1u6tzZy/2PZ3uSEUICTiR3W9nHhhZhISjl36v4tccqHA eNrbB7+egv2f3KDEa67t/O3hD4Z8+9OH+rGb2KRYqLM0icSVt86PWYcCNBA32OZyitg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759051; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=d90nPzDuh4soOtiJxaxhFU+MKyY1fmD7pEi5aHVF15o=; b=zCjl6BjD742I7kNtU264I5aAuL0AVSXQsWKpGk7JS4/JUZ+/BDXWYFmBX3m0YLd+L4fA 9av+eFcFhOjuLkilOEiOhH9WpUXjOh/d0OfW6i1MLjQZlhbglsegJkNGuVYb9nUMOFXRb xsuZfcMKL7bwicoyxaRqKS1DPmFarMO15778t+H8+Q6iNIHXw0dbd9viOK41WVgTYNthQ KHa3go9LRXqxyXpYuXAMJqn1UkoO+QbyODLWr4docihbM0j/8P7kjqsXEjUyQ2qP6SPk+ PMXTDRb2+CCOiTrBfpC5l88X6TtgKFiZjbYJVPMchdYGDzgjqKHgN/0rDnP8+GiojIQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=OktzTt69; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80BB7606A31A for ; Fri, 23 Oct 2026 12:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=OktzTt69 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B70A1F01825; Fri, 23 Oct 2026 12:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759051; bh=d90nPzDuh4soOtiJxaxhFU+MKyY1fmD7pEi5aHVF15o=; h=From:To:Cc:Subject:Date:Reply-To; b=OktzTt69QH6iTgEWAtSGanfZAqPakgzK4n8R3hwilA1+mISyZVgp9XeQwz+hqDq6L bw43Nu8cspn0J66u5uJJZBxxA1hKjssYuesX3U8RgLtCRX9MYScDiEpXMraLORB+d6 aza+geXDxi89B3TNOJ1qd625FqimvEQsogeqtgOc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99014: Bluetooth: hci_sync: Fix command skb lifetime during scan setup Date: Fri, 23 Oct 2026 14:20:16 +0200 Message-ID: <2026102320-CVE-2026-99014-43f7@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4168; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ihnVEzsgGuGBmx7P51j0VnQG9lZpZph+P6oTZKYhs2Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A05U9a/UfKexk2V2cNTNKNu0sGtz68rm3f3y7+4z7 o9XtX4d6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJsG1lmM1mmca/WyiS51gY x7ywC9ddbuTPlGZYMGu953UDgf2pVWr9rKek9MTVpL/eBAA= 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: hci_sync: Fix command skb lifetime during scan setup During PA sync scan setup, hci_le_set_ext_scan_param_sync() gets the address used for the PA_LINK lookup from hci_sent_cmd_data(). The returned pointer borrows storage from sent_cmd or req_skb, without holding a reference to either skb. The scan worker runs on req_workqueue while hci_cmd_work() runs on the separate device workqueue. After the scan worker loads sent_cmd, the command worker can free and replace it before hci_sent_cmd_data() dereferences the skb. The command payload can also be freed between returning from the helper and comparing the address. The connection lookup's RCU critical section does not protect the command skb. KASAN reported: BUG: KASAN: slab-use-after-free in hci_sent_cmd_data+0x27c/0x2f0 Workqueue: hci0 hci_cmd_sync_work Call Trace: hci_sent_cmd_data+0x27c/0x2f0 hci_le_set_scan_param_sync+0x43a/0x850 hci_passive_scan_sync+0xb09/0x1460 hci_update_passive_scan_sync+0x47c/0x6e0 hci_le_pa_create_sync+0x200/0xa70 hci_cmd_sync_work+0x13c/0x290 Allocated by task 95: skb_clone+0x13f/0x340 hci_cmd_work+0x2a9/0x7e0 Freed by task 95: kmem_cache_free+0xba/0x3a0 hci_cmd_work+0x29c/0x7e0 Use hdev->lock to serialize the address snapshot with sent_cmd replacement. Protect req_skb replacement and completion cleanup with the same lock because the helper falls back to that skb. Copy the address before releasing the lock and use the copy for the existing RCU-protected connection lookup. Release the mutex before sending or waiting for commands, preserving the lookup and completion ordering. The Linux kernel CVE team has assigned CVE-2026-99014 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.28 with commit de3c85d321bfb85b7742a6cfab95d680da3e26b1 and fixed in 6.6.160 with commit f01cbddfb4273fcc9a786d13b0a2525029023605 Issue introduced in 6.9 with commit 22cbf4f84c00da64196eb15034feee868e63eef0 and fixed in 6.12.114 with commit 119ba8070b3f112dd36c897f4f70ea5bb7d370b8 Issue introduced in 6.9 with commit 22cbf4f84c00da64196eb15034feee868e63eef0 and fixed in 6.18.57 with commit 7db33b36213a3a1a40940c009ddac30670b55922 Issue introduced in 6.9 with commit 22cbf4f84c00da64196eb15034feee868e63eef0 and fixed in 7.2.11 with commit 762850c203fab1190ad6a3de41cd51920b22236d Issue introduced in 6.9 with commit 22cbf4f84c00da64196eb15034feee868e63eef0 and fixed in 7.3 with commit 9af12272061d206af8bc3e40215cb694421ab73a Issue introduced in 6.8.7 with commit 7a54f8314584f78fb0557153b1059924249ef628 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-99014 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/hci_core.c net/bluetooth/hci_sync.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/f01cbddfb4273fcc9a786d13b0a2525029023605 https://git.kernel.org/stable/c/119ba8070b3f112dd36c897f4f70ea5bb7d370b8 https://git.kernel.org/stable/c/7db33b36213a3a1a40940c009ddac30670b55922 https://git.kernel.org/stable/c/762850c203fab1190ad6a3de41cd51920b22236d https://git.kernel.org/stable/c/9af12272061d206af8bc3e40215cb694421ab73a