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 BADD33E1CF4 for ; Tue, 6 Oct 2026 10:28:13 +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=1791282494; cv=none; b=et7WigC3mozrWZ6hxtfoNMFzOY6VlMvti8PmbH6DVsvudRV0MfsYdTj4w0KFB0DuLfOZvT+X+m3WTaRleXDH3vhmhzBtv7JlOQLfidYNByq8SjfStzDw6zTvmIO/egbIOE8j66snQCPDGE6SLvAF6W5SI+lWFCpEJwYjtjoL4NI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282494; c=relaxed/simple; bh=y37d1k9TtBkIq+3MDqvmpf8X6yqnJy5JwRAfSbFAgxU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kKoUBMfDGy+zHuI3Bkoz6tbWHUBbz8VkvbJMSvj0GMYse3Wd9IckecmTEvUdYdodTDIpJeONrjbMvQ7jRaKvRQ6djZGHn7ayK4XaucDAyMdngBQ6Suq6F0PRZoLl20rEzQEZFgpkmjiI1vRqCj7rTTxqq1VlhXGh9BsUl5Bnaro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W+QrLHE4; 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="W+QrLHE4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA2261F00893; Tue, 6 Oct 2026 10:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282493; bh=0pI+q65XXNhWJh1Lml2NrBmEGfnELM0VOnacA2UyBvw=; h=From:To:Cc:Subject:Date:Reply-To; b=W+QrLHE4mBkageFEjQYoWQm5X84Q247wUgRA+zAv2qYbm5RYWFy0c/4w4JeTCCsas 8cJZEmxh00UKj1dGeFZgCqOtOIzq+jXb98CJWjmFqT4w3AhJsqm5I5bVw+UGu4hFKL m8R/+PYnMJpp6pd6mfwW6Yo9tPuVsBT8L3OD3ZFY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98292: Bluetooth: btmtksdio, btmtkuart: validate WMT event length before struct access Date: Tue, 6 Oct 2026 10:46:33 +0200 Message-ID: <2026100607-CVE-2026-98292-efe5@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=2661; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZhAouE7z3TWrjCkHCi6VQczlLo026upE7tSWAWCt2t8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtgrPm+Rxe6cKm/8j6Zuhs/QES+e+TGmpyGaqfLGHz zdHw6C6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbicYxhno5i1pnZAVEPr1Xa 1ajVfpu9e666H8OCA8wnE75Kylax/QvtyeroVmgpdq0CAA== 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: btmtksdio, btmtkuart: validate WMT event length before struct access btmtksdio.c and btmtkuart.c cast a received WMT event straight to struct btmtk_hci_wmt_evt and read its op/flag fields without checking the event is long enough to contain them, unlike btmtk.c. The FUNC_CTRL case then further casts to struct btmtk_hci_wmt_evt_funcc and reads its 2-byte status field, again without a length check. Firmware that sends a short or malformed WMT event makes both drivers read past the end of the received SKB. Mirror btmtk.c: validate the base WMT header with skb_pull_data() before touching any of its fields, and when a FUNC_CTRL event turns out to be the short, header-only form (a plain enable/disable ack with no status word), decode the result from the header's own flag byte instead (0 = success, otherwise failure). Verified setup on MT7920, MT7921, MT7922 and MT7925: no regression. The Linux kernel CVE team has assigned CVE-2026-98292 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit e0b67035a90b58d01f911fed77b6e3da153da66e and fixed in 7.2.8 with commit 5a5cfd8488c97e1b8939515429fe4c81e9f2df4f Issue introduced in 5.1 with commit e0b67035a90b58d01f911fed77b6e3da153da66e and fixed in 7.3-rc4 with commit 8879e3e0a84a86954c855caceead4867e74a9a27 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-98292 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/btmtksdio.c drivers/bluetooth/btmtkuart.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/5a5cfd8488c97e1b8939515429fe4c81e9f2df4f https://git.kernel.org/stable/c/8879e3e0a84a86954c855caceead4867e74a9a27