CVE
CVE-2022-49852
CVE-2022-49852HIGH 7.1EPSS 11%
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- 6.1-rc4This version only
- 6.1-rc3This version only
- 6.1-rc2This version only
- 6.1-rc1This version only
- ≥ 5.16, < 6.0.9Fixed in 6.0.9
- ≥ 5.11, < 5.15.79Fixed in 5.15.79
- ≥ 5.5, < 5.10.155Fixed in 5.10.155
- ≥ 4.20, < 5.4.225Fixed in 5.4.225
- ≥ 4.15, < 4.19.267Fixed in 4.19.267
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- 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
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.