mm: proactive fixes for RHEL-9.6
JIRA: https://issues.redhat.com/browse/RHEL-27745
JIRA: https://issues.redhat.com/browse/RHEL-15601
JIRA: https://issues.redhat.com/browse/RHEL-28873
JIRA: https://issues.redhat.com/browse/RHEL-54929
JIRA: https://issues.redhat.com/browse/RHEL-61137
JIRA: https://issues.redhat.com/browse/RHEL-62336
JIRA: https://issues.redhat.com/browse/RHEL-66627
JIRA: https://issues.redhat.com/browse/RHEL-66794
JIRA: https://issues.redhat.com/browse/RHEL-66818
JIRA: https://issues.redhat.com/browse/RHEL-66950
JIRA: https://issues.redhat.com/browse/RHEL-66977
JIRA: https://issues.redhat.com/browse/RHEL-68011
JIRA: https://issues.redhat.com/browse/RHEL-68909
JIRA: https://issues.redhat.com/browse/RHEL-69683
JIRA: https://issues.redhat.com/browse/RHEL-70053
CVE: CVE-2023-52490
CVE: CVE-2024-42316
CVE: CVE-2024-50182
CVE: CVE-2024-50199
CVE: CVE-2024-50200
CVE: CVE-2024-50219
CVE: CVE-2024-50228
CVE: CVE-2024-50272
CVE: CVE-2024-53097
CVE: CVE-2024-53105
CVE: CVE-2024-53136
This set proactively brings into RHEL9 core MM code a set of follow-up
fixes as they were pushed into upstream's stable v6.6 LTS branch, but
Mainline commits are backported instead in order to keep it easy to
track the RHEL backports against upstream. Dependencies were also
selectively backported where it made sense to do so, and all the
selected commits are sorted in upstream's topological order.
Omitted-fix: c567f2948f57 ("Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."")
Omitted-fix: 4b944f8ef996 ("Revert "mm/filemap: avoid buffered read/write race to read inconsistent data"")
Omitted-fix: 9d08ec41a064 ("mm: allow set/clear page_type again")
Omitted-fix: cc9bc36ebef7 ("mm: zswap: remove nr_zswap_stored atomic")
Omitted-fix: 0e4008447242 ("zswap: track swapins from disk more accurately")
Omitted-fix: 6359c39c9de6 ("mm: remove unused hugepage for vma_alloc_folio()")
Omitted-fix: 9b5c87d47949 ("mm: mmap_lock: check trace_mmap_lock_$type_enabled() instead of regcount")
Omitted-fix: 1390a3334a48 ("mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio")
Omitted-fix: f708f6970cc9 ("mm/hugetlb: fix kernel NULL pointer dereference when migrating hugetlb folio")
Omitted-fix: 4de22b2a6a74 ("mm: open-code PageTail in folio_flags() and const_folio_flags()")
Omitted-fix: 6a7de1bf218d ("mm: open-code page_folio() in dump_page()")
Omitted-fix: 40a024b81d1c ("ALSA: core: Drop superfluous no_free_ptr() for memdup_user() errors")
Omitted-fix: 9d197b627e5f ("docs/zh_CN: update the translation of mm/page_table_check.rst")
Omitted-fix: ce8f9fb651fa ("comedi: Flush partial mappings in error case")
Signed-off-by: Rafael Aquini raquini@redhat.com