mm: swap: fix race between free_swap_and_cache() and swapoff() [CVE-2024-26960]
JIRA: https://issues.redhat.com/browse/RHEL-34973
JIRA: https://issues.redhat.com/browse/RHEL-34974
CVE: CVE-2024-26960
MR: !4157 (merged)
This MR fixes a race between free_swap_and_cache() and swapoff().
Signed-off-by: Waiman Long longman@redhat.com
Edited by Waiman Long