Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 4f65d715 authored by android-t1's avatar android-t1 Committed by Ahmed Harhash
Browse files

Integrate security patch 2023-02-05-CVE-2022-41222

Change-Id: I4dd6641e934a1ee16854e30bbfe23a81aae17f48
parent 39070763
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -225,11 +225,9 @@ unsigned long move_page_tables(struct vm_area_struct *vma,
			if (extent == HPAGE_PMD_SIZE) {
				bool moved;
				/* See comment in move_ptes() */
				if (need_rmap_locks)
				take_rmap_locks(vma);
				moved = move_huge_pmd(vma, old_addr, new_addr,
						    old_end, old_pmd, new_pmd);
				if (need_rmap_locks)
				drop_rmap_locks(vma);
				if (moved)
					continue;