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 C14F24A0F0C for ; Thu, 24 Sep 2026 15:56:07 +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=1790265368; cv=none; b=GMmhDhJOIpvl0Xpvn/GgCGIyBv4hSHAeqfEJA4wwDDVJQYx1i7A2lEGxeXakvX4BzRdp3dCP2oqE48AUXcPeD8t3vIcLeO+Zl0wgL3YfLlnK9YbL+y3rdF7HjYVYZuYo9OlBo+icZL95JQ9gGO5Wi1jK60euyN6juIfAvX3it9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790265368; c=relaxed/simple; bh=xgaghUgrGHyZY6ZIQ7pAT2uyqC9WCJlTINvHmt9bJyw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kbuUBU2I0dfgadXxHOmUMahWslTUSlwx0/uw4sxkvgi7Xi/ZZ2oboKclnPsS4prFetQYMSo/qVSMoBljddvAPpP+Y05b/nmLXNzrxuKbk7JLH8zVdkPSoqeL6OI4dgdwmd60SAcnDlnLiEQ9wWsQap6ecL/J1CFHZF0Ble+6Un4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YMqkLLIg; 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="YMqkLLIg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA6C11F000FF; Thu, 24 Sep 2026 15:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790265367; bh=B2PyZeA4xhhnMiviJNO52OpJbphB67cMgW6tdOywUcA=; h=From:To:Cc:Subject:Date:Reply-To; b=YMqkLLIgIqGg2xFT0bQmWEcEL6FEV/+VM+L57R1Fm5doson9jFtHvTTcxX7wRBi74 DKVXrEqyE4tK/lUZyWsIvn2PoZPf3EQ+LxqF7E6pfhptJI8TePYtW1JgacZV5M6+eN /Q9oIav1CaHJ2HyoUdw0MP78T5iWer3MFVP/EIyg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93254: arm64: entry: Avoid unnecessary local_irq_disable() on kernel exit Date: Thu, 24 Sep 2026 17:51:14 +0200 Message-ID: <2026092408-CVE-2026-93254-4b39@gregkh> X-Mailer: git-send-email 2.55.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=3473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Vji+7QGO+G0oTstSmQ8i9xSxuAU36F5Hne5SQWFWbNo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlb3d68aE7IO/P6RZCCz3HNJxGHJhze90CC1UOn5uTmz c47BBawdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1uYxzOGYn71ow/nVjIop tyVlK+o33Is9Y8WwYNaW7S3mX9633YpMuWecrnz4P5/AJAA= 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: entry: Avoid unnecessary local_irq_disable() on kernel exit Currently, when exiting to kernel mode, we attempt involuntary preemption. The preemption logic expects IRQs to be disabled, which is why we call local_irq_disable() before attempting preemption. However, depending on the context, local_irq_disable() may be unnecessary: - __el1_irq(), the non-NMI EL1 IRQ path, already has IRQs disabled, so local_irq_disable() is redundant. - irqentry_exit_to_kernel_mode_preempt() immediately returns when exiting from an NMI-like context, so calling local_irq_disable() beforehand is unnecessary work. Furthermore, it confuses the pNMI state tracking when we are in a context with interrupts disabled and the GIC_PRIO_PSR_I_SET bit is set in the PMR, leading to a warning when CONFIG_ARM64_DEBUG_PRIORITY_MASKING=y: WARNING: ./arch/arm64/include/asm/irqflags.h:63 at arm64_exit_to_kernel_mode+0xb8/0xc0, CPU#40: retsnoop/31805 CPU: 40 UID: 0 PID: 31805 Comm: retsnoop Not tainted 7.2.0-rc6-next-20260805 #7 PREEMPTLAZY pstate: 234013c9 (nzCv DAIF +PAN -UAO +TCO +DIT +SSBS BTYPE=--) pc : arm64_exit_to_kernel_mode (arch/arm64/kernel/entry-common.c:63) lr : el1_abort (arch/arm64/kernel/entry-common.c:323) pmr: 000000f0 Call trace: arm64_exit_to_kernel_mode (arch/arm64/kernel/entry-common.c:63) (P) el1_abort (arch/arm64/kernel/entry-common.c:323) el1h_64_sync_handler (arch/arm64/kernel/entry-common.c:449) el1h_64_sync (arch/arm64/kernel/entry.S:589) [...] Split arm64_exit_to_kernel_mode() into preempt, non-preempt, and dispatch parts so that we can avoid this extra work where it is not needed and avoid breaking the pNMI tracking logic. The Linux kernel CVE team has assigned CVE-2026-93254 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit ae654112eac05f316ef31587fc55e4d7160d0086 and fixed in 7.2.6 with commit 49a61174186bed25d439ff37400c7ce5e3603e73 Issue introduced in 7.1 with commit ae654112eac05f316ef31587fc55e4d7160d0086 and fixed in 7.3-rc1 with commit 39aebe0e89469c2904e60b1e977e0d4dbf33326b 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-93254 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: arch/arm64/kernel/entry-common.c 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/49a61174186bed25d439ff37400c7ce5e3603e73 https://git.kernel.org/stable/c/39aebe0e89469c2904e60b1e977e0d4dbf33326b