CVE-2022-49852 riscv: process: fix kernel info leakage
A flaw in the Linux kernel's RISC-V process handling allows local attackers to read uninitialized kernel memory, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49852?
CVE-2022-49852 is a high-severity vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-49852?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49852?
Apply the vendor's patch.
Is CVE-2022-49852 being exploited?
There is no known exploitation of CVE-2022-49852 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49852, GHSA-whm8-436x-pvrj, UBUNTU-CVE-2022-49852.