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

Commit 1b3c72b4 authored by Vijayanand Jitta's avatar Vijayanand Jitta Committed by Srinivasarao Pathipati
Browse files

ANDROID: mm: Fix page table lookup in speculative fault path



In speculative fault path, while doing page table lookup, offset
is obtained at each level and value at that offset is read and
checks are perfomed on it, later to get next level offset we read
from previous level offset again. A concurrent page table reclaimation
operation could result in change in value at this offset, and we go
ahead and access it, this would result in reading an invalid entry.
Fix this by reading from previous level offset again and comparing
before performing next level access.

Bug: 221005439
Change-Id: I66b3d24ae79c7ee5ccce4ba7a94f028f4cf3fda0
Signed-off-by: default avatarVijayanand Jitta <quic_vjitta@quicinc.com>
Signed-off-by: default avatarSrinivasarao Pathipati <quic_spathi@quicinc.com>
parent 3f1349ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment