syzbot


INFO: rcu detected stall in inet_release

Status: upstream: reported on 2025/11/27 12:15
Reported-by: syzbot+0ad896e928156c40ae77@syzkaller.appspotmail.com
First crash: 2d14h, last: 2d14h
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in inet_release (3) net 1 1 1081d 1081d 0/29 auto-obsoleted due to no activity on 2023/04/07 20:53
upstream INFO: rcu detected stall in inet_release (2) mm kasan 1 1 1393d 1393d 0/29 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in inet_release (4) net 1 1 739d 739d 0/29 closed as invalid on 2024/02/01 10:31
upstream INFO: rcu detected stall in inet_release (5) cgroups mm 1 1 514d 514d 0/29 auto-obsoleted due to no activity on 2024/10/01 20:59
upstream INFO: rcu detected stall in inet_release (6) net 1 4 206d 308d 0/29 auto-obsoleted due to no activity on 2025/08/05 17:25
upstream INFO: rcu detected stall in inet_release net 1 1 2276d 2275d 13/29 fixed on 2019/10/09 10:54
linux-4.19 BUG: soft lockup in inet_release 1 1 1342d 1342d 0/1 auto-closed as invalid on 2022/07/27 00:21
linux-4.19 BUG: soft lockup in inet_release (2) 1 1 1086d 1086d 0/1 auto-obsoleted due to no activity on 2023/04/08 16:55

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2681 jiffies s: 1581 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4445 Comm: syz.0.31 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x4f/0x290 mm/kasan/generic.c:189
Code: f8 ff ff 01 00 0f 82 43 02 00 00 49 bf 01 00 00 00 00 fc ff df 49 89 fb 49 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4f 8d 0c 03 <48> 8d 5c 37 ff 48 c1 eb 03 4e 8d 14 3b 4d 89 d6 4d 29 ce 49 83 fe
RSP: 0018:ffffc90000006f48 EFLAGS: 00000806
RAX: 0000000000000001 RBX: 0000000000000010 RCX: ffffffff8138703a
RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffffc90000007110
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000000e22
R10: fffff52000000e24 R11: 1ffff92000000e22 R12: 1ffff92000000e19
R13: dffffc0000000000 R14: ffffc90000007110 R15: dffffc0000000001
FS:  00007fa3855816c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0d7d1d98 CR3: 000000005613e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 memset+0x1e/0x40 mm/kasan/shadow.c:44
 unwind_next_frame+0xb8a/0x20b0 arch/x86/kernel/unwind_orc.c:546
 perf_callchain_kernel+0x461/0x5c0 arch/x86/events/core.c:2805
 get_perf_callchain+0x376/0x480 kernel/events/callchain.c:200
 perf_callchain kernel/events/core.c:7512 [inline]
 perf_prepare_sample+0x399/0x2040 kernel/events/core.c:7545
 __perf_event_output kernel/events/core.c:7730 [inline]
 perf_event_output_forward+0x163/0x2a0 kernel/events/core.c:7750
 __perf_event_overflow+0x448/0x610 kernel/events/core.c:9496
 perf_tp_event+0x335/0xb60 kernel/events/core.c:10029
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10002
 perf_trace_preemptirq_template+0x287/0x330 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0xd3/0x140 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x24/0x40 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:728
RIP: 0010:rcu_read_unlock_special+0x84/0x500 kernel/rcu/tree_plugin.h:685
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 ed 90 96 7e 41 f7 c6 00 00 f0 00 74 45 <48> c7 44 24 40 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc900000079c0 EFLAGS: 00000206
RAX: 17725eaab808ce00 RBX: 1ffff92000000f40 RCX: 17725eaab808ce00
RDX: dffffc0000000000 RSI: ffffffff8a8c0580 RDI: ffffffff8adef760
RBP: ffffc90000007ac0 R08: dffffc0000000000 R09: fffffbfff215c45b
R10: fffffbfff215c45b R11: 1ffffffff215c45a R12: 0000000000000246
R13: dffffc0000000000 R14: ffff8880b8e3b900 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:426
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 process_backlog+0x3ff/0x6e0 net/core/dev.c:6024
 __napi_poll+0xc0/0x460 net/core/dev.c:6590
 napi_poll net/core/dev.c:6657 [inline]
 net_rx_action+0x5b1/0xad0 net/core/dev.c:6771
 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
 __do_softirq kernel/softirq.c:630 [inline]
 invoke_softirq kernel/softirq.c:470 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:finish_task_switch+0x26a/0x8f0 kernel/sched/core.c:5123
Code: 0f 84 3b 01 00 00 48 85 db 0f 85 5a 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 4c 89 e7 e8 e0 6d c9 08 e8 6b b7 2e 00 fb 4c 8b 65 c0 <49> 8d bc 24 f8 15 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc90004b5f498 EFLAGS: 00000282
RAX: 17725eaab808ce00 RBX: 0000000000000000 RCX: 17725eaab808ce00
RDX: dffffc0000000000 RSI: ffffffff8a8c0580 RDI: ffffffff8adef760
RBP: ffffc90004b5f4f0 R08: dffffc0000000000 R09: fffffbfff215c45b
R10: fffffbfff215c45b R11: 1ffffffff215c45a R12: ffff88807d2f5940
R13: dffffc0000000000 R14: ffff88802c7e0000 R15: ffff8880b8e3b590
 context_switch kernel/sched/core.c:5247 [inline]
 __schedule+0x10f4/0x40b0 kernel/sched/core.c:6561
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6873
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_acquire+0x20f/0x490 kernel/locking/lockdep.c:5666
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f5 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc90004b5f800 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 17725eaab808ce00
RDX: 0000000000000000 RSI: ffffffff8a8c1700 RDI: ffffffff8adef760
RBP: ffffc90004b5f908 R08: dffffc0000000000 R09: fffffbfff215c44e
R10: fffffbfff215c44e R11: 1ffffffff215c44d R12: 0000000000000000
R13: 1ffff9200096bf0c R14: 0000000000000246 R15: dffffc0000000000
 rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 srcu_read_lock+0x32/0x40 include/linux/srcu.h:165
 kasan_quarantine_reduce+0x43/0x160 mm/kasan/quarantine.c:267
 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:305
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737
 slab_alloc_node mm/slub.c:3359 [inline]
 kmem_cache_alloc_node+0x14d/0x320 mm/slub.c:3404
 __alloc_skb+0xfc/0x7e0 net/core/skbuff.c:505
 alloc_skb include/linux/skbuff.h:1271 [inline]
 tcp_send_active_reset+0x82/0x750 net/ipv4/tcp_output.c:3523
 tcp_disconnect+0x174/0x1a80 net/ipv4/tcp.c:3151
 __tcp_close+0xb54/0xe40 net/ipv4/tcp.c:2957
 tcp_close+0x24/0x110 net/ipv4/tcp.c:3078
 inet_release+0x139/0x180 net/ipv4/af_inet.c:430
 __sock_release net/socket.c:654 [inline]
 sock_release+0x7b/0x140 net/socket.c:682
 smc_clcsock_release+0xc5/0xe0 net/smc/smc_close.c:34
 __smc_release+0x661/0x7d0 net/smc/af_smc.c:300
 smc_release+0x2ca/0x530 net/smc/af_smc.c:343
 __sock_release net/socket.c:654 [inline]
 sock_close+0xd5/0x240 net/socket.c:1400
 __fput+0x22c/0x920 fs/file_table.c:320
 task_work_run+0x1ca/0x250 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa38478f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa385581038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007fa3849e5fa0 RCX: 00007fa38478f749
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008
RBP: 00007fa384813f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa3849e6038 R14: 00007fa3849e5fa0 R15: 00007ffeaf06ae48
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/27 12:15 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in inet_release
* Struck through repros no longer work on HEAD.