# CVE-2021-46910: ARM: 9063/1: mm: reduce maximum number of CPUs if DEBUG\_KMAP\_LOCAL is enabled

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.20% (percentile 6, 2026-11-28)
- **Published:** 2024-02-27T06:53:50.828Z
- **Modified:** 2026-08-05T08:45:00.985Z

## Who should check

- Anyone running Linux \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< 5965ac11b1d5fcb38464728931649cd9df79c7c9; \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< d624833f5984d484c5e3196f34b926f9e71dafee
- Anyone running Linux 5.11

## Description

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

ARM: 9063/1: mm: reduce maximum number of CPUs if DEBUG\_KMAP\_LOCAL is enabled

The debugging code for kmap\_local() doubles the number of per-CPU fixmap
slots allocated for kmap\_local(), in order to use half of them as guard
regions. This causes the fixmap region to grow downwards beyond the start
of its reserved window if the supported number of CPUs is large, and collide
with the newly added virtual DT mapping right below it, which is obviously
not good.

One manifestation of this is EFI boot on a kernel built with NR\_CPUS=32
and CONFIG\_DEBUG\_KMAP\_LOCAL=y, which may pass the FDT in highmem, resulting
in block entries below the fixmap region that the fixmap code misidentifies
as fixmap table entries, and subsequently tries to dereference using a
phys-to-virt translation that is only valid for lowmem. This results in a
cryptic splat such as the one below.

  ftrace: allocating 45548 entries in 89 pages
  8\<--- cut here ---
  Unable to handle kernel paging request at virtual address fc6006f0
  pgd = (ptrval)
  \[fc6006f0\] \*pgd=80000040207003, \*pmd=00000000
  Internal error: Oops: a06 \[\#1\] SMP ARM
  Modules linked in:
  CPU: 0 PID: 0 Comm: swapper Not tainted 5.11.0+ \#382
  Hardware name: Generic DT based system
  PC is at cpu\_ca15\_set\_pte\_ext+0x24/0x30
  LR is at \_\_set\_fixmap+0xe4/0x118
  pc : \[\<c041ac9c\>\]    lr : \[\<c04189d8\>\]    psr: 400000d3
  sp : c1601ed8  ip : 00400000  fp : 00800000
  r10: 0000071f  r9 : 00421000  r8 : 00c00000
  r7 : 00c00000  r6 : 0000071f  r5 : ffade000  r4 : 4040171f
  r3 : 00c00000  r2 : 4040171f  r1 : c041ac78  r0 : fc6006f0
  Flags: nZcv  IRQs off  FIQs off  Mode SVC\_32  ISA ARM  Segment none
  Control: 30c5387d  Table: 40203000  DAC: 00000001
  Process swapper (pid: 0, stack limit = 0x(ptrval))

So let's limit CONFIG\_NR\_CPUS to 16 when CONFIG\_DEBUG\_KMAP\_LOCAL=y. Also,
fix the BUILD\_BUG\_ON() check that was supposed to catch this, by checking
whether the region grows below the start address rather than above the end
address.

## Affected and fixed versions

- Linux: \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< 5965ac11b1d5fcb38464728931649cd9df79c7c9; \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< d624833f5984d484c5e3196f34b926f9e71dafee (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-46910.md
Affected: Linux >= 2a15ba82fa6ca3f35502b3060f22118a938d2889, < 5965ac11b1d5fcb38464728931649cd9df79c7c9; >= 2a15ba82fa6ca3f35502b3060f22118a938d2889, < d624833f5984d484c5e3196f34b926f9e71dafee; Linux 5.11
Fixed in: Linux 5965ac11b1d5fcb38464728931649cd9df79c7c9

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-2021-46910 being exploited?

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

### How serious is CVE-2021-46910?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-46910?

Linux \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< 5965ac11b1d5fcb38464728931649cd9df79c7c9; \>= 2a15ba82fa6ca3f35502b3060f22118a938d2889, \< d624833f5984d484c5e3196f34b926f9e71dafee; Linux 5.11.

### Is there a fix for CVE-2021-46910?

Yes. Fixed in Linux 5965ac11b1d5fcb38464728931649cd9df79c7c9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-46910?

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

- patch: <https://git.kernel.org/stable/c/5965ac11b1d5fcb38464728931649cd9df79c7c9>
- patch: <https://git.kernel.org/stable/c/d624833f5984d484c5e3196f34b926f9e71dafee>

## 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-2021-46910>

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