]> www.infradead.org Git - users/hch/configfs.git/commit
wifi: iwlwifi: mvm: don't read past the mfuart notifcation
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 May 2024 10:27:14 +0000 (13:27 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 May 2024 13:30:14 +0000 (15:30 +0200)
commit4bb95f4535489ed830cf9b34b0a891e384d1aee4
tree6cef1c95ef80e69a243f2056d31e8da213530450
parente6dd2936ce7ce94a1915b799f8af8193ec628e87
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: bdccdb854f2f ("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>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c