Vulnerabilities · 2022 · Linux
CVE-2022-49852
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: riscv: process: fix kernel info leakage thread_struct's s[12] may contain random kernel memory content, which may be finally leaked to userspace. This is a security hole. Fix it by clearing the s[12] array in thread_struct when fork. As for kthread case, it's better to clear the s[12] array as well.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68 · Patch
- git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b · Patch
- git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30 · Patch
- git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb · Patch
- git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc · Patch
- git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-49852
- cve.org/CVERecord?id=CVE-2022-49852
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.