rt2x00: clear up IV's on key removal
mainline inclusion from mainline-v5.3-rc8 commit 14d5e14c category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I96GO9 CVE: CVE-2023-52595 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=14d5e14c8a6c -------------------------------- After looking at code I realized that my previous fix 95844124 ("rt2x00: clear IV's on start to fix AP mode regression") was incomplete. We can still have wrong IV's after re-keyring. To fix that, clear up IV's also on key removal. Fixes: 710e6cc1 ("rt2800: do not nullify initialization vector data") Signed-off-by:Stanislaw Gruszka <sgruszka@redhat.com> tested-by:
Emil Karlson <jekarl@iki.fi> Signed-off-by:
Kalle Valo <kvalo@codeaurora.org> Signed-off-by:
Pu Lehui <pulehui@huawei.com>
Loading
Please sign in to comment