{"id":"CVE-2022-49004","published":"2024-10-21T20:06:17Z","modified":"2026-05-11T18:51:20Z","title":"riscv: Sync efi page table's kernel mappings before switching","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Sync efi page table's kernel mappings before switching\n\nThe EFI page table is initially created as a copy of the kernel page table.\nWith VMAP_STACK enabled, kernel stacks are allocated in the vmalloc area:\nif the stack is allocated in a new PGD (one that was not present at the\nmoment of the efi page table creation or not synced in a previous vmalloc\nfault), the kernel will take a trap when switching to the efi page table\nwhen the vmalloc kernel stack is accessed, resulting in a kernel panic.\n\nFix that by updating the efi kernel mappings before switching to the efi\npage table.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00245,"percentile":0.16101,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fa7a7d185ef380546b4b1fed6f84f31dbae8cec7","tags":[]},{"url":"https://git.kernel.org/stable/c/96f479383d92944406d4b3f2bc03c2f640def9f1","tags":[]},{"url":"https://git.kernel.org/stable/c/3f105a742725a1b78766a55169f1d827732e62b8","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.22}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b91540d52a08b65eb6a2b09132e1bd54fa82754c, < fa7a7d185ef380546b4b1fed6f84f31dbae8cec7",">= b91540d52a08b65eb6a2b09132e1bd54fa82754c, < 96f479383d92944406d4b3f2bc03c2f640def9f1",">= b91540d52a08b65eb6a2b09132e1bd54fa82754c, < 3f105a742725a1b78766a55169f1d827732e62b8"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:14:45.523737Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53888","exploited":false,"provenance":"source"}}