What’s Vulnerable › Vulnerabilities

CVE-2022-49852: riscv: process: fix kernel info leakage

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.267, 5.10.155, 5.15.79, 5.4.225. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49852 or the next vulnerability affects your stack