syzbot


INFO: rcu detected stall in xfrm_hash_rebuild

Status: fixed on 2019/03/06 07:43
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+592df0494801b6648ec6@syzkaller.appspotmail.com
Fix commit: 12750abad517 xfrm: policy: fix infinite loop when merging src-nodes
First crash: 2047d, last: 1995d
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in xfrm_hash_rebuild 9 (10) 2018/12/14 19:07

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=c06/1/0x4000000000000002 softirq=160313/160316 fqs=5213 
rcu: 	 (t=10500 jiffies g=184077 q=796)
NMI backtrace for cpu 0
CPU: 0 PID: 7844 Comm: kworker/0:3 Not tainted 5.0.0-rc3+ #42
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events xfrm_hash_rebuild
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree.c:1211
 print_cpu_stall.cold+0x227/0x40c kernel/rcu/tree.c:1348
 check_cpu_stall kernel/rcu/tree.c:1422 [inline]
 rcu_pending kernel/rcu/tree.c:3018 [inline]
 rcu_check_callbacks+0xb32/0x1380 kernel/rcu/tree.c:2521
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x3a7/0x1050 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x18d/0x760 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:selector_cmp net/xfrm/xfrm_policy.c:1391 [inline]
RIP: 0010:xfrm_policy_insert_list+0x59a/0xfb0 net/xfrm/xfrm_policy.c:1534
Code: 7e c3 fa 48 8b 85 50 ff ff ff 4c 8d b3 c8 00 00 00 48 89 9d 00 ff ff ff 44 88 bd 0c ff ff ff 4c 8d a8 c8 00 00 00 31 c0 89 c3 <e8> 71 7e c3 fa 4c 89 f0 48 c1 e8 03 42 0f b6 14 20 4c 89 f0 83 e0
RSP: 0018:ffff8880a0107680 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 0000000000000006 RCX: ffffffff86be82e3
RDX: 0000000000000006 RSI: 000000000000000e RDI: 0000000000000005
RBP: ffff8880a0107780 R08: ffff88809fbae5c0 R09: 0000000000000005
R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff888098dfb7a0 R14: ffff88805c5ca120 R15: 0000000000000000
 xfrm_policy_inexact_insert+0x155/0xda0 net/xfrm/xfrm_policy.c:1195
 xfrm_hash_rebuild+0xea2/0x12c0 net/xfrm/xfrm_policy.c:1317
 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153
 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
net_ratelimit: 2 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
net_ratelimit: 2 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1

Crashes (77):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/25 14:04 upstream d73aba1115cf b5d78bce .config console log report ci-upstream-kasan-gce
2019/01/22 15:57 upstream 48b161983ae5 985f75cc .config console log report ci-upstream-kasan-gce
2019/01/14 16:24 upstream 1c7fc5cbc339 95485883 .config console log report ci-upstream-kasan-gce
2019/01/12 18:41 upstream 4b3c31c8d4dd c3f3344c .config console log report ci-upstream-kasan-gce-smack-root
2018/12/29 17:31 upstream 903b77c63167 a40793d7 .config console log report ci-upstream-kasan-gce
2018/12/28 19:40 upstream 00c569b567c7 fc6ae81a .config console log report ci-upstream-kasan-gce
2018/12/28 02:12 upstream b71acb0e3721 af317504 .config console log report ci-upstream-kasan-gce-smack-root
2019/01/30 03:49 net-old abfd04f738c2 aa432daf .config console log report ci-upstream-net-this-kasan-gce
2019/01/28 16:12 net-old abfd04f738c2 629c2a27 .config console log report ci-upstream-net-this-kasan-gce
2019/01/28 06:20 net-old abfd04f738c2 c73f090a .config console log report ci-upstream-net-this-kasan-gce
2019/01/27 21:15 net-old abfd04f738c2 c73f090a .config console log report ci-upstream-net-this-kasan-gce
2019/01/27 12:56 net-old abfd04f738c2 c73f090a .config console log report ci-upstream-net-this-kasan-gce
2019/01/26 18:00 net-old abfd04f738c2 c73f090a .config console log report ci-upstream-net-this-kasan-gce
2019/01/25 18:12 net-old 6eea3527e68a b5d78bce .config console log report ci-upstream-net-this-kasan-gce
2019/01/23 20:06 net-old ab06418b7fb8 7cf3249c .config console log report ci-upstream-net-this-kasan-gce
2019/01/23 13:31 net-old ab06418b7fb8 7cf3249c .config console log report ci-upstream-net-this-kasan-gce
2019/01/23 08:23 net-old 56cb4e503499 b1ff06b2 .config console log report ci-upstream-net-this-kasan-gce
2019/01/21 17:06 net-old 6436408e814b badbbeee .config console log report ci-upstream-net-this-kasan-gce
2019/01/20 07:55 net-old 3e64cf7a435e 353f32ea .config console log report ci-upstream-net-this-kasan-gce
2019/01/19 00:18 net-old bf97403ac4bf 2103a236 .config console log report ci-upstream-net-this-kasan-gce
2019/01/18 10:36 net-old 88a8121dc1d3 5bf17c30 .config console log report ci-upstream-net-this-kasan-gce
2019/01/18 08:30 net-old 88a8121dc1d3 5bf17c30 .config console log report ci-upstream-net-this-kasan-gce
2019/01/15 20:16 net-old 7939f8beecf1 79cb1a7c .config console log report ci-upstream-net-this-kasan-gce
2019/01/15 17:23 net-old 2f960bd05640 79cb1a7c .config console log report ci-upstream-net-this-kasan-gce
2019/01/12 08:58 net-old e8b108b050e8 c3f3344c .config console log report ci-upstream-net-this-kasan-gce
2019/01/10 09:52 net-old d972f3dce8d1 45c0c1b1 .config console log report ci-upstream-net-this-kasan-gce
2019/01/10 08:26 net-old d972f3dce8d1 45c0c1b1 .config console log report ci-upstream-net-this-kasan-gce
2019/01/09 12:00 net-old d972f3dce8d1 45c0c1b1 .config console log report ci-upstream-net-this-kasan-gce
2019/01/08 23:39 net-old 977e4899c9b4 010ed08b .config console log report ci-upstream-net-this-kasan-gce
2019/01/08 06:29 net-old 26d92e951fe0 69d69aa9 .config console log report ci-upstream-net-this-kasan-gce
2019/01/07 11:29 net-old d4a7e9bb74b5 69d69aa9 .config console log report ci-upstream-net-this-kasan-gce
2019/01/06 18:46 net-old d4a7e9bb74b5 94f8adb5 .config console log report ci-upstream-net-this-kasan-gce
2019/01/02 10:08 net-old e888402789b9 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2019/01/01 17:55 net-old 756af9c64232 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2019/01/01 16:19 net-old 756af9c64232 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2019/01/01 12:38 net-old 756af9c64232 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2018/12/31 12:46 net-old 3bd826451103 2b42fdc8 .config console log report ci-upstream-net-this-kasan-gce
2018/12/30 23:17 net-old f7d18ef6a95f 9942de5f .config console log report ci-upstream-net-this-kasan-gce
2018/12/30 17:14 net-old f7d18ef6a95f 9942de5f .config console log report ci-upstream-net-this-kasan-gce
2018/12/30 07:19 net-old 0d9c9a238faf 35e3f847 .config console log report ci-upstream-net-this-kasan-gce
2019/01/27 17:04 net-next-old 085c4c7dd2b6 c73f090a .config console log report ci-upstream-net-kasan-gce
2019/01/27 09:17 net-next-old a4b829949326 c73f090a .config console log report ci-upstream-net-kasan-gce
2019/01/23 01:32 net-next-old 1435d9970378 b1ff06b2 .config console log report ci-upstream-net-kasan-gce
2019/01/22 14:18 net-next-old fa7f3a8d56b3 985f75cc .config console log report ci-upstream-net-kasan-gce
2019/01/21 14:56 net-next-old 28f9d1a3d4fe badbbeee .config console log report ci-upstream-net-kasan-gce
2019/01/20 21:16 net-next-old 4e15cbe82996 fd37a550 .config console log report ci-upstream-net-kasan-gce
2019/01/19 21:51 net-next-old 133bbb18ab1a 8aa587b0 .config console log report ci-upstream-net-kasan-gce
2019/01/19 16:14 net-next-old f04d402f2f00 8aa587b0 .config console log report ci-upstream-net-kasan-gce
2019/01/19 14:25 net-next-old f04d402f2f00 8aa587b0 .config console log report ci-upstream-net-kasan-gce
2019/01/18 18:07 net-next-old 435f3f267780 2103a236 .config console log report ci-upstream-net-kasan-gce
2019/01/10 22:16 net-next-old b71acb0e3721 db9b6579 .config console log report ci-upstream-net-kasan-gce
2019/01/08 21:22 net-next-old b71acb0e3721 010ed08b .config console log report ci-upstream-net-kasan-gce
2019/01/03 15:44 net-next-old b71acb0e3721 66fcd29b .config console log report ci-upstream-net-kasan-gce
2019/01/03 01:58 net-next-old b71acb0e3721 06a2b89f .config console log report ci-upstream-net-kasan-gce
2019/01/02 16:31 net-next-old b71acb0e3721 f0491811 .config console log report ci-upstream-net-kasan-gce
2019/01/02 08:15 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2019/01/02 04:42 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2019/01/01 14:46 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2019/01/01 12:32 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2019/01/01 04:05 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2018/12/31 14:05 net-next-old b71acb0e3721 2b42fdc8 .config console log report ci-upstream-net-kasan-gce
2018/12/30 08:41 net-next-old b71acb0e3721 35e3f847 .config console log report ci-upstream-net-kasan-gce
2018/12/29 09:10 net-next-old b71acb0e3721 e33ad0f1 .config console log report ci-upstream-net-kasan-gce
2018/12/28 02:08 net-next-old b71acb0e3721 af317504 .config console log report ci-upstream-net-kasan-gce
2018/12/25 03:03 net-next-old ce28bb445388 8a41a0ad .config console log report ci-upstream-net-kasan-gce
2018/12/22 23:51 net-next-old ce28bb445388 e3bd7ab8 .config console log report ci-upstream-net-kasan-gce
2018/12/22 05:51 net-next-old ce28bb445388 603b5124 .config console log report ci-upstream-net-kasan-gce
2018/12/21 22:08 net-next-old fa2323325e8b 588075e6 .config console log report ci-upstream-net-kasan-gce
2018/12/21 21:44 net-next-old fa2323325e8b 588075e6 .config console log report ci-upstream-net-kasan-gce
2018/12/21 21:26 net-next-old fa2323325e8b 588075e6 .config console log report ci-upstream-net-kasan-gce
2018/12/21 20:14 net-next-old fa2323325e8b 588075e6 .config console log report ci-upstream-net-kasan-gce
2018/12/21 18:41 net-next-old fa2323325e8b 588075e6 .config console log report ci-upstream-net-kasan-gce
2018/12/20 04:19 net-next-old 24894bc6eabc 02e69052 .config console log report ci-upstream-net-kasan-gce
2018/12/19 17:13 net-next-old 33f18c96afdf fe2dc057 .config console log report ci-upstream-net-kasan-gce
2018/12/31 17:52 linux-next 6a1d293238c1 2b42fdc8 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/09 09:44 linux-next 74c4a24df7ca c7918378 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.