Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's handling of huge pages on LoongArch architecture can lead to kernel crashes. The issue arises because the huge_pte_offset() function returns a pointer to a PMD slot even when the entry indicates no mapping. This invalid pointer is misinterpreted as a valid swap entry, causing crashes when the kernel attempts to process it as a swap entry. The vulnerability affects several versions of the Linux kernel.
The vulnerability can cause kernel crashes by misinterpreting invalid page table entries as valid swap entries, leading to failures in the kernel's page handling functions.
The vulnerability has been addressed by modifying the huge_pte_offset() function to check the validity of the PMD entry before returning a pointer. Users should ensure they are using a version of the Linux kernel that includes this fix.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.