We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49004

riscv: Sync efi page table's kernel mappings before switching



Description

In the Linux kernel, the following vulnerability has been resolved: riscv: Sync efi page table's kernel mappings before switching The EFI page table is initially created as a copy of the kernel page table. With VMAP_STACK enabled, kernel stacks are allocated in the vmalloc area: if the stack is allocated in a new PGD (one that was not present at the moment of the efi page table creation or not synced in a previous vmalloc fault), the kernel will take a trap when switching to the efi page table when the vmalloc kernel stack is accessed, resulting in a kernel panic. Fix that by updating the efi kernel mappings before switching to the efi page table.

Reserved 2024-08-22 | Published 2024-10-21 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

b91540d52a08b65eb6a2b09132e1bd54fa82754c before fa7a7d185ef380546b4b1fed6f84f31dbae8cec7
affected

b91540d52a08b65eb6a2b09132e1bd54fa82754c before 96f479383d92944406d4b3f2bc03c2f640def9f1
affected

b91540d52a08b65eb6a2b09132e1bd54fa82754c before 3f105a742725a1b78766a55169f1d827732e62b8
affected

Default status
affected

5.10
affected

Any version before 5.10
unaffected

5.15.82
unaffected

6.0.12
unaffected

6.1
unaffected

References

git.kernel.org/...c/fa7a7d185ef380546b4b1fed6f84f31dbae8cec7

git.kernel.org/...c/96f479383d92944406d4b3f2bc03c2f640def9f1

git.kernel.org/...c/3f105a742725a1b78766a55169f1d827732e62b8

cve.org (CVE-2022-49004)

nvd.nist.gov (CVE-2022-49004)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2022-49004

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.