CVE-2022-49852
published 2025-05-01CVE-2022-49852: 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…
PriorityP428high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.19%
9.4th percentile
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
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.10-1 (bookworm) | linux 6.0.10-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < c4601d30f7d989b4f354df899ab85b5f7a750d30 | c4601d30f7d989b4f354df899ab85b5f7a750d30 |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < c5c0b3167537793a7cf936fb240366eefd2fc7fb | c5c0b3167537793a7cf936fb240366eefd2fc7fb |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < e56d18a976dda653194218df6d40d8122c775712 | e56d18a976dda653194218df6d40d8122c775712 |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < cc36c7fa5d9384602529ba3eea8c5daee7be4dbc | cc36c7fa5d9384602529ba3eea8c5daee7be4dbc |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < 358a68f98304b40b201ba5afe94c20355aa3dc68 | 358a68f98304b40b201ba5afe94c20355aa3dc68 |
| linux | linux | >= 7db91e57a0acde126a162ababfb1e0ab190130cb < 6510c78490c490a6636e48b61eeaa6fb65981f4b | 6510c78490c490a6636e48b61eeaa6fb65981f4b |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 4.15 < 4.19.267 | 4.19.267 |
| linux | linux_kernel | >= 4.20 < 5.4.225 | 5.4.225 |
| linux | linux_kernel | >= 5.11 < 5.15.79 | 5.15.79 |
| linux | linux_kernel | >= 5.16 < 6.0.9 | 6.0.9 |
| linux | linux_kernel | >= 5.5 < 5.10.155 | 5.10.155 |
CVSS provenance
nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-49852: In the Linux kernel, the following vulnerability has been resolved: riscv: process: fix kernel info leakage thread_struct's s[12] may contain random k
osv·2025-05-01·CVSS 7.1
CVE-2022-49852 [HIGH] CVE-2022-49852: In the Linux kernel, the following vulnerability has been resolved: riscv: process: fix kernel info leakage thread_struct's s[12] may contain random k
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.
GHSA
GHSA-whm8-436x-pvrj: In the Linux kernel, the following vulnerability has been resolved:
riscv: process: fix kernel info leakage
thread_struct's s[12] may contain random
ghsa_unreviewed·2025-05-01
CVE-2022-49852 [HIGH] GHSA-whm8-436x-pvrj: In the Linux kernel, the following vulnerability has been resolved:
riscv: process: fix kernel info leakage
thread_struct's s[12] may contain random
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.
Red Hat
kernel: riscv: process: fix kernel info leakage
vendor_redhat·2025-05-01·CVSS 7.1
CVE-2022-49852 [HIGH] kernel: riscv: process: fix kernel info leakage
kernel: riscv: process: fix kernel info leakage
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package:
Debian
CVE-2022-49852: linux - In the Linux kernel, the following vulnerability has been resolved: riscv: proc...
vendor_debian·2022·CVSS 7.1
CVE-2022-49852 [HIGH] CVE-2022-49852: linux - In the Linux kernel, the following vulnerability has been resolved: riscv: proc...
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.
Scope: local
bookworm: resolved (fixed in 6.0.10-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.10-1)
sid: resolved (fixed in 6.0.10-1)
trixie: resolved (fixed in 6.0.10-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68https://git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4bhttps://git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30https://git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fbhttps://git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbchttps://git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712
2025-05-01
Published