Re: [PATCH 5.15/6.1/6.6/6.12] wifi: iwlwifi: fix 22000 series SMEM parsing

From: Greg Kroah-Hartman

Date: Tue Jun 16 2026 - 00:26:26 EST


On Mon, Jun 15, 2026 at 03:20:58PM +0300, Nazar Kalashnikov wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> commit 58192b9ce09b0f0f86e2036683bd542130b91a98 upstream.
>
> 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@xxxxxxxxx>
> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@xxxxxxxxx>
> Link: https://patch.msgid.link/20251110150012.16e8c2d70c26.Iadfcc1aedf43c5175b3f0757bea5aa232454f1ac@changeid
> Signed-off-by: Nazar Kalashnikov <sivartiwe@xxxxxxxxx>
> ---
> Backport fix for CVE-2026-43172
> drivers/net/wireless/intel/iwlwifi/fw/smem.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

This breaks the build, how did you test it?

thanks,

greg k-h