CVE-2026-45957
Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-125
Lectura fuera de límites
Fecha de publicación:
27/05/2026
Última modificación:
16/06/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rcu: Fix rcu_read_unlock() deadloop due to softirq<br />
<br />
Commit 5f5fa7ea89dc ("rcu: Don&#39;t use negative nesting depth in<br />
__rcu_read_unlock()") removes the recursion-protection code from<br />
__rcu_read_unlock(). Therefore, we could invoke the deadloop in<br />
raise_softirq_irqoff() with ftrace enabled as follows:<br />
<br />
WARNING: CPU: 0 PID: 0 at kernel/trace/trace.c:3021 __ftrace_trace_stack.constprop.0+0x172/0x180<br />
Modules linked in: my_irq_work(O)<br />
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G O 6.18.0-rc7-dirty #23 PREEMPT(full)<br />
Tainted: [O]=OOT_MODULE<br />
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014<br />
RIP: 0010:__ftrace_trace_stack.constprop.0+0x172/0x180<br />
RSP: 0018:ffffc900000034a8 EFLAGS: 00010002<br />
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000<br />
RDX: 0000000000000003 RSI: ffffffff826d7b87 RDI: ffffffff826e9329<br />
RBP: 0000000000090009 R08: 0000000000000005 R09: ffffffff82afbc4c<br />
R10: 0000000000000008 R11: 0000000000011d7a R12: 0000000000000000<br />
R13: ffff888003874100 R14: 0000000000000003 R15: ffff8880038c1054<br />
FS: 0000000000000000(0000) GS:ffff8880fa8ea000(0000) knlGS:0000000000000000<br />
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br />
CR2: 000055b31fa7f540 CR3: 00000000078f4005 CR4: 0000000000770ef0<br />
PKRU: 55555554<br />
Call Trace:<br />
<br />
trace_buffer_unlock_commit_regs+0x6d/0x220<br />
trace_event_buffer_commit+0x5c/0x260<br />
trace_event_raw_event_softirq+0x47/0x80<br />
raise_softirq_irqoff+0x6e/0xa0<br />
rcu_read_unlock_special+0xb1/0x160<br />
unwind_next_frame+0x203/0x9b0<br />
__unwind_start+0x15d/0x1c0<br />
arch_stack_walk+0x62/0xf0<br />
stack_trace_save+0x48/0x70<br />
__ftrace_trace_stack.constprop.0+0x144/0x180<br />
trace_buffer_unlock_commit_regs+0x6d/0x220<br />
trace_event_buffer_commit+0x5c/0x260<br />
trace_event_raw_event_softirq+0x47/0x80<br />
raise_softirq_irqoff+0x6e/0xa0<br />
rcu_read_unlock_special+0xb1/0x160<br />
unwind_next_frame+0x203/0x9b0<br />
__unwind_start+0x15d/0x1c0<br />
arch_stack_walk+0x62/0xf0<br />
stack_trace_save+0x48/0x70<br />
__ftrace_trace_stack.constprop.0+0x144/0x180<br />
trace_buffer_unlock_commit_regs+0x6d/0x220<br />
trace_event_buffer_commit+0x5c/0x260<br />
trace_event_raw_event_softirq+0x47/0x80<br />
raise_softirq_irqoff+0x6e/0xa0<br />
rcu_read_unlock_special+0xb1/0x160<br />
unwind_next_frame+0x203/0x9b0<br />
__unwind_start+0x15d/0x1c0<br />
arch_stack_walk+0x62/0xf0<br />
stack_trace_save+0x48/0x70<br />
__ftrace_trace_stack.constprop.0+0x144/0x180<br />
trace_buffer_unlock_commit_regs+0x6d/0x220<br />
trace_event_buffer_commit+0x5c/0x260<br />
trace_event_raw_event_softirq+0x47/0x80<br />
raise_softirq_irqoff+0x6e/0xa0<br />
rcu_read_unlock_special+0xb1/0x160<br />
__is_insn_slot_addr+0x54/0x70<br />
kernel_text_address+0x48/0xc0<br />
__kernel_text_address+0xd/0x40<br />
unwind_get_return_address+0x1e/0x40<br />
arch_stack_walk+0x9c/0xf0<br />
stack_trace_save+0x48/0x70<br />
__ftrace_trace_stack.constprop.0+0x144/0x180<br />
trace_buffer_unlock_commit_regs+0x6d/0x220<br />
trace_event_buffer_commit+0x5c/0x260<br />
trace_event_raw_event_softirq+0x47/0x80<br />
__raise_softirq_irqoff+0x61/0x80<br />
__flush_smp_call_function_queue+0x115/0x420<br />
__sysvec_call_function_single+0x17/0xb0<br />
sysvec_call_function_single+0x8c/0xc0<br />
<br />
<br />
Commit b41642c87716 ("rcu: Fix rcu_read_unlock() deadloop due to IRQ work")<br />
fixed the infinite loop in rcu_read_unlock_special() for IRQ work by<br />
setting a flag before calling irq_work_queue_on(). We fix this issue by<br />
setting the same flag before calling raise_softirq_irqoff() and rename the<br />
flag to defer_qs_pending for more common.
Impacto
Puntuación base 3.x
7.10
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.8 (incluyendo) | 6.6.128 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.75 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.14 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 6.19.4 (excluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/1f16679a5aa60238466ce339c35f5e82ece60337
- https://git.kernel.org/stable/c/4a4a6e12c9c829be3f74b7206fa8640fc4e1c566
- https://git.kernel.org/stable/c/979c708e6c9d7fc461daef2dad8b45f22e23464c
- https://git.kernel.org/stable/c/c2932e16d8c354404b17123e64daa8e33191e145
- https://git.kernel.org/stable/c/d41e37f26b3157b3f1d10223863519a943aa239b



