CVE-2026-93254
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/09/2026
Última modificación:
24/09/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
arm64: entry: Avoid unnecessary local_irq_disable() on kernel exit<br />
<br />
Currently, when exiting to kernel mode, we attempt involuntary<br />
preemption. The preemption logic expects IRQs to be disabled, which is<br />
why we call local_irq_disable() before attempting preemption.<br />
<br />
However, depending on the context, local_irq_disable() may be<br />
unnecessary:<br />
<br />
- __el1_irq(), the non-NMI EL1 IRQ path, already has IRQs disabled, so<br />
local_irq_disable() is redundant.<br />
<br />
- irqentry_exit_to_kernel_mode_preempt() immediately returns when<br />
exiting from an NMI-like context, so calling local_irq_disable()<br />
beforehand is unnecessary work.<br />
<br />
Furthermore, it confuses the pNMI state tracking when we are in a<br />
context with interrupts disabled and the GIC_PRIO_PSR_I_SET bit is set<br />
in the PMR, leading to a warning when<br />
CONFIG_ARM64_DEBUG_PRIORITY_MASKING=y:<br />
<br />
WARNING: ./arch/arm64/include/asm/irqflags.h:63 at arm64_exit_to_kernel_mode+0xb8/0xc0, CPU#40: retsnoop/31805<br />
CPU: 40 UID: 0 PID: 31805 Comm: retsnoop Not tainted 7.2.0-rc6-next-20260805 #7 PREEMPTLAZY<br />
pstate: 234013c9 (nzCv DAIF +PAN -UAO +TCO +DIT +SSBS BTYPE=--)<br />
pc : arm64_exit_to_kernel_mode (arch/arm64/kernel/entry-common.c:63)<br />
lr : el1_abort (arch/arm64/kernel/entry-common.c:323)<br />
pmr: 000000f0<br />
Call trace:<br />
arm64_exit_to_kernel_mode (arch/arm64/kernel/entry-common.c:63) (P)<br />
el1_abort (arch/arm64/kernel/entry-common.c:323)<br />
el1h_64_sync_handler (arch/arm64/kernel/entry-common.c:449)<br />
el1h_64_sync (arch/arm64/kernel/entry.S:589)<br />
[...]<br />
<br />
Split arm64_exit_to_kernel_mode() into preempt, non-preempt, and<br />
dispatch parts so that we can avoid this extra work where it is not<br />
needed and avoid breaking the pNMI tracking logic.


