# CVE-2026-98638: KVM: arm64: Validate the SVE vector length in pkvm\_vcpu\_init\_sve()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-10-18T15:20:09.380Z
- **Modified:** 2026-10-19T10:19:28.037Z

## Who should check

- Anyone running Linux \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< bae3e4493046de4fefa15f809d9b8dc114e84a3d; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9
- Anyone running Linux 6.16

## Description

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

KVM: arm64: Validate the SVE vector length in pkvm\_vcpu\_init\_sve()

pkvm\_vcpu\_init\_sve() clamps only the upper bound of the host-provided
sve\_max\_vl, so an invalid vector length reaches sve\_state\_size\_from\_vl()
and the WARN\_ON() there, which is fatal at EL2. The existing
!sve\_state\_size test rejects such a length, but only after the macro has
run.

Check sve\_vl\_valid() before deriving the state size. A valid length
cannot yield a zero size, so the !sve\_state\_size test goes with it.

## Affected and fixed versions

- Linux: \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< bae3e4493046de4fefa15f809d9b8dc114e84a3d; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9 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-98638. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98638.md
Affected: Linux >= 5db1bef933427aa467ad89c7b695a84a6b4afe16, < faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc; >= 5db1bef933427aa467ad89c7b695a84a6b4afe16, < bae3e4493046de4fefa15f809d9b8dc114e84a3d; >= 5db1bef933427aa467ad89c7b695a84a6b4afe16, < 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9; Linux 6.16
Fixed in: Linux 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9

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-98638 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< bae3e4493046de4fefa15f809d9b8dc114e84a3d; \>= 5db1bef933427aa467ad89c7b695a84a6b4afe16, \< 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9; Linux 6.16.

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

Yes. Fixed in Linux 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9. Upgrade Linux to 2a2eb10795a1e495aebc7f829ccecb72c05b4fd9 or later.

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

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/faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc>
- other: <https://git.kernel.org/stable/c/bae3e4493046de4fefa15f809d9b8dc114e84a3d>
- other: <https://git.kernel.org/stable/c/2a2eb10795a1e495aebc7f829ccecb72c05b4fd9>

## 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-98638>

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