Following series is a backport of CVE-2024-47674 fix "mm: avoid leaving partial pfn mappings around in error case" to 5.10.
This required 3 extra commits to make sure all picks were clean. The patchset shows no regression compared to v5.4.285 tag.
Alex Zhang (1): mm/memory.c: make remap_pfn_range() reject unaligned addr
Christoph Hellwig (1): mm: add remap_pfn_range_notrack
WANG Wenhu (1): mm: clarify a confusing comment for remap_pfn_range()
chenqiwu (1): mm: fix ambiguous comments for better code readability
include/linux/mm.h | 2 ++ include/linux/mm_types.h | 4 +-- mm/memory.c | 54 +++++++++++++++++++++++++--------------- 3 files changed, 38 insertions(+), 22 deletions(-)