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 6D509382F28 for ; Sat, 15 Aug 2026 06:35:02 +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=1786775703; cv=none; b=lcIYUQuS+n2qQMTRoSTC9T6aVnfmMspscfK0Wovtu82w0Ffhx5+x+u7FeelxpnOXKtcD2S/23f5M/hb41fvdLqb0TutMqdEPuO1X+Lupyo0Eq76fXWxLyrYktUuVpcfuqDCidJn+p6/kPsXeVjh0VqR2zFlZ4IBppIQxh3ATBvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775703; c=relaxed/simple; bh=ISnBUyq3fTiYyfmPRwi+NiWDcUc85iOjc9ObD4Ih8dM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t/MiBphhLvDTAo4d/DyqIaSQQDOlp50x+7gS1kVJ0Gkfs/1E+zfk8tma7Ug6OwIIZcPCYqt/szDFgem+jliS+2M09yga/YrKp5UjH4UG8uDRlxRSPviRVNzJJguixhk5X+odOUhC3u/BL6E8zu40eyGZoeEP+ipJl0aFGKy2JB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nPm+QvdW; 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="nPm+QvdW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C47891F000E9; Sat, 15 Aug 2026 06:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775702; bh=pP3Btk30APX6xH6SBMbrrJL/jvzD0NdvknqwwhvSf1E=; h=From:To:Cc:Subject:Date:Reply-To; b=nPm+QvdWqPvNDIRAXCEwcaf8oXHvS0Ht6ecL8+oEI8wJhAxzyH2cROHvCxVolR7KW J4ug8jVc3L4kELGau8NfIALK6Vwlz7od0KjAwP65Rwi7ekXceAsl5raAFoQi4s3oaH irEJGgbL6QPmvBrEEYb6vNascUx7TBObuNjoLbI4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74324: wifi: mt76: mt7925: validate skb length in testmode query Date: Sat, 15 Aug 2026 15:10:51 +0900 Message-ID: <2026081554-CVE-2026-74324-d245@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=2524; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+gSxLb5YwBGjmWZXi0gRnxKNSPC8f81WWyE1jHOO3Qc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjHwl25PvtderLVxa4u4lM3lv6/wVM28psa278+X0h rf9vGzNHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRj64McwW/BWt9e3yqUV17 xo/FVy6xdp534GSYX3v3b1XLqwDpd24u3THBJ3umNa2eDwA= 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: wifi: mt76: mt7925: validate skb length in testmode query In mt7925_tm_query(), the response skb from mt76_mcu_send_and_get_msg() is used in a memcpy without validating its length: memcpy(evt_resp, skb->data + 8, MT7925_EVT_RSP_LEN); where MT7925_EVT_RSP_LEN is 512. If the firmware returns a response shorter than 520 bytes (8 + 512), this reads beyond the skb data buffer. The over-read data is then returned to userspace via nla_put() in mt7925_testmode_dump(). Add a length check before the memcpy to ensure the skb contains sufficient data. The Linux kernel CVE team has assigned CVE-2026-74324 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 6.18.40 with commit c386e90a7ce8ddec9f038e9437661a2821b0ce89 Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 7.1.5 with commit e8b214b6d6e1902025452db0a0af73dc9693e4ba Issue introduced in 6.7 with commit c948b5da6bbec742b433138e3e3f9537a85af2e5 and fixed in 7.2-rc1 with commit c7369a00860a0704461d440e7c3bf9b49bfdbaee 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-74324 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/net/wireless/mediatek/mt76/mt7925/testmode.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/c386e90a7ce8ddec9f038e9437661a2821b0ce89 https://git.kernel.org/stable/c/e8b214b6d6e1902025452db0a0af73dc9693e4ba https://git.kernel.org/stable/c/c7369a00860a0704461d440e7c3bf9b49bfdbaee