Skip to content

mm: swap: fix race between free_swap_and_cache() and swapoff() [CVE-2024-26960]

Waiman Long requested to merge llong1/centos-stream-9:rhel-34973_swapfile into main

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

Merge request reports