Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11B0D4D0CE9 for ; Sun, 18 Oct 2026 15:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337244; cv=none; b=bjDlLhIipdxMGdRdCK5F0cBA2ufMc2ARqT+I5kirnaNQLU509R9mQdq9brB74sCNVqDhR5P7tAkhJEc0LemkLpIF1cqHgE/1WirGuN+vFzQTRYLTO2g7xNww5TldQyB93IfID6imkgTfmrOIyaB1q5RHyzmtKpTBFdb+PXZlVJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337244; c=relaxed/simple; bh=X/dvLzFZ1w+IjAyZmvpKsm6PFqrUPKfYHw/UAqQ2rbQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OQc76Hw3rSXq//qBqmVkxEfBLfoaIOmNB/4SSlrXgazp5cgGWDqoNh+z5XT5E5nskxSCom8EifhCJnsgRfrjXiGoJ6poXc62SVWZcdwxz9MdCkVkwW7kppIDZS3BiQT4ymmiaF2DEw8QaGglSoEehg8+Bmob1dzMAG/K2S+EiaU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dNVy4oV0; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dNVy4oV0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACEE01F000C4; Sun, 18 Oct 2026 15:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337241; bh=brHnY1Wiz3OnM6yHvxW88uEUs0R0Y9k6jDi6sm50EVg=; h=From:To:Cc:Subject:Date:Reply-To; b=dNVy4oV0KoibEWedED/sbBssNuaKFDdtUqMoQcQ2zPZee3CmeyevwzONvLVMaXqnC foSwiWLGlTxQcEkI5w8lASkZSb2RwGUflFuAgUk4yWQTc+cZ+GRFeFd4tTeQHByGRo gZgiXa+4R23t0gjFkOHiY+vvGDSsbIxOHzrfLV1Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98546: arm64/boot: Disable trapping of PMZR_EL0 writes to EL2 Date: Sun, 18 Oct 2026 17:16:50 +0200 Message-ID: <2026101827-CVE-2026-98546-3aa6@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3020; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cWahNAeWhb8F/2fMbelNnN0uF6pZfG1rRa567CCW3BI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHvVHPpFYW7NtwcVdsnPTgl4WzWBrPHRTgcuMz7tg0 l836/j/HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRfy8ZFlx56DLTl1/uhUyG /5Vd+Qoxeo+WP2WYZ+p6xeKoKXOzlpjnkx+py52uXjzoDQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98546 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.25 with commit 686d8f7b592f3466f44aea653c8147611b351c83 and fixed in 6.12.112 with commit bb8c90c86441c090e9036f019cf1b4d7894a2c40 Issue introduced in 6.15 with commit 858c7bfcb35e1100b58bb63c9f562d86e09418d9 and fixed in 6.18.55 with commit 071f51188a5d8ec10535541255587976d12fc7d8 Issue introduced in 6.15 with commit 858c7bfcb35e1100b58bb63c9f562d86e09418d9 and fixed in 7.2.9 with commit ce71865bf43f88bed9d9218e9218e537150be506 Issue introduced in 6.15 with commit 858c7bfcb35e1100b58bb63c9f562d86e09418d9 and fixed in 7.3-rc5 with commit 2bc6b218717b9d08f466f88209251d54bc09b207 Issue introduced in 6.14.4 with commit 882f78400322c0aec4b641a7168adad9a66bc0c2 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98546 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: Documentation/arch/arm64/booting.rst arch/arm64/include/asm/el2_setup.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/bb8c90c86441c090e9036f019cf1b4d7894a2c40 https://git.kernel.org/stable/c/071f51188a5d8ec10535541255587976d12fc7d8 https://git.kernel.org/stable/c/ce71865bf43f88bed9d9218e9218e537150be506 https://git.kernel.org/stable/c/2bc6b218717b9d08f466f88209251d54bc09b207