{"id":"CVE-2022-49852","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-05-01T15:16:08.787","lastModified":"2026-06-17T05:19:18.527","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: riscv: proceso: corrección de fuga de información del kernel. El array s[12] de thread_struct puede contener contenido aleatorio de memoria del kernel, que podría filtrarse al espacio de usuario. Esto representa una vulnerabilidad de seguridad. Para solucionarlo, borre la matriz s[12] de thread_struct al bifurcar. En el caso de kthread, es recomendable borrar también la matriz s[12]."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/riscv/kernel/process.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"c4601d30f7d989b4f354df899ab85b5f7a750d30","versionType":"git","status":"affected"},{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"c5c0b3167537793a7cf936fb240366eefd2fc7fb","versionType":"git","status":"affected"},{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"e56d18a976dda653194218df6d40d8122c775712","versionType":"git","status":"affected"},{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"cc36c7fa5d9384602529ba3eea8c5daee7be4dbc","versionType":"git","status":"affected"},{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"358a68f98304b40b201ba5afe94c20355aa3dc68","versionType":"git","status":"affected"},{"version":"7db91e57a0acde126a162ababfb1e0ab190130cb","lessThan":"6510c78490c490a6636e48b61eeaa6fb65981f4b","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/riscv/kernel/process.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","versionType":"semver","status":"unaffected"},{"version":"4.19.267","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.225","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.155","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.79","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.0.9","lessThanOrEqual":"6.0.*","versionType":"semver","status":"unaffected"},{"version":"6.1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15","versionEndExcluding":"4.19.267","matchCriteriaId":"A5C69A12-68E2-400E-9A5A-375A673C8402"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.225","matchCriteriaId":"94D21814-3051-4860-AB06-C7880A3D4933"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.155","matchCriteriaId":"172AC75C-0949-4468-9C58-64E2893EF0CE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.79","matchCriteriaId":"39DC45D8-E30E-4F4A-9332-393B7BCF6900"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.0.9","matchCriteriaId":"C3F26709-7D49-4AF0-8145-46CCF4E8E2AD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*","matchCriteriaId":"E7E331DA-1FB0-4DEC-91AC-7DA69D461C11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*","matchCriteriaId":"17F0B248-42CF-4AE6-A469-BB1BAE7F4705"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*","matchCriteriaId":"E2422816-0C14-4B5E-A1E6-A9D776E5C49B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*","matchCriteriaId":"1C6E00FE-5FB9-4D20-A1A1-5A32128F9B76"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/358a68f98304b40b201ba5afe94c20355aa3dc68","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6510c78490c490a6636e48b61eeaa6fb65981f4b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c4601d30f7d989b4f354df899ab85b5f7a750d30","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c5c0b3167537793a7cf936fb240366eefd2fc7fb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/cc36c7fa5d9384602529ba3eea8c5daee7be4dbc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e56d18a976dda653194218df6d40d8122c775712","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}