syzbot


INFO: rcu detected stall in sys_getsockopt (11)

Status: auto-obsoleted due to no activity on 2024/03/30 17:47
Subsystems: netfilter
[Documentation on labels]
First crash: 135d, last: 122d
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (2) kernel 1 1576d 1576d 0/26 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 589d 589d 0/1 auto-obsoleted due to no activity on 2023/01/19 05:52
linux-5.15 INFO: rcu detected stall in sys_getsockopt 1 141d 141d 0/3 auto-obsoleted due to no activity on 2024/03/21 16:23
upstream INFO: rcu detected stall in sys_getsockopt (3) kernel 1 1576d 1576d 0/26 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_getsockopt (4) kernel 3 1575d 1575d 0/26 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 3 993d 1061d 0/26 auto-closed as invalid on 2021/11/10 12:58
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 2 850d 900d 0/26 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in sys_getsockopt (5) sctp 2 1393d 1436d 0/26 auto-closed as invalid on 2020/10/06 19:28
linux-6.1 INFO: rcu detected stall in sys_getsockopt 4 58d 216d 0/3 upstream: reported on 2023/09/28 22:07
upstream INFO: rcu detected stall in sys_getsockopt (10) mm 9 253d 335d 0/26 auto-obsoleted due to no activity on 2023/11/20 15:28
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 6 457d 612d 0/26 auto-obsoleted due to no activity on 2023/05/01 05:21
upstream INFO: rcu detected stall in sys_getsockopt (8) net 2 741d 757d 0/26 auto-closed as invalid on 2022/07/21 00:25
upstream INFO: rcu detected stall in sys_getsockopt kernel 2 1611d 1611d 0/26 closed as invalid on 2019/12/04 14:04
android-5-15 BUG: soft lockup in sys_getsockopt 4 3d04h 9d01h 0/2 premoderation: reported on 2024/04/23 07:54

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2640 jiffies s: 52625 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5119 Comm: syz-executor.0 Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__lock_acquire+0xe02/0x3b20 kernel/locking/lockdep.c:5145
Code: 89 98 b0 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 0e 3c 03 7f 0a 48 8b 7c 24 38 e8 2e 59 76 00 <48> 8b 1c 24 8b 83 b8 0a 00 00 89 44 24 08 83 c0 01 83 f8 2f 89 83
RSP: 0018:ffffc900001f0b50 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 3eb26d79c4509b53 RCX: 000000000df146a0
RDX: 1ffff1100405750f RSI: 0000000000000001 RDI: ffffffff91f1cce0
RBP: ffffffff91f51b40 R08: 0000000000000000 R09: fffffbfff23e35d0
R10: ffffffff91f1ae87 R11: 0000000000000001 R12: ffff8880202ba8a8
R13: ffff8880202ba8a1 R14: 0000000000000020 R15: 0000000000000002
FS:  000055555708f480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe42a776198 CR3: 00000000216a3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 rcu_read_lock include/linux/rcupdate.h:747 [inline]
 advance_sched+0x67c/0xc60 net/sched/sch_taprio.c:996
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_cmp8+0xe/0x20 kernel/kcov.c:284
Code: 48 8b 0c 24 89 f2 89 fe bf 04 00 00 00 e9 2a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe <bf> 06 00 00 00 e9 08 ff ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa
RSP: 0018:ffffc9000422f4d8 EFLAGS: 00000246
RAX: 000000000000000f RBX: ffffffff8f316214 RCX: ffffffff8139ebf4
RDX: ffffffff81ddf05b RSI: ffffffff81ddf00a RDI: ffffffff81ddf00a
RBP: ffffffff8f31628c R08: 0000000000000005 R09: 0000000000000000
R10: 000000000000001f R11: 0000000000000001 R12: ffffffff81ddf00a
R13: ffffffff81ddf05b R14: dffffc0000000000 R15: ffffffff8f316250
 __orc_find+0xc4/0x130 arch/x86/kernel/unwind_orc.c:102
 orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
 unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494
 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1800 [inline]
 slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
 slab_free mm/slub.c:3809 [inline]
 __kmem_cache_free+0xc0/0x180 mm/slub.c:3822
 kvfree+0x47/0x50 mm/util.c:663
 vfree+0x252/0x7a0 mm/vmalloc.c:2846
 copy_entries_to_user net/ipv6/netfilter/ip6_tables.c:882 [inline]
 get_entries net/ipv6/netfilter/ip6_tables.c:1039 [inline]
 do_ip6t_get_ctl+0x8ea/0xaf0 net/ipv6/netfilter/ip6_tables.c:1669
 nf_getsockopt+0x76/0xe0 net/netfilter/nf_sockopt.c:116
 ipv6_getsockopt+0x1f9/0x2b0 net/ipv6/ipv6_sockglue.c:1492
 tcp_getsockopt+0x97/0xf0 net/ipv4/tcp.c:4362
 do_sock_getsockopt+0x2e1/0x6c0 net/socket.c:2373
 __sys_getsockopt+0x1a3/0x270 net/socket.c:2402
 __do_sys_getsockopt net/socket.c:2412 [inline]
 __se_sys_getsockopt net/socket.c:2409 [inline]
 __x64_sys_getsockopt+0xbd/0x150 net/socket.c:2409
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fe42a67e78a
Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7
RSP: 002b:00007fe42a8bf668 EFLAGS: 00000212 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007fe42a8bf6f0 RCX: 00007fe42a67e78a
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007fe42a8bf68c R09: 0079746972756365
R10: 00007fe42a8bf6f0 R11: 0000000000000212 R12: 00007fe42a778f80
R13: 00007fe42a8bf68c R14: 0000000000000000 R15: 00007fe42a779d00
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/19 04:55 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in sys_getsockopt
2023/12/31 17:46 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2023/12/29 06:09 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2023/12/27 13:29 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
* Struck through repros no longer work on HEAD.