CVE-2026-98546

arm64/boot: Disable trapping of PMZR_EL0 writes to EL2

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:

arm64/boot: Disable trapping of PMZR_EL0 writes to EL2

__init_el2_fgt2() writes one mask to both HDFGRTR2_EL2 and HDFGWTR2_EL2.
PMZR_EL0 is write-only, so its trap bit, nPMZR_EL0, exists only in
HDFGWTR2_EL2 and is therefore never set: a PMZR_EL0 write from the host
traps to EL2, where the nVHE hypervisor has no handler and BUG()s. The
kernel never writes PMZR_EL0, but kernel.perf_user_access=1 has the PMU
driver set PMUSERENR_EL0.UEN for a task with a user-read event, so a
write from EL0 reaches the trap and takes the host down without a panic
message.

Accumulate the HDFGWTR2_EL2 bits separately, as __init_el2_fgt() already
does for HDFGWTR_EL2, and set nPMZR_EL0 with the other FEAT_PMUv3p9
bits.

Analysis

AI-generated

Technical impact

The flaw lies in the ARM64 Linux kernel’s boot code where writes to the PMZr_EL0 register are not correctly trapped when the system is executing in EL2. Because the trap bit for PMZr_EL0 never gets set, a user‑space write can be delivered to the hypervisor domain and trigger a BUG() without producing a standard panic message, causing the host to crash. The vulnerability therefore allows a privileged user process to bring down the entire kernel, potentially interrupting services without obvious log entries.

Affected Systems

All ARM64 Linux kernel builds that contain the unpatched boot sequence are vulnerable. The advisory does not specify a version range, so any kernel prior to the patch that introduces proper trap handling for PMZr_EL0 is considered at risk.

Risk and Exploitability

The CVSS score of 4.7 indicates a low severity impact, and the EPSS score of less than 1% shows the likelihood of exploitation is very low. The vulnerability is not listed in CISA's KEV catalog. The attack vector is expected to be local: a privileged or compromised user‑space process that writes to PMZr_EL0 via the perf interface when kernel.perf_user_access=1 can trigger the kernel BUG() in EL2, causing a host crash without a standard panic message, which may make detection harder.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a patched version that disables trapping of PMZr_EL0 writes in EL2
  • If an update is delayed, set kernel.perf_user_access=0 to prevent user‑space PMU write access
  • Apply any vendor‑supplied updates for the hypervisor or firmware that address ARM64 trap handling bugs

Generated by OpenCVE AI on October 22, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
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-665
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-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: arm64/boot: Disable trapping of PMZR_EL0 writes to EL2 __init_el2_fgt2() writes one mask to both HDFGRTR2_EL2 and HDFGWTR2_EL2. PMZR_EL0 is write-only, so its trap bit, nPMZR_EL0, exists only in HDFGWTR2_EL2 and is therefore never set: a PMZR_EL0 write from the host traps to EL2, where the nVHE hypervisor has no handler and BUG()s. The kernel never writes PMZR_EL0, but kernel.perf_user_access=1 has the PMU driver set PMUSERENR_EL0.UEN for a task with a user-read event, so a write from EL0 reaches the trap and takes the host down without a panic message. Accumulate the HDFGWTR2_EL2 bits separately, as __init_el2_fgt() already does for HDFGWTR_EL2, and set nPMZR_EL0 with the other FEAT_PMUv3p9 bits.
Title arm64/boot: Disable trapping of PMZR_EL0 writes to EL2
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:21 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM