commit | fee5a83dfc4af016b8cd957d8bd4e289954588ef | [log] [tgz] |
---|---|---|
author | Lecopzer Chen <[email protected]> | Sat Jan 23 21:01:29 2021 -0800 |
committer | Greg Kroah-Hartman <[email protected]> | Wed Jan 27 11:55:23 2021 +0100 |
tree | d8ab02ff63a851f9fb0502bee298dbb80825f539 | |
parent | ecd63f04e72879b7c85c9e12698d2a3aabe34c94 [diff] |
kasan: fix incorrect arguments passing in kasan_add_zero_shadow commit 5dabd1712cd056814f9ab15f1d68157ceb04e741 upstream. kasan_remove_zero_shadow() shall use original virtual address, start and size, instead of shadow address. Link: https://lkml.kernel.org/r/[email protected] Fixes: 0207df4fa1a86 ("kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN") Signed-off-by: Lecopzer Chen <[email protected]> Reviewed-by: Andrey Konovalov <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Dan Williams <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Alexander Potapenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>