๐Ÿ” CVE Alert

CVE-2022-50657

UNKNOWN 0.0

riscv: mm: add missing memcpy in kasan_init

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Dec 9, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
8fbdccd2b17335e1881a23865e98c63fcc345938 < ff0f6becf3a6f817838b6f80a2c9cca43dce0576 8fbdccd2b17335e1881a23865e98c63fcc345938 < 9f2ac64d6ca60db99132e08628ac2899f956a0ec
Linux / Linux
5.18

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/ff0f6becf3a6f817838b6f80a2c9cca43dce0576 git.kernel.org: https://git.kernel.org/stable/c/9f2ac64d6ca60db99132e08628ac2899f956a0ec