CVE-2022-49852

published 1 May 2025 · updated 11 May 2026

riscv: process: fix kernel info leakage

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 358a68f98304b40b201ba5afe94c20355aa3dc68, Kernel 6510c78490c490a6636e48b61eeaa6fb65981f4b, Kernel c4601d30f7d989b4f354df899ab85b5f7a750d30 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=7db91e57a0acde126a162ababfb1e0ab190130cb <358a68f98304b40b201ba5afe94c20355aa3dc68, >=7db91e57a0acde126a162ababfb1e0ab190130cb <6510c78490c490a6636e48b61eeaa6fb65981f4b, >=7db91e57a0acde126a162ababfb1e0ab190130cb <c4601d30f7d989b4f354df899ab85b5f7a750d30, >=7db91e57a0acde126a162ababfb1e0ab190130cb <c5c0b3167537793a7cf936fb240366eefd2fc7fb, >=7db91e57a0acde126a162ababfb1e0ab190130cb <cc36c7fa5d9384602529ba3eea8c5daee7be4dbc, >=7db91e57a0acde126a162ababfb1e0ab190130cb <e56d18a976dda653194218df6d40d8122c775712358a68f98304b40b201ba5afe94c20355aa3dc68, 6510c78490c490a6636e48b61eeaa6fb65981f4b, c4601d30f7d989b4f354df899ab85b5f7a750d30, c5c0b3167537793a7cf936fb240366eefd2fc7fb, cc36c7fa5d9384602529ba3eea8c5daee7be4dbc, e56d18a976dda653194218df6d40d8122c775712

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49852 severity on Zeptric[![CVE-2022-49852](https://zeptric.io/badge/cve/CVE-2022-49852.svg)](https://zeptric.io/cve/CVE-2022-49852)