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:Ming 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:
Quan Zhou <quan.zhou@mediatek.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5825831 Reviewed-by:
Joel Fernandes <joelaf@google.com> Reviewed-by:
Sean Paul <sean@poorly.run> Commit-Queue: Joel Fernandes <joelaf@google.com> Signed-off-by:
Hubert Mazur <hmazur@google.com>
Loading
Please sign in to comment