syzbot


INFO: rcu detected stall in dst_destroy

Status: auto-closed as invalid on 2020/07/25 12:55
Reported-by: syzbot+77ef55fc66f3565c017f@syzkaller.appspotmail.com
First crash: 1486d, last: 1484d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in dst_destroy 1 274d 274d 0/3 auto-obsoleted due to no activity on 2023/10/28 03:37
upstream INFO: rcu detected stall in dst_destroy net 1 1603d 1603d 0/26 closed as invalid on 2019/11/29 14:24
linux-4.19 INFO: rcu detected stall in dst_destroy (2) 1 1319d 1319d 0/1 auto-closed as invalid on 2021/01/06 01:18

Sample crash report:
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
x_tables: duplicate underflow at hook 1
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=586/1/0x4000000000000004 softirq=330506/330507 fqs=5247 
rcu: 	 (t=10502 jiffies g=296009 q=146107)
NMI backtrace for cpu 0
CPU: 0 PID: 30967 Comm: syz-executor.5 Not tainted 4.19.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x170/0x1bb kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x634/0xddc kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1638
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0x42/0x130 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x2fc/0xd50 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x312/0x770 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:kmem_cache_free+0xa4/0x260 mm/slab.c:3766
Code: e8 31 2f 00 00 84 c0 74 76 41 f7 c4 00 02 00 00 74 4e e8 3f 7d cf ff 48 83 3d ff 1d 15 07 00 0f 84 a8 01 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 64 24 20 0f 1f 44 00 00 65 8b 05 86 48 64 7e
RSP: 0018:ffff8880ae607db8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff88802a69c900 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a4556d00 RDI: 0000000000000286
RBP: ffff8880a6595e40 R08: ffff8880a4556480 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: ffffffff85a00e4f R14: ffff88802a69c908 R15: ffff88802a69c938
 dst_destroy+0x27f/0x3a0 net/core/dst.c:141
 __rcu_reclaim kernel/rcu/rcu.h:236 [inline]
 rcu_do_batch kernel/rcu/tree.c:2584 [inline]
 invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline]
 __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline]
 rcu_process_callbacks+0xb2d/0x17f0 kernel/rcu/tree.c:2881
 __do_softirq+0x26c/0x93c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x17b/0x1c0 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:kmem_cache_free+0xa4/0x260 mm/slab.c:3766
Code: e8 31 2f 00 00 84 c0 74 76 41 f7 c4 00 02 00 00 74 4e e8 3f 7d cf ff 48 83 3d ff 1d 15 07 00 0f 84 a8 01 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 64 24 20 0f 1f 44 00 00 65 8b 05 86 48 64 7e
RSP: 0018:ffff88804c2e7a28 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff88804dea27c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000286
RBP: ffff888090bf8e00 R08: ffff8880a4556480 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: ffffffff81ae3467 R14: 00000000000000f8 R15: dffffc0000000000
 put_files_struct fs/file.c:421 [inline]
 put_files_struct+0x277/0x2e0 fs/file.c:413
 exit_files+0x7e/0xa0 fs/file.c:445
 do_exit+0xb94/0x2f30 kernel/exit.c:875
 do_group_exit+0x125/0x350 kernel/exit.c:983
 get_signal+0x3ec/0x1f90 kernel/signal.c:2588
 do_signal+0x8f/0x1710 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x22b/0x2b0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c849
Code: Bad RIP value.
RSP: 002b:00007f46cf88acf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000076bf08 RCX: 000000000045c849
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000076bf08
RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000076bf0c
R13: 00007fff411307ef R14: 00007f46cf88b9c0 R15: 000000000076bf0c
x_tables: duplicate underflow at hook 1
x_tables: duplicate underflow at hook 2
net_ratelimit: 250 callbacks suppressed
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
dccp_invalid_packet: P.type (REQUEST) not Data || [Data]Ack, while P.X == 0
x_tables: duplicate underflow at hook 1
x_tables: duplicate underflow at hook 2
x_tables: duplicate underflow at hook 1
audit: type=1400 audit(1585313655.544:843): avc:  denied  { map } for  pid=32034 comm="syz-executor.5" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1172 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1
IPVS: ftp: loaded support on port[0] = 21
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Removing interface: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
batman_adv: batadv0: Removing interface: batadv_slave_1
device bridge_slave_1 left promiscuous mode
bridge0: port 2(bridge_slave_1) entered disabled state
device bridge_slave_0 left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
device veth1_macvtap left promiscuous mode
device veth0_macvtap left promiscuous mode
device veth1_vlan left promiscuous mode
device veth0_vlan left promiscuous mode

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/27 12:54 linux-4.19.y 54b4fa6d3955 9af8b4b3 .config console log report ci2-linux-4-19
2020/03/25 07:00 linux-4.19.y 14cfdbd39e31 41f049cc .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.