summaryrefslogtreecommitdiff
path: root/Documentation/locking
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-09-03 00:58:22 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 19:58:15 +0300
commitea3732f7a1cf636284388988d1a1e56d5cba6044 (patch)
treeb10edd0c45d46b87164a0804425a4da66e46ed5c /Documentation/locking
parentae611d072c5c2968e2cc29431cf58094d8971b94 (diff)
downloadlinux-ea3732f7a1cf636284388988d1a1e56d5cba6044.tar.xz
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/20210814105131.48814-3-linmiaohe@huawei.com Fixes: ad9c59c24095 ("mm,hwpoison: send SIGBUS with error virutal address") Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/locking')
0 files changed, 0 insertions, 0 deletions