CVE-2026-89775Linux
Improper handling of negative S1 walk levels in VNCR TLB size evaluation in KVM…
Critical 9.3
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 16, 2026
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
A vulnerability in the Linux kernel affects TLB invalidation handling in KVM ARM64 when the MMU is disabled. The pgshift_level_to_ttl() function does not properly handle negative levels, resulting in an incorrect invalidation size of 0. A local attacker with kernel access could exploit this to cause denial of service or memory corruption.
Show the original NVD text
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
Patch available
Update the Linux kernel to a version that includes the patch fixing the handling of negative levels in pgshift_level_to_ttl() and ttl_to_size().
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: kernel security, bug fix, and enhancement update · Red Hat · RHSA-2026:98608 · Nov 13, 2026 High
- Red Hat Security Advisory: kernel security, bug fix, and enhancement update · Red Hat · RHSA-2026:72624 · Sep 29, 2026 High
- kernel-devel-7.2.7-1.1 on GA media · SUSE · openSUSE-SU-2026:11880-1 · Sep 24, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.