{"id":"CVE-2022-49852","summary":"riscv: process: fix kernel info leakage","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: process: fix kernel info leakage\n\nthread_struct's s[12] may contain random kernel memory content, which\nmay be finally leaked to userspace. This is a security hole. Fix it\nby clearing the s[12] array in thread_struct when fork.\n\nAs for kthread case, it's better to clear the s[12] array as well.","modified":"2026-04-02T08:27:59.523622Z","published":"2025-05-01T14:10:07.001Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49852.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49852.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49852"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7db91e57a0acde126a162ababfb1e0ab190130cb"},{"fixed":"c4601d30f7d989b4f354df899ab85b5f7a750d30"},{"fixed":"c5c0b3167537793a7cf936fb240366eefd2fc7fb"},{"fixed":"e56d18a976dda653194218df6d40d8122c775712"},{"fixed":"cc36c7fa5d9384602529ba3eea8c5daee7be4dbc"},{"fixed":"358a68f98304b40b201ba5afe94c20355aa3dc68"},{"fixed":"6510c78490c490a6636e48b61eeaa6fb65981f4b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49852.json"}}],"schema_version":"1.7.5"}