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 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 versions
Linux kernel versions
5.18
and later are affected. Fixed in
6.0.7,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50657 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9f2ac64d6ca60db99132e08628ac2899f956a0ec
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ff0f6becf3a6f817838b6f80a2c9cca43dce0576
Frequently asked questions
-
What is CVE-2022-50657?
CVE-2022-50657 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.18 onward and has been patched in 6.0.7 and 6.1. CVE-2022-50657 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50657?
Yes — CVE-2022-50657 has been patched. Fixed versions include 6.0.7 and 6.1. If you are running Linux kernel 5.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50657 actively exploited?
No — CVE-2022-50657 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.