Revert "mm/shmem: unconditionally set pte dirty in mfill_atomic_install_pte"
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2022-2590
This reverts upstream commit
9ae0f87d009ca6c4aab2882641ddfc319727e3db.
David Hildenbrand reports:
Note 2: Kernels before extended uffd-wp support and before
PageAnonExclusive (< 5.19) can simply revert the problematic
commit instead and be safe regarding UFFDIO_CONTINUE. A backport to
v5.19 requires minor adjustments due to lack of
vma_soft_dirty_enabled().
Link: https://lore.kernel.org/linux-mm/20220808073232.8808-1-david@redhat.com/
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name Revert-mm-shmem-unconditionally-set-pte-dirty-in-mfi.patch