]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: ath6kl: remove WARN on bad firmware input
authorJohannes Berg <johannes.berg@intel.com>
Tue, 17 Jun 2025 09:45:29 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:59:50 +0000 (15:59 +0200)
commit89bd133529a4d2d68287128b357e49adc00ec690
tree7abc84de406388c85a802dcc2f43fe5ac7b36b1f
parent7b131d8d4baea6ea86bbed1d462a60c394d1b510
wifi: ath6kl: remove WARN on bad firmware input

[ Upstream commit e7417421d89358da071fd2930f91e67c7128fbff ]

If the firmware gives bad input, that's nothing to do with
the driver's stack at this point etc., so the WARN_ON()
doesn't add any value. Additionally, this is one of the
top syzbot reports now. Just print a message, and as an
added bonus, print the sizes too.

Reported-by: syzbot+92c6dd14aaa230be6855@syzkaller.appspotmail.com
Tested-by: syzbot+92c6dd14aaa230be6855@syzkaller.appspotmail.com
Acked-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Link: https://patch.msgid.link/20250617114529.031a677a348e.I58bf1eb4ac16a82c546725ff010f3f0d2b0cca49@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath6kl/bmi.c