cbcvebase.
CVE-2022-50657
published 2025-12-09

CVE-2022-50657: In 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…

PriorityP424
EPSS
0.20%
10.2th percentile
In 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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.7-1 (bookworm)linux 6.0.7-1 (bookworm)
linuxlinux
linuxlinux>= 8fbdccd2b17335e1881a23865e98c63fcc345938 < ff0f6becf3a6f817838b6f80a2c9cca43dce0576ff0f6becf3a6f817838b6f80a2c9cca43dce0576
linuxlinux>= 8fbdccd2b17335e1881a23865e98c63fcc345938 < 9f2ac64d6ca60db99132e08628ac2899f956a0ec9f2ac64d6ca60db99132e08628ac2899f956a0ec
linuxlinux_kernel>= 0 < 6.0.7-16.0.7-1
linuxlinux_kernel>= 0 < 6.0.7-16.0.7-1
linuxlinux_kernel>= 0 < 6.0.7-16.0.7-1
linuxlinux_kernel>= 5.18.0 < 6.0.76.0.7
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.