diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2025-11-10 16:02:19 +0300 |
|---|---|---|
| committer | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2026-01-21 15:23:02 +0300 |
| commit | 58192b9ce09b0f0f86e2036683bd542130b91a98 (patch) | |
| tree | ba079dc8447a9c50b5e5ecfb3a9c403702f72b66 /include/linux/debugobjects.h | |
| parent | 5f05d20180059f00e17b514c1022963034756cfd (diff) | |
| download | linux-58192b9ce09b0f0f86e2036683bd542130b91a98.tar.xz | |
wifi: iwlwifi: fix 22000 series SMEM parsing
If the firmware were to report three LMACs (which doesn't
exist in hardware) then using "fwrt->smem_cfg.lmac[2]" is
an overrun of the array. Reject such and use IWL_FW_CHECK
instead of WARN_ON in this function.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20251110150012.16e8c2d70c26.Iadfcc1aedf43c5175b3f0757bea5aa232454f1ac@changeid
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
