On Mon, Nov 16, 2026 at 07:21:38PM -0700, Jens Axboe wrote: >On 11/16/26 2:52 AM, Greg Kroah-Hartman wrote: >> On Sat, Nov 14, 2026 at 11:12:40AM -0700, Jens Axboe wrote: >>> On 11/14/26 10:42 AM, Sasha Levin wrote: >>>> On 2026-11-13, dev@rebasedinc.com wrote: >>>>> If this is correct, a backport of 04fe9aeb4f3c to 6.18.y and 6.12.y looks like the right fix; it keeps the CVE-2026-80920 fix in place. >>>> >>>> Queued for 6.18 and 6.12, thanks. >>> >>> Yet another bs CVE - Greg, please invalidate this one too, it's NOT CVE material. >>> Getting a little tired of chasing these. >> >> Now rejected, sorry about that. > >Not sure how we improve on that, it's really annoying to catch these bogus >ones after the fact? Hi Jens, Since some of our reviews are LLM based, I was looking to see why this one was flagged as a security issue. From the explanation, and looking at the code, it seems that we can register an eventfd with io_uring, then have epoll watch that same eventfd. When something wakes the epoll, the kernel is holding epoll's wait-queue lock. That wakeup runs io_uring's poll handler, which signals the eventfd, but the eventfd is watched by the same epoll, so it tries to grab that same lock again on the same CPU. The CPU spins forever on a lock it already holds. One core is dead, followed by RCU stalls, machine wedges. Any unprivileged user with io_uring access can do it. I've attached the reproducer, and below is a log from a run with that reproducer. [ 1.112892] ============================================ [ 1.113398] WARNING: possible recursive locking detected [ 1.113911] 7.2.0-rc1-00006-g3f3a6a16bbe8 #3 Not tainted [ 1.114416] -------------------------------------------- [ 1.114919] init/61 is trying to acquire lock: [ 1.115348] ffff888002e388f0 (&ep->poll_wait/1){....}-{3:3}, at: ep_poll_callback+0x556/0x930 [ 1.116157] [ 1.116157] but task is already holding lock: [ 1.116711] ffff888002e388f0 (&ep->poll_wait/1){....}-{3:3}, at: ep_poll_callback+0x556/0x930 [ 1.117509] [ 1.117509] other info that might help us debug this: [ 1.118125] Possible unsafe locking scenario: [ 1.118125] [ 1.118686] CPU0 [ 1.118933] ---- [ 1.119180] lock(&ep->poll_wait/1); [ 1.119538] lock(&ep->poll_wait/1); [ 1.119897] [ 1.119897] *** DEADLOCK *** [ 1.119897] [ 1.120454] May be due to missing lock nesting notation [ 1.120454] [ 1.121090] 4 locks held by init/61: [ 1.121439] #0: ffff888002e124a0 (&pipe->rd_wait){....}-{3:3}, at: __wake_up_sync_key+0x20/0x60 [ 1.122270] #1: ffff888002e388f0 (&ep->poll_wait/1){....}-{3:3}, at: ep_poll_callback+0x556/0x930 [ 1.123107] #2: ffffffff87222340 (rcu_read_lock){....}-{1:3}, at: io_eventfd_signal+0x8b/0x720 [ 1.123923] #3: ffff888002c2cc20 (&ctx->wqh){....}-{3:3}, at: eventfd_signal_mask+0x69/0x200 [ 1.124723] [ 1.124723] stack backtrace: [ 1.125145] CPU: 1 UID: 65534 PID: 61 Comm: init Not tainted 7.2.0-rc1-00006-g3f3a6a16bbe8 #3 PREEMPT(full) [ 1.125148] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 [ 1.125150] Call Trace: [ 1.125152] [ 1.125153] dump_stack_lvl+0x5d/0x80 [ 1.125157] print_deadlock_bug.cold+0xc0/0xcd [ 1.125160] __lock_acquire+0x10d3/0x17e0 [ 1.125163] ? add_lock_to_list+0x2c/0xd0 [ 1.125165] lock_acquire+0x17d/0x2e0 [ 1.125167] ? ep_poll_callback+0x556/0x930 [ 1.125169] ? find_held_lock+0x2b/0x80 [ 1.125170] _raw_spin_lock_irqsave_nested+0x36/0x60 [ 1.125174] ? ep_poll_callback+0x556/0x930 [ 1.125175] ? _raw_spin_unlock_irqrestore+0x22/0x50 [ 1.125177] ep_poll_callback+0x556/0x930 [ 1.125178] ? lock_is_held_type+0xa8/0x150 [ 1.125181] __wake_up_common+0x144/0x220 [ 1.125183] eventfd_signal_mask+0x10e/0x200 [ 1.125184] io_eventfd_signal+0x6ae/0x720 [ 1.125186] ? __pfx_io_eventfd_signal+0x10/0x10 [ 1.125187] ? find_held_lock+0x2b/0x80 [ 1.125189] io_req_local_work_add+0x1f9/0x410 [ 1.125191] ? __io_poll_execute+0x258/0x300 [ 1.125192] io_poll_wake+0x2c7/0x3a0 [ 1.125193] ? lock_is_held_type+0xa8/0x150 [ 1.125195] __wake_up_common+0x144/0x220 [ 1.125196] ep_poll_callback+0x5ae/0x930 [ 1.125197] ? lock_is_held_type+0xa8/0x150 [ 1.125199] __wake_up_common+0x144/0x220 [ 1.125200] __wake_up_sync_key+0x3e/0x60 [ 1.125201] anon_pipe_write+0xe5c/0x1c70 [ 1.125205] ? __pfx_anon_pipe_write+0x10/0x10 [ 1.125207] ? __file_has_perm+0x322/0x4c0 [ 1.125209] ? file_tty_write.isra.0+0x4ad/0x7d0 [ 1.125213] ? lock_release+0xe1/0x310 [ 1.125215] ? file_tty_write.isra.0+0x4ad/0x7d0 [ 1.125216] ? selinux_file_permission+0x22c/0x520 [ 1.125218] vfs_write+0xa5c/0xf90 [ 1.125221] ? __pfx_vfs_write+0x10/0x10 [ 1.125222] ? do_epoll_ctl+0xf5/0x1d0 [ 1.125224] ? __pfx___do_sys_io_uring_enter+0x10/0x10 [ 1.125226] ksys_write+0x1ab/0x250 [ 1.125228] ? __pfx_ksys_write+0x10/0x10 [ 1.125229] ? do_epoll_create+0x39c/0x4f0 [ 1.125231] ? do_syscall_64+0x82/0x6a0 [ 1.125232] ? lockdep_hardirqs_on_prepare+0xd9/0x190 [ 1.125234] do_syscall_64+0xf3/0x6a0 [ 1.125235] ? exc_page_fault+0xde/0xf0 [ 1.125236] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1.125238] RIP: 0033:0x4247d2 [ 1.125240] Code: 18 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 1a 83 e2 39 83 fa 08 75 12 e8 1b ff ff ff 0f 1f 00 49 89 ca 48 8b 44 24 20 0f 05 <48> 83 c4 18 c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 10 ff 74 24 18 [ 1.125241] RSP: 002b:00007ffcb0c306a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 1.125244] RAX: ffffffffffffffda RBX: 00007f2f89438008 RCX: 00000000004247d2 [ 1.125245] RDX: 0000000000000001 RSI: 00007ffcb0c3072b RDI: 0000000000000007 [ 1.125246] RBP: 00007f2f8943800c R08: 0000000000000000 R09: 0000000000000000 [ 1.125247] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f2f89438040 [ 1.125248] R13: 00007f2f89438014 R14: 0000000000000008 R15: 0000000000000004 [ 1.125249] [ 1.219726] clocksource: Watchdog remote CPU 1 read timed out [ 27.114321] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: [ 27.114996] rcu: 1-...0: (6 ticks this GP) idle=22d4/1/0x4000000000000000 softirq=75/76 fqs=6349 [ 27.115882] rcu: (detected by 0, t=26002 jiffies, g=-959, q=8 ncpus=2) [ 27.116532] Sending NMI from CPU 0 to CPUs 1: [ 27.116563] NMI backtrace for cpu 1 [ 27.116573] CPU: 1 UID: 65534 PID: 61 Comm: init Not tainted 7.2.0-rc1-00006-g3f3a6a16bbe8 #3 PREEMPT(full) [ 27.116581] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 [ 27.116585] RIP: 0010:native_halt+0xe/0x30 [ 27.116598] Code: 89 cf e9 f5 a9 3a 01 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 73 26 7e 03 f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 [ 27.116602] RSP: 0018:ffff888002e676b0 EFLAGS: 00000046 [ 27.116609] RAX: 0000000000000000 RBX: ffff888002e388d8 RCX: 0000000000000004 [ 27.116612] RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff888002e388d8 [ 27.116614] RBP: dffffc0000000000 R08: ffffffff861a809a R09: 1ffff110005c711b [ 27.116616] R10: ffffed10005c711c R11: ffffed10005c711c R12: 0000000000000000 [ 27.116617] R13: 0000000000000000 R14: ffffed10005c711b R15: ffff88806cf39280 [ 27.116626] FS: 0000000033fe5400(0000) GS:ffff8880e47b7000(0000) knlGS:0000000000000000 [ 27.116641] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.116648] CR2: 000000000047c042 CR3: 000000000362d000 CR4: 0000000000750ef0 [ 27.116652] PKRU: 55555554 [ 27.116654] Call Trace: [ 27.116658] [ 27.116660] kvm_wait+0xcf/0x110 [ 27.116670] __pv_queued_spin_lock_slowpath+0x6b4/0xe30 [ 27.116679] ? __pfx___pv_queued_spin_lock_slowpath+0x10/0x10 [ 27.116683] ? perf_trace_lock+0x1d0/0x500 [ 27.116689] ? add_lock_to_list+0x2c/0xd0 [ 27.116694] do_raw_spin_lock+0x1e9/0x280 [ 27.116700] ? ep_poll_callback+0x556/0x930 [ 27.116706] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 27.116712] _raw_spin_lock_irqsave_nested+0x3e/0x60 [ 27.116717] ? ep_poll_callback+0x556/0x930 [ 27.116721] ? _raw_spin_unlock_irqrestore+0x22/0x50 [ 27.116726] ep_poll_callback+0x556/0x930 [ 27.116731] ? lock_is_held_type+0xa8/0x150 [ 27.116736] __wake_up_common+0x144/0x220 [ 27.116740] eventfd_signal_mask+0x10e/0x200 [ 27.116746] io_eventfd_signal+0x6ae/0x720 [ 27.116753] ? __pfx_io_eventfd_signal+0x10/0x10 [ 27.116758] ? find_held_lock+0x2b/0x80 [ 27.116761] io_req_local_work_add+0x1f9/0x410 [ 27.116767] ? __io_poll_execute+0x258/0x300 [ 27.116772] io_poll_wake+0x2c7/0x3a0 [ 27.116776] ? lock_is_held_type+0xa8/0x150 [ 27.116779] __wake_up_common+0x144/0x220 [ 27.116783] ep_poll_callback+0x5ae/0x930 [ 27.116788] ? lock_is_held_type+0xa8/0x150 [ 27.116791] __wake_up_common+0x144/0x220 [ 27.116794] __wake_up_sync_key+0x3e/0x60 [ 27.116800] anon_pipe_write+0xe5c/0x1c70 [ 27.116808] ? __pfx_anon_pipe_write+0x10/0x10 [ 27.116813] ? __file_has_perm+0x322/0x4c0 [ 27.116817] ? file_tty_write.isra.0+0x4ad/0x7d0 [ 27.116823] ? lock_release+0xe1/0x310 [ 27.116828] ? file_tty_write.isra.0+0x4ad/0x7d0 [ 27.116832] ? selinux_file_permission+0x22c/0x520 [ 27.116837] vfs_write+0xa5c/0xf90 [ 27.116842] ? __pfx_vfs_write+0x10/0x10 [ 27.116847] ? do_epoll_ctl+0xf5/0x1d0 [ 27.116850] ? __pfx___do_sys_io_uring_enter+0x10/0x10 [ 27.116857] ksys_write+0x1ab/0x250 [ 27.116861] ? __pfx_ksys_write+0x10/0x10 [ 27.116865] ? do_epoll_create+0x39c/0x4f0 [ 27.116870] ? do_syscall_64+0x82/0x6a0 [ 27.116874] ? lockdep_hardirqs_on_prepare+0xd9/0x190 [ 27.116878] do_syscall_64+0xf3/0x6a0 [ 27.116883] ? exc_page_fault+0xde/0xf0 [ 27.116886] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 27.116891] RIP: 0033:0x4247d2 [ 27.116896] Code: 18 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 1a 83 e2 39 83 fa 08 75 12 e8 1b ff ff ff 0f 1f 00 49 89 ca 48 8b 44 24 20 0f 05 <48> 83 c4 18 c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 10 ff 74 24 18 [ 27.116899] RSP: 002b:00007ffcb0c306a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 27.116905] RAX: ffffffffffffffda RBX: 00007f2f89438008 RCX: 00000000004247d2 [ 27.116907] RDX: 0000000000000001 RSI: 00007ffcb0c3072b RDI: 0000000000000007 [ 27.116909] RBP: 00007f2f8943800c R08: 0000000000000000 R09: 0000000000000000 [ 27.116911] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f2f89438040 [ 27.116913] R13: 00007f2f89438014 R14: 0000000000000008 R15: 0000000000000004 [ 27.116916] -- Thanks, Sasha