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 01E853E0092 for ; Tue, 6 Oct 2026 10:26:37 +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=1791282398; cv=none; b=n0xvelbKUwKAjrgH4aBAOWV/F2JjVtc0U1NpJD3pAEMRswX3fdnI58xxqewYq0HZXWdVBGTzaWXqH/6H2FUKeMeFqH+YuDqwNEKVAwaY3nhs1OU6F4oTLYIB3Cc0a4vVYZW4dNEn4FfFFu2TOSfmtO6qxpLhUUPqnZtCyF4JG+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282398; c=relaxed/simple; bh=GSXtiucC10FPYUW8vrpkRR9ZaJGsTeo3ieyxlt0DQkQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FAp0LimnGNbh50vjdnoVCd00cLLT6aQ4N3R7wxw4Dt71hQv2ak9YKVrtUEUH3hEjzZ31HV2SUn3QVpJnQBKIO+oE/DcNc6olb2Sc3/zDgC9I5rOLKlEi6MS6s/k8HE7WWtO2mgQRkT1dj4E5oePe9Rohyk0NXvqOsjZbJVMcxGw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y+i2gx/v; 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="Y+i2gx/v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 464EF1F000FF; Tue, 6 Oct 2026 10:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282396; bh=rxNbDvNYRh2wei2qfa61GG0GEcxpXyK7PSdwSfAVdqY=; h=From:To:Cc:Subject:Date:Reply-To; b=Y+i2gx/vhy1T/bgrwgqDfi3oh4Qt5DC+YAt1/++Jvd6diRlwAOnjd+qDpE2KGZrz6 8AGiJD6C9xJSCC0lDkIbh9AnVqW58/6d7VUaWMcyD2+k4lasCPOye68TGgdqBx9cBo tzKlArqsK8YUQpHtekc1X8dr80kxfHoP84SPrtQ4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98297: Bluetooth: hci_core: Fix queuing tx_work after workqueue is drained Date: Tue, 6 Oct 2026 10:46:38 +0200 Message-ID: <2026100608-CVE-2026-98297-be8f@gregkh> X-Mailer: git-send-email 2.56.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=3149; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I+T0KIUOf/7CItUmh5uUVdsju/CFIsDFoHD125+Cizw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtor8vCbA9bquRzl37cYvOyTeVbdnB3I+8/Z1WXVol WHA1P+sHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARjgMMs9n/8gvMdJxo+H+O h0P0x5li/0zcWxgWLFG+uIX37hcdE22djYvv5yea3ooTBQA= 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_core: Fix queuing tx_work after workqueue is drained hci_send_acl(), hci_send_sco() and hci_send_iso() queue hdev->tx_work unconditionally. They can run from the L2CAP/SCO/ISO socket send path while hci_dev_close_sync() is draining hdev->workqueue (HCIDEVDOWN racing with a socket write). Since that queue_work() is not chained work from the tx_work worker itself, __queue_work() sees the queue marked __WQ_DRAINING, warns "cannot queue %ps on wq %s", and drops the work: WARNING: CPU: 1 PID: 5985 at kernel/workqueue.c:2352 __queue_work Call Trace: queue_work_on l2cap_chan_send l2cap_sock_sendmsg ... hci_dev_close_sync() already sets HCI_CMD_DRAIN_WORKQUEUE before draining, but only hci_cmd_work() and handle_cmd_cnt_and_timer() check it before queuing. Route the tx_work producers through the same guard via a shared hci_sched_tx() helper. The Linux kernel CVE team has assigned CVE-2026-98297 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.93 with commit 9cebe4680bb9a72f80c6541eb24af06db7a1fbc9 and fixed in 6.12.112 with commit ab0678a0701ac4de499428dc1b321659bb74d272 Issue introduced in 6.18.35 with commit 47330cc875b36a1cf7b3543cb2cf90a7c603ce0e and fixed in 6.18.54 with commit e220c1242a643d97102a79f09b7ef3aa31276961 Issue introduced in 7.1 with commit 525daaea459fc215f432de1b8debbd9144bf97b0 and fixed in 7.2.8 with commit cbb325bc150e8c0dbce004ac0e5516bcffc0de31 Issue introduced in 7.1 with commit 525daaea459fc215f432de1b8debbd9144bf97b0 and fixed in 7.3-rc4 with commit 6610c6fe4b8936c232048e6049bf77c70a6f759c Issue introduced in 7.0.12 with commit 60bceb9a4c693e68cc90ba4b2dfb9e000e8638ff 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-98297 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 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/ab0678a0701ac4de499428dc1b321659bb74d272 https://git.kernel.org/stable/c/e220c1242a643d97102a79f09b7ef3aa31276961 https://git.kernel.org/stable/c/cbb325bc150e8c0dbce004ac0e5516bcffc0de31 https://git.kernel.org/stable/c/6610c6fe4b8936c232048e6049bf77c70a6f759c