Bug 2363494 (CVE-2022-49852) - CVE-2022-49852 kernel: riscv: process: fix kernel info leakage
Summary: CVE-2022-49852 kernel: riscv: process: fix kernel info leakage
Keywords:
Status: NEW
Alias: CVE-2022-49852
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:06 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:06:58 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 05:38:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050144-CVE-2022-49852-a851@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.