CVE-2022-49852 Details
Description
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.
A vulnerability in the Linux kernel's RISC-V process management has been identified, allowing for an unintentional leak of kernel memory to userspace. This issue arises because the thread_struct's s[12] array may contain random kernel memory content. The vulnerability has been addressed by clearing the s[12] array in thread_struct during the fork process. Additionally, for kernel threads, it is recommended to clear the s[12] array as well.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb | kernel.org | Patch |
| https://git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc | kernel.org | Patch |
| https://git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.15, < 4.19.267 >= 4.20, < 5.4.225 >= 5.5, < 5.10.155 >= 5.11, < 5.15.79 >= 5.16, < 6.0.9 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |