CVE-2022-49004

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/10/2024
Last modified:
25/10/2024

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10 (including) 5.15.82 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.0.12 (excluding)
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*