CVE-2022-49852 json
riscv: process: fix kernel info leakage
published 2025-05-01 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-12903
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.267, 5.4.225, 5.10.155, 5.15.79, 6.0.9, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.10-1
debian advisories DEBIAN-CVE-2022-49852
- linux Ubuntu 18.04 LTS 4.15.0-206.217
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 18.04 LTS 4.15.0-1151.164
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
ubuntu advisories UBUNTU-CVE-2022-49852
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30 commit
- git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb commit
- git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712 commit
- git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc commit
- git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68 commit
- git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49852 updated
kernel: riscv: process: fix kernel info leakage
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30
patch
-
git.kernel.org
/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb
patch
-
git.kernel.org
/stable/c/e56d18a976dda653194218df6d40d8122c775712
patch
-
git.kernel.org
/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc
patch
-
git.kernel.org
/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68
patch
-
git.kernel.org
/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b
patch
Sources
- CVE List CVE-2022-49852
- NVD CVE-2022-49852
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.