Commit 7073fe8e authored by Ming Yen Hsieh's avatar Ming Yen Hsieh Committed by Tomasz Nowicki
Browse files

FROMLIST: wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc



Due to the lack of checks on the clc array, if the firmware supports
more clc configuration, it will cause illegal memory access.

Cc: stable@vger.kernel.org
Fixes: c948b5da ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips")
Signed-off-by: default avatarMing Yen Hsieh <mingyen.hsieh@mediatek.com>
(am from https://patchwork.kernel.org/patch/13767716/)
(also found at https://lore.kernel.org/r/20240819015334.14580-1-mingyen.hsieh@mediatek.com

)

BUG=b:356007382
UPSTREAM-TASK=b:362883774
TEST=fix MT7925 Conductive t-put BE mode fail

Change-Id: I6c70fe4ebbedcf5ddedfe99e9ab03ecd12199f60
Signed-off-by: default avatarQuan Zhou <quan.zhou@mediatek.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5825831


Reviewed-by: default avatarJoel Fernandes <joelaf@google.com>
Reviewed-by: default avatarSean Paul <sean@poorly.run>
Commit-Queue: Joel Fernandes <joelaf@google.com>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
parent b418da25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment