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 0C3D83B0AE7 for ; Thu, 28 May 2026 09:40:41 +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=1779961243; cv=none; b=QCgDrtILF5LF9zc4ML7DQSSiLlzXVxOVT+8Ktgwh18lnswLoFfajFFl872KdrlWp1BzoAfTqcljqf9Y9GGbieJdcVMMLI3/VmQCm+sSdJrdNl3m8lFw8Lmqn3FwdpVKT7eFV1GloUXQt9poDOkIhr828siLHrVullag54P6gq20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961243; c=relaxed/simple; bh=mVqBvEWVK5ldjZE/FI35vWcMcA7wIGPIs2OqbWoMDeM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=shM/NzQpIIzShgLz4yTAwCpaU+U7T9TMXPCR/pzoV4gAVdmgOppP6fmrqMsvE5Arc1WwfyQAeg11i4xP0i7YFcEhtb4xmCQtlplqyuj1IrG1Mf2b4cGdB5F2SGyq3AzeIPY83rxXe+co8ecIWplka7U3D7DsfmkrMNivQKnau6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lcXr/b5c; 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="lcXr/b5c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 139341F000E9; Thu, 28 May 2026 09:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961241; bh=8tBhFbzAl1hJM3YFXNxyquSKN9zePkb18QrF40aVjXM=; h=From:To:Cc:Subject:Date:Reply-To; b=lcXr/b5c56EKkwM38hh9JvmVTkze4zEelgZ3u578NC/QTMU86QEERLvSBhBMwutge sNbhOf2lz1sGZdbKm5hgYOLaAM29A+4FAW+TL5SKpzSRD53Al1Cbhslcd6mbkjlRNM 4QGTjfPSFmGx13MnOdWlhG3ESaLmOzTT/T8XAaKU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46140: Bluetooth: btmtk: validate WMT event SKB length before struct access Date: Thu, 28 May 2026 11:36:45 +0200 Message-ID: <2026052819-CVE-2026-46140-7ba4@gregkh> X-Mailer: git-send-email 2.54.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=2682; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iPqwnZ32lLZo2hvYM3FdNVbrI1+pnYKbwgH3jk9HI6s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPJOzBFY+XXONRWTT74uXm3hl3WbvPTL97GXb6cK15 0qiLX6s64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJxEcxzM8XVfX+MaFXvGDS rCiRZLP2nKlnHjAsmNCRsFMvteTNj8uBRxr9ZA7qcG6RBQA= 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: btmtk: validate WMT event SKB length before struct access btmtk_usb_hci_wmt_sync() casts the WMT event response SKB data to struct btmtk_hci_wmt_evt (7 bytes) and struct btmtk_hci_wmt_evt_funcc (9 bytes) without first checking that the SKB contains enough data. A short firmware response causes out-of-bounds reads from SKB tailroom. Use skb_pull_data() to validate and advance past the base WMT event header. For the FUNC_CTRL case, pull the additional status field bytes before accessing them. The Linux kernel CVE team has assigned CVE-2026-46140 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit d019930b0049fc2648a6b279893d8ad330596e81 and fixed in 6.12.88 with commit c411cf1bfde951cfa821809cf4020ba177f76e0c Issue introduced in 6.11 with commit d019930b0049fc2648a6b279893d8ad330596e81 and fixed in 6.18.30 with commit 624fb79dadc1b65757986a9d0fdde5c0cf3fe179 Issue introduced in 6.11 with commit d019930b0049fc2648a6b279893d8ad330596e81 and fixed in 7.0.7 with commit 70d37a8b9229e394cc17ddad47e90b81d80fcd09 Issue introduced in 6.11 with commit d019930b0049fc2648a6b279893d8ad330596e81 and fixed in 7.1-rc3 with commit 634a4408c0615c523cf7531790f4f14a422b9206 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-46140 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: drivers/bluetooth/btmtk.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/c411cf1bfde951cfa821809cf4020ba177f76e0c https://git.kernel.org/stable/c/624fb79dadc1b65757986a9d0fdde5c0cf3fe179 https://git.kernel.org/stable/c/70d37a8b9229e394cc17ddad47e90b81d80fcd09 https://git.kernel.org/stable/c/634a4408c0615c523cf7531790f4f14a422b9206