syzbot


INFO: rcu detected stall in sys_getsockopt (9)

Status: auto-obsoleted due to no activity on 2023/05/01 05:21
Subsystems: kernel
[Documentation on labels]
First crash: 599d, last: 443d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (2) kernel 1 1562d 1562d 0/26 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 575d 575d 0/1 auto-obsoleted due to no activity on 2023/01/19 05:52
upstream INFO: rcu detected stall in sys_getsockopt (11) netfilter 4 109d 121d 0/26 auto-obsoleted due to no activity on 2024/03/30 17:47
linux-5.15 INFO: rcu detected stall in sys_getsockopt 1 128d 128d 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 1562d 1562d 0/26 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_getsockopt (4) kernel 3 1562d 1562d 0/26 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 3 980d 1048d 0/26 auto-closed as invalid on 2021/11/10 12:58
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 2 837d 886d 0/26 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in sys_getsockopt (5) sctp 2 1380d 1422d 0/26 auto-closed as invalid on 2020/10/06 19:28
linux-6.1 INFO: rcu detected stall in sys_getsockopt 4 45d 202d 0/3 upstream: reported on 2023/09/28 22:07
upstream INFO: rcu detected stall in sys_getsockopt (10) mm 9 240d 322d 0/26 auto-obsoleted due to no activity on 2023/11/20 15:28
upstream INFO: rcu detected stall in sys_getsockopt (8) net 2 727d 743d 0/26 auto-closed as invalid on 2022/07/21 00:25
upstream INFO: rcu detected stall in sys_getsockopt kernel 2 1597d 1597d 0/26 closed as invalid on 2019/12/04 14:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=1cac/1/0x4000000000000000 softirq=42247/42247 fqs=0
	(detected by 1, t=10506 jiffies, g=62053, q=117 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5103 Comm: syz-executor.3 Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:__lock_release kernel/locking/lockdep.c:5354 [inline]
RIP: 0010:lock_release+0x288/0x810 kernel/locking/lockdep.c:5688
Code: 0f 85 17 05 00 00 8b 73 24 85 f6 0f 85 ae 04 00 00 48 8d 7b 22 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 c3 04 00 00 66
RSP: 0018:ffffc90000007d48 EFLAGS: 00000806
RAX: dffffc0000000000 RBX: ffff888028a24d08 RCX: ffffc90000007d98
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888028a24d2a
RBP: 1ffff92000000fab R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880b982b798
R13: 0000000000000003 R14: ffff888028a24cb0 R15: ffff888028a24280
FS:  0000555555b9f400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 000000004cd85000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
 _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194
 __run_hrtimer kernel/time/hrtimer.c:1681 [inline]
 __hrtimer_run_queues+0x578/0xfb0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:free_vmap_area_rb_augment_cb_compute_max mm/vmalloc.c:797 [inline]
RIP: 0010:free_vmap_area_rb_augment_cb_propagate mm/vmalloc.c:797 [inline]
RIP: 0010:augment_tree_propagate_from mm/vmalloc.c:1077 [inline]
RIP: 0010:adjust_va_to_fit_type mm/vmalloc.c:1482 [inline]
RIP: 0010:__alloc_vmap_area mm/vmalloc.c:1531 [inline]
RIP: 0010:alloc_vmap_area+0xb41/0x1ed0 mm/vmalloc.c:1622
Code: 00 00 4c 8b 6b 08 4d 85 ed 74 26 e8 29 22 bf ff 49 8d 7d 28 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 38 10 00 00 49 8b 45 28 <48> 39 c5 48 0f 42 e8 e8 03 22 bf ff 48 8d 7b 28 48 89 f8 48 c1 e8
RSP: 0018:ffffc900036bf870 EFLAGS: 00000246
RAX: 000000000000b000 RBX: ffff88802f57d9d0 RCX: 0000000000000000
RDX: ffff888028a24280 RSI: ffffffff81c16187 RDI: ffff88802f57d7b8
RBP: 000000000000b000 R08: 0000000000000007 R09: 0000000000000000
R10: ffff88802f57d9d0 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88802f57d790 R14: ffffc90002eba000 R15: dffffc0000000000
 __get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2515
 __vmalloc_node_range+0x25b/0x13c0 mm/vmalloc.c:3187
 __vmalloc_node mm/vmalloc.c:3292 [inline]
 vzalloc+0x6b/0x80 mm/vmalloc.c:3365
 do_ipt_get_ctl+0x611/0x9e0 net/ipv4/netfilter/ip_tables.c:801
 nf_getsockopt+0x76/0xd0 net/netfilter/nf_sockopt.c:116
 ip_getsockopt+0x189/0x1e0 net/ipv4/ip_sockglue.c:1797
 tcp_getsockopt+0x99/0x100 net/ipv4/tcp.c:4408
 __sys_getsockopt+0x21a/0x6a0 net/socket.c:2290
 __do_sys_getsockopt net/socket.c:2305 [inline]
 __se_sys_getsockopt net/socket.c:2302 [inline]
 __x64_sys_getsockopt+0xbe/0x160 net/socket.c:2302
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff387e8d6ea
Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff1fc4c3b8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff387e8d6ea
RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fff1fc4c3e0 R08: 00007fff1fc4c3dc R09: ffffffffff000000
R10: 00007fff1fc4c440 R11: 0000000000000216 R12: 00007fff1fc4c440
R13: 0000000000000003 R14: 00007fff1fc4c3dc R15: 00007ff387f85d20
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g62053 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=49091
rcu: rcu_preempt kthread starved for 10506 jiffies! g62053 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:28344 pid:15    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5293 [inline]
 __schedule+0xb8a/0x5450 kernel/sched/core.c:6606
 schedule+0xde/0x1b0 kernel/sched/core.c:6682
 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656
 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5103 Comm: syz-executor.3 Not tainted 6.2.0-rc6-syzkaller-00003-g22b8077d0fce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:timerqueue_getnext include/linux/timerqueue.h:36 [inline]
RIP: 0010:__hrtimer_run_queues+0x368/0xfb0 kernel/time/hrtimer.c:1729
Code: 8b 04 24 48 8b 54 24 20 48 c1 e0 07 49 c7 84 06 c8 00 00 00 00 00 00 00 48 c1 ea 03 48 b8 00 00 00 00 00 fc ff df 80 3c 02 00 <0f> 85 87 0a 00 00 4d 8b 7d 58 4d 85 ff 0f 84 85 08 00 00 e8 50 4f
RSP: 0018:ffffc90000007e28 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 1ffff1101730571b RSI: ffffffff81703400 RDI: ffff88802777d340
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8880b982b880 R14: ffff8880b982b780 R15: ffff88802777d340
FS:  0000555555b9f400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 000000004cd85000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:free_vmap_area_rb_augment_cb_compute_max mm/vmalloc.c:797 [inline]
RIP: 0010:free_vmap_area_rb_augment_cb_propagate mm/vmalloc.c:797 [inline]
RIP: 0010:augment_tree_propagate_from mm/vmalloc.c:1077 [inline]
RIP: 0010:adjust_va_to_fit_type mm/vmalloc.c:1482 [inline]
RIP: 0010:__alloc_vmap_area mm/vmalloc.c:1531 [inline]
RIP: 0010:alloc_vmap_area+0xb41/0x1ed0 mm/vmalloc.c:1622
Code: 00 00 4c 8b 6b 08 4d 85 ed 74 26 e8 29 22 bf ff 49 8d 7d 28 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 38 10 00 00 49 8b 45 28 <48> 39 c5 48 0f 42 e8 e8 03 22 bf ff 48 8d 7b 28 48 89 f8 48 c1 e8
RSP: 0018:ffffc900036bf870 EFLAGS: 00000246
RAX: 000000000000b000 RBX: ffff88802f57d9d0 RCX: 0000000000000000
RDX: ffff888028a24280 RSI: ffffffff81c16187 RDI: ffff88802f57d7b8
RBP: 000000000000b000 R08: 0000000000000007 R09: 0000000000000000
R10: ffff88802f57d9d0 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88802f57d790 R14: ffffc90002eba000 R15: dffffc0000000000
 __get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2515
 __vmalloc_node_range+0x25b/0x13c0 mm/vmalloc.c:3187
 __vmalloc_node mm/vmalloc.c:3292 [inline]
 vzalloc+0x6b/0x80 mm/vmalloc.c:3365
 do_ipt_get_ctl+0x611/0x9e0 net/ipv4/netfilter/ip_tables.c:801
 nf_getsockopt+0x76/0xd0 net/netfilter/nf_sockopt.c:116
 ip_getsockopt+0x189/0x1e0 net/ipv4/ip_sockglue.c:1797
 tcp_getsockopt+0x99/0x100 net/ipv4/tcp.c:4408
 __sys_getsockopt+0x21a/0x6a0 net/socket.c:2290
 __do_sys_getsockopt net/socket.c:2305 [inline]
 __se_sys_getsockopt net/socket.c:2302 [inline]
 __x64_sys_getsockopt+0xbe/0x160 net/socket.c:2302
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff387e8d6ea
Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff1fc4c3b8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff387e8d6ea
RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fff1fc4c3e0 R08: 00007fff1fc4c3dc R09: ffffffffff000000
R10: 00007fff1fc4c440 R11: 0000000000000216 R12: 00007fff1fc4c440
R13: 0000000000000003 R14: 00007fff1fc4c3dc R15: 00007ff387f85d20
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/31 05:10 upstream 22b8077d0fce 9dfcf09c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_getsockopt
2022/11/15 03:51 upstream 094226ad94f4 943f4cb8 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2022/08/28 11:47 upstream 10d4879f9ef0 07177916 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2022/11/07 21:46 linux-next 0cdb3579f1ee a779b11a .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2022/09/30 20:01 linux-next aaa11ce2ffc8 feb56351 .config console log report info [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
2022/09/25 13:22 linux-next aaa11ce2ffc8 0042f2b4 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_getsockopt
* Struck through repros no longer work on HEAD.