CVE-2022-50657
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
09/12/2025
Última modificación:
09/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
riscv: mm: add missing memcpy in kasan_init<br />
<br />
Hi Atish,<br />
<br />
It seems that the panic is due to the missing memcpy during kasan_init.<br />
Could you please check whether this patch is helpful?<br />
<br />
When doing kasan_populate, the new allocated base_pud/base_p4d should<br />
contain kasan_early_shadow_{pud, p4d}&#39;s content. Add the missing memcpy<br />
to avoid page fault when read/write kasan shadow region.<br />
<br />
Tested on:<br />
- qemu with sv57 and CONFIG_KASAN on.<br />
- qemu with sv48 and CONFIG_KASAN on.



