# CVE-2026-89981: arm64: Don't read GMID_EL1 when MTE is disabled

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:32:58.056Z
- Modified: 2026-10-19T09:18:45.013Z
- Assigned by: Linux

## Description

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

arm64: Don't read GMID_EL1 when MTE is disabled

__cpuinfo_store_cpu() gates the GMID_EL1 read on the raw
ID_AA64PFR1_EL1, so it reads the register even when the kernel has
disabled MTE (CONFIG_ARM64_MTE=n or arm64.nomte). KVM sets HCR_EL2.TID5
in that case, and pKVM injects an UNDEF the host cannot handle:

  Internal error: Oops - Undefined instruction: 0000000002000000 [#1]  SMP
  pc : __cpuinfo_store_cpu+0xf4/0x264
  Kernel panic - not syncing: Attempted to kill the idle task!

Only pKVM reaches it, and only after a CPU is offlined and brought back
online: its CPU_ON relay sets the host HCR before the CPU enters EL1,
while plain nVHE sets it at CPUHP_AP_KVM_ONLINE.

Gate the read on the CPU's own ID_AA64PFR1_EL1 with the command-line
override applied, and on CONFIG_ARM64_MTE, which no register reflects.
The boot CPU stores its registers before init_cpu_features() strips an
unsafe override, so clamp against the hardware value here too.

(As written by CVE List.)

## Affected

- Linux Linux: from f35abcbb8a084db4c24b66ccc8db0405c08e2f61 before d2d22ff377cd43f2e9660426ff22e3cd4c534637; from f35abcbb8a084db4c24b66ccc8db0405c08e2f61 before 5445d64199626974269fcdf347769ad44b0bb53b; 7.0 (not affected: before 7.0; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d2d22ff377cd43f2e9660426ff22e3cd4c534637>
- <https://git.kernel.org/stable/c/5445d64199626974269fcdf347769ad44b0bb53b>

## Sources

- CVE List: [CVE-2026-89981](https://www.cve.org/CVERecord?id=CVE-2026-89981), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89981](https://nvd.nist.gov/vuln/detail/CVE-2026-89981), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89981 · Whole record: https://cve.day/CVE-2026-89981.json · Rebuilt by cve.day 2026-11-25T22:59:39.001Z
