Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C9BEB2563F for ; Wed, 28 Feb 2024 08:17:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108235; cv=none; b=ZKJgXtDseTaR1t2kjrjpabBE3lc7s956soJIh1fzDVnUwqzDfz/rpb+igiRWQYOZ+4YtWrhxR/lj7GsXBHZkcMoa2aSAqMz8/nEG3Zg26H5EyziAGkmEPjYQZ5aijGlGEi3VIusf9vU8Ij7SlhUxOxbj6SWdWVz42iIeZqhVcEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709108235; c=relaxed/simple; bh=Ecfb4FAiahT0Scyb83jZuPOqCdYjqYxypEpc106ztzU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qxOr7XLinw+QmrlT3XtWO11f676foB1/5cze4au32CsmvnRFto+XleealDUhLZsciAXu17YWaj8laNDlaUDzK/CBagXhJzyKSiTtJ7SxYbRTtdEW+f6qBdhIT+kz9DRE6DH+g7dy7Q9Cod3ZVHiuL/1fjdphr+hBt2/YU7i3K9Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Kr4UW2ek; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Kr4UW2ek" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 578BCC433C7; Wed, 28 Feb 2024 08:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709108235; bh=Ecfb4FAiahT0Scyb83jZuPOqCdYjqYxypEpc106ztzU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Kr4UW2ekQpdlz3kq633WjZ0ykaU8az8RSF6Mnkpnl++En06gsEkLtPf/X7dJgnBwI 4gqav8X5KiTOCsFWnim/+PDMjH0Di35VhodXZgErhxf8iKFXPjWZPcoGaQFVt9BLkR F3Pie1xT+53xF0pR2b52TIQPjZm99xOLEQwuScA0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: gregkh@kernel.org Subject: CVE-2021-47028: mt76: mt7915: fix txrate reporting Date: Wed, 28 Feb 2024 09:15:16 +0100 Message-ID: <2024022834-CVE-2021-47028-3a13@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2574; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U9hYGhi7ev3DWhn4Zezasf7SriGgGWWs0dewy8GCp/s=; b=owGbwMvMwCRo6H6F97bub03G02pJDKn3XmcbbgpW1Ah1u7Gux6jYb1nXLMEvp6U0l1l8tV4rx q6wxW11RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykeSvDPNM/u5TnlsZvayw6 UNprWfmVTc08j2E2S5nB9JRFsVezg6MypDRF6zcUrOgFAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: gregkh@kernel.org Description =========== In the Linux kernel, the following vulnerability has been resolved: mt76: mt7915: fix txrate reporting Properly check rate_info to fix unexpected reporting. [ 1215.161863] Call trace: [ 1215.164307] cfg80211_calculate_bitrate+0x124/0x200 [cfg80211] [ 1215.170139] ieee80211s_update_metric+0x80/0xc0 [mac80211] [ 1215.175624] ieee80211_tx_status_ext+0x508/0x838 [mac80211] [ 1215.181190] mt7915_mcu_get_rx_rate+0x28c/0x8d0 [mt7915e] [ 1215.186580] mt7915_mac_tx_free+0x324/0x7c0 [mt7915e] [ 1215.191623] mt7915_queue_rx_skb+0xa8/0xd0 [mt7915e] [ 1215.196582] mt76_dma_cleanup+0x7b0/0x11d0 [mt76] [ 1215.201276] __napi_poll+0x38/0xf8 [ 1215.204668] napi_workfn+0x40/0x80 [ 1215.208062] process_one_work+0x1fc/0x390 [ 1215.212062] worker_thread+0x48/0x4d0 [ 1215.215715] kthread+0x120/0x128 [ 1215.218935] ret_from_fork+0x10/0x1c The Linux kernel CVE team has assigned CVE-2021-47028 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit e4c5ead632ff and fixed in 5.11.21 with commit dfc8a71448c7 Issue introduced in 5.8 with commit e4c5ead632ff and fixed in 5.12.4 with commit 4bd926e5ca88 Issue introduced in 5.8 with commit e4c5ead632ff and fixed in 5.13 with commit f43b941fd610 Please see https://www.kernel.org or 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-2021-47028 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/mt7915/mcu.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/dfc8a71448c7d4fec38fb22bdc8a76d79c14b6da https://git.kernel.org/stable/c/4bd926e5ca88eac4d95eacb806b229f8729bc62e https://git.kernel.org/stable/c/f43b941fd61003659a3f0e039595e5e525917aa8