]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: fix CMAC functions not handling errors
authorChien Wong <m@xv97.com>
Thu, 13 Nov 2025 14:05:07 +0000 (22:05 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Nov 2025 10:56:18 +0000 (11:56 +0100)
commit353cda30d30e5dc7cacf8de5d2546724708ae3bb
tree9bb1b46194530312c4d9edb7208a545995293d4b
parent799e98708f748253cbeda75d633da81324d7e7db
wifi: mac80211: fix CMAC functions not handling errors

The called hash functions could fail thus we should check return values.

Fixes: 26717828b75d ("mac80211: aes-cmac: switch to shash CMAC driver")
Signed-off-by: Chien Wong <m@xv97.com>
Link: https://patch.msgid.link/20251113140511.48658-2-m@xv97.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/aes_cmac.c
net/mac80211/aes_cmac.h
net/mac80211/wpa.c