diff options
author | Miaohe Lin <[email protected]> | 2021-09-02 14:58:22 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-09-03 09:58:15 -0700 |
commit | ea3732f7a1cf636284388988d1a1e56d5cba6044 (patch) | |
tree | b10edd0c45d46b87164a0804425a4da66e46ed5c /lib/mpi/mpi-mul.c | |
parent | ae611d072c5c2968e2cc29431cf58094d8971b94 (diff) |
mm/hwpoison: fix potential pte_unmap_unlock pte error
If the first pte is equal to poisoned_pfn, i.e. check_hwpoisoned_entry()
return 1, the wrong ptep - 1 would be passed to pte_unmap_unlock().
Link: https://lkml.kernel.org/r/[email protected]
Fixes: ad9c59c24095 ("mm,hwpoison: send SIGBUS with error virutal address")
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions