{"id":"CVE-2024-46792","summary":"riscv: misaligned: Restrict user access to kernel memory","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: misaligned: Restrict user access to kernel memory\n\nraw_copy_{to,from}_user() do not call access_ok(), so this code allowed\nuserspace to access any virtual memory address.","modified":"2026-04-02T12:19:41.682570Z","published":"2024-09-18T07:12:47.455Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46792.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/a3b6ff6c896aee5ef9b581e40d0045ff04fcbc8c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b686ecdeacf6658e1348c1a32a08e2e72f7c0f00"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46792.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46792"},{"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":"7c83232161f609bbc452a1255f823f41afc411dd"},{"fixed":"a3b6ff6c896aee5ef9b581e40d0045ff04fcbc8c"},{"fixed":"b686ecdeacf6658e1348c1a32a08e2e72f7c0f00"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46792.json"}}],"schema_version":"1.7.5"}