CVE-2025-37818NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
EPSS
0.1%
top 78.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 8
Latest updateMay 13

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Return NULL from huge_pte_offset() for invalid PMD LoongArch's huge_pte_offset() currently returns a pointer to a PMD slot even if the underlying entry points to invalid_pte_table (indicating no mapping). Callers like smaps_hugetlb_range() fetch this invalid entry value (the address of invalid_pte_table) via this pointer. The generic is_swap_pte() check then incorrectly identifies this address as a swap entry on Lo

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages7 packages

NVDlinux/linux_kernel5.196.1.136+4
Debianlinux/linux_kernel< 6.1.137-1+2
CVEListV5linux/linuxfa96b57c149061f71a70bd6582d995f6424fbbf434256805720993e37adf6127371a1265aea8376a+5

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

2
OSV
CVE-2025-37818: In the Linux kernel, the following vulnerability has been resolved: LoongArch: Return NULL from huge_pte_offset() for invalid PMD LoongArch's huge_pte2025-05-08
GHSA
GHSA-4q4q-jv3m-fqjr: In the Linux kernel, the following vulnerability has been resolved: LoongArch: Return NULL from huge_pte_offset() for invalid PMD LoongArch's huge_p2025-05-08

📋Vendor Advisories

3
Microsoft
LoongArch: Return NULL from huge_pte_offset() for invalid PMD2025-05-13
Red Hat
kernel: LoongArch: Return NULL from huge_pte_offset() for invalid PMD2025-05-08
Debian
CVE-2025-37818: linux - In the Linux kernel, the following vulnerability has been resolved: LoongArch: ...2025