mm/secretmem: fix GUP-fast succeeding on secretmem folios
JIRA: https://issues.redhat.com/browse/RHEL-37271
JIRA: https://issues.redhat.com/browse/RHEL-37272
MR: !4284 (merged)
CVE: CVE-2024-35872
This MR fixes CVE-2024-35872 which may cause kernel crash under certain circumstances.
Signed-off-by: Waiman Long longman@redhat.com
Edited by Waiman Long