CVE-2022-50657
not scored yetIn the Linux kernel, the following vulnerability has been resolved:
riscv: mm: add missing memcpy in kasan_init
Hi Atish,
It seems that the panic is due to the missing memcpy during kasan_init.
Could you please check whether this patch is helpful?
When doing kasan_populate, the new allocated base_pud/base_p4d should
contain kasan_early_shadow_{pud, p4d}'s content. Add the missing memcpy
to avoid page fault when read/write kasan shadow region.
Tested on:
- qemu with sv57 and CONFIG_KASAN on.
- qemu with sv48 and CONFIG_KASAN on.
- Published
- 9 Dec 2025
- Last modified
- 10 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Deferred
- Sources
- NVDJSON
References
- https://git.kernel.org/stable/c/9f2ac64d6ca60db99132e08628ac2899f956a0ec
- https://git.kernel.org/stable/c/ff0f6becf3a6f817838b6f80a2c9cca43dce0576
History
- 25 Nov 2026 20:59 UTC ยท NVD: first stored (published 9 Dec 2025)