Skip to main content
VulnerabilityPublished Updated

CVE-2025-37818: Linux kernel · LoongArch: Return NULL from huge_pte_offset() for invalid PMD LoongArch's

Affects Linux kernelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium · fixed in 6.14.0-1011.11~24.04.1 : update Linux kernel when convenient.

Data as of 24 Nov 2026, 19:55 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.14.0-1011.11~24.04.1, 6.14.0-1010.10~24.04.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu to 6.14.0-1011.11~24.04.1 (linux-gcp-6.14 package) or 6.14.0-1010.10~24.04.1 (linux-realtime-6.14 package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinux-gcp-6.14pkg:deb/ubuntu/linux-gcp-6.14?arch=source&distro=nobleOther threatsAffected
  • <6.14.0-1011.11~24.04.1
Fixed in
  • 6.14.0-1011.11~24.04.1
Ubuntu Pro Realtime 24.04 LTSlinux-realtime-6.14pkg:deb/ubuntu/linux-realtime-6.14?arch=source&distro=realtime/nobleOther threatsAffected
  • <6.14.0-1010.10~24.04.1
Fixed in
  • 6.14.0-1010.10~24.04.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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 LoongArch, because it satisfies the "!pte_present() && !pte_none()" conditions. This misinterpretation, combined with a coincidental match by is_migration_entry() on the address bits, leads to kernel crashes in pfn_swap_entry_to_page(). Fix this at the architecture level by modifying huge_pte_offset() to check the PMD entry's content using pmd_none() before returning. If the entry is invalid (i.e., it points to invalid_pte_table), return NULL instead of the pointer to the slot.

References

Community reviews

Loading reviews…