# CVE-2026-93237: LoongArch: Add DIRECT\_MAP\_PHYSMEM\_END definition

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-24T15:33:51.702Z
- **Modified:** 2026-10-19T10:17:14.793Z

## Who should check

- Anyone running Linux \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< ab275a23b4d9f04ca6c2f5f6a3246194e045a761; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 55e18311c705cceef6c34d522ea387b1f0069bab; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 2677f97a67fdbc62a82ce1faa67791f54451d36f
- Anyone running Linux 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: Add DIRECT\_MAP\_PHYSMEM\_END definition

get\_free\_mem\_region() and mhp\_get\_pluggable\_range() bound their search
to DIRECT\_MAP\_PHYSMEM\_END. LoongArch does not define it, so the fallback
in include/linux/mm.h applies: under CONFIG\_SPARSEMEM\_VMEMMAP it is
(1ULL \<\< MAX\_PHYSMEM\_BITS) - 1, a compile-time constant that does not
adapt to the CPU's physical address space bits (cpu\_pabits, probed from
CPUCFG1).

The vmemmap window only covers physical space below 2^(cpu\_pabits+1)
(i.e. VMEMMAP\_SIZE), so on CPUs with fewer physical address bits than
MAX\_PHYSMEM\_BITS the fallback allows get\_free\_mem\_region() to return
a ZONE\_DEVICE region outside the vmemmap window; vmemmap\_populate() then
wraps the memmap range around and maps it into low memory, silently
corrupting the page tables. The same search also picked the top-of-
address-space region that crashed memmap\_init\_zone\_device() with amdkfd
on Loongson-3C6000 in 6.16 \[1\]; the commit 2969b42c8f99 ("LoongArch/mm:
align vmemmap to maximal folio size") keeps that region in bounds on
current Loongson-3C6000 configs, but CPUs with smaller cpu\_pabits (e.g.
the Loongson-2K series) are still affected.

Define DIRECT\_MAP\_PHYSMEM\_END as the vmemmap-covered physical range,
(1ULL \<\< (cpu\_pabits + 1)) - 1, capped at (1ULL \<\< MAX\_PHYSMEM\_BITS) - 1
under CONFIG\_SPARSEMEM, similar to the commit f3336b48cf9d ("riscv: mm:
Define DIRECT\_MAP\_PHYSMEM\_END").

\[1\] https://lore.kernel.org/amd-gfx/20250814032153.227285-1-jeffbai@aosc.io/

## Affected and fixed versions

- Linux: \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< ab275a23b4d9f04ca6c2f5f6a3246194e045a761; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 55e18311c705cceef6c34d522ea387b1f0069bab; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 2677f97a67fdbc62a82ce1faa67791f54451d36f (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 2677f97a67fdbc62a82ce1faa67791f54451d36f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93237. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93237.md
Affected: Linux >= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, < ab275a23b4d9f04ca6c2f5f6a3246194e045a761; >= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, < 55e18311c705cceef6c34d522ea387b1f0069bab; >= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, < 2677f97a67fdbc62a82ce1faa67791f54451d36f; Linux 6.2
Fixed in: Linux 55e18311c705cceef6c34d522ea387b1f0069bab, Linux 2677f97a67fdbc62a82ce1faa67791f54451d36f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93237 being exploited?

There is no confirmed exploitation: CVE-2026-93237 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93237?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-93237?

Linux \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< ab275a23b4d9f04ca6c2f5f6a3246194e045a761; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 55e18311c705cceef6c34d522ea387b1f0069bab; \>= 7b09f5af01ede480cbe7abcb281cf17550a46ff5, \< 2677f97a67fdbc62a82ce1faa67791f54451d36f; Linux 6.2.

### Is there a fix for CVE-2026-93237?

Yes. Fixed in Linux 55e18311c705cceef6c34d522ea387b1f0069bab, Linux 2677f97a67fdbc62a82ce1faa67791f54451d36f. Upgrade Linux to 2677f97a67fdbc62a82ce1faa67791f54451d36f or later.

### How do I check if I'm affected by CVE-2026-93237?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ab275a23b4d9f04ca6c2f5f6a3246194e045a761>
- other: <https://git.kernel.org/stable/c/55e18311c705cceef6c34d522ea387b1f0069bab>
- other: <https://git.kernel.org/stable/c/2677f97a67fdbc62a82ce1faa67791f54451d36f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93237>

HTML: <https://flawdb.com/CVE-2026-93237> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93237>
