CVE-2026-98470

KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode

Published Oct 18, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode

kvm_pkvm_ioctl_allowed() WARNs when kvm_get_cap_for_kvm_ioctl() doesn't
find the ioctl number in vm_ioctl_caps[], and kvm_arch_vm_ioctl() calls
it for every number the generic code doesn't handle, so
ioctl(vm_fd, 0xdeadbeef) from userspace taints a pKVM host and panics it
under panic_on_warn. The lookup is fed userspace input: return false,
and userspace gets the -EINVAL kvm_arch_vm_ioctl() returns for that
number on a host without pKVM.

Analysis

AI-generated

Technical impact

In Linux kernel arm64 KVM, an unknown IOCTL number sent from user space triggers the generic ioctl handler to call a helper that warns when the opcode is not recognised. When the system is running with panic_on_warn enabled, this warning escalates to a kernel panic, crashing the host. The flaw arises because the input from the user is not validated before leading to a fatal kernel state, resulting in a denial‑of‑service condition.

Affected Systems

The vulnerability impacts Linux kernel builds that include the arm64 KVM module and have not yet incorporated the upstream patch that guards against unknown ioctl opcodes. All arm64 KVM implementations where the kernel’s vmlinux does not contain the commits identified by 49d9d295d69d07e850cae35933ba8519e2915f26 and cc53eb5c6515e3221314624a22c9da9c80a67f63 are affected. The specific kernel versions are not listed in the CVE data; administrators should verify whether their kernel includes these fixes or consult the changelog for the appropriate patch level.

Risk and Exploitability

With a CVSS score of 4.7, the vulnerability has a moderate overall severity. The EPSS score indicates a very low exploitation probability (< 1%), and it is not listed in the CISA KEV catalog. Exploitation still requires an attacker with the ability to send arbitrary ioctl requests to /dev/kvm, which can be performed locally or remotely if the device is exposed. On systems with panic_on_warn enabled, an unknown ioctl such as 0xdeadbeef will trigger a kernel panic, causing a denial‑of‑service. Given the low likelihood of exploitation but the severe impact of a kernel panic, the risk is significant in environments where KVM is exposed to untrusted workloads or when panic_on_warn is active.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the fix for unknown KVM IOCTL handling.
  • Restrict access to the /dev/kvm device so that only trusted users or privileged processes can issue IOCTL commands.
  • If patching cannot be performed immediately, disable the KVM module or prevent untrusted processes from creating virtual machines.

Generated by OpenCVE AI on October 23, 2026 at 07:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode kvm_pkvm_ioctl_allowed() WARNs when kvm_get_cap_for_kvm_ioctl() doesn't find the ioctl number in vm_ioctl_caps[], and kvm_arch_vm_ioctl() calls it for every number the generic code doesn't handle, so ioctl(vm_fd, 0xdeadbeef) from userspace taints a pKVM host and panics it under panic_on_warn. The lookup is fed userspace input: return false, and userspace gets the -EINVAL kvm_arch_vm_ioctl() returns for that number on a host without pKVM.
Title KVM: arm64: Don't WARN on an unknown VM ioctl in protected mode
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:20 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:16 PM
Modified
Oct 19, 2026, 10:18 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM