mirror_ubuntu-kernels/drivers/net/wireless/intel
Emmanuel Grumbach 4bb95f4535 wifi: iwlwifi: mvm: don't read past the mfuart notifcation
In case the firmware sends a notification that claims it has more data
than it has, we will read past that was allocated for the notification.
Remove the print of the buffer, we won't see it by default. If needed,
we can see the content with tracing.

This was reported by KFENCE.

Fixes: bdccdb854f ("iwlwifi: mvm: support MFUART dump in case of MFUART assert")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240513132416.ba82a01a559e.Ia91dd20f5e1ca1ad380b95e68aebf2794f553d9b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-05-29 15:30:14 +02:00
..
ipw2x00 wifi: ipw2x00: replace deprecated strncpy with strscpy_pad 2023-10-23 20:26:29 +03:00
iwlegacy wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
iwlwifi wifi: iwlwifi: mvm: don't read past the mfuart notifcation 2024-05-29 15:30:14 +02:00
Kconfig
Makefile iwlwifi: fix build error for IWLMEI 2022-03-02 22:36:49 +01:00