syzbot


WARNING in xfrm_state_fini

Status: fixed on 2019/11/30 01:15
Reported-by: syzbot+a92feaebeca6bf1f6815@syzkaller.appspotmail.com
Fix commit: ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
First crash: 1269d, last: 1245d

Fix bisection: fixed by (bisect log) :
commit ab69a230421065b48ef93d3e6daf332e71c931dc
Author: David S. Miller <davem@davemloft.net>
Date: Fri May 17 19:15:05 2019 +0000

  Revert "tipc: fix modprobe tipc failed after switch order of device registration"

similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 WARNING in xfrm_state_fini C 2207 1111d 1270d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.14 WARNING in xfrm_state_fini C done 193 1113d 1268d 1/1 fixed on 2019/12/06 10:33
upstream WARNING in xfrm_state_fini C 2231 1720d 1775d 4/24 fixed on 2018/01/31 00:24
android-44 WARNING in xfrm_state_fini C 3175 1059d 1269d 0/2 public: reported C repro on 2019/04/12 00:00
android-49 WARNING in xfrm_state_fini C 21956 1032d 1269d 0/3 public: reported C repro on 2019/04/12 00:00
upstream WARNING in xfrm_state_fini (2) C 37510 1247d 1700d 13/24 fixed on 2019/05/27 12:48

Sample crash report:
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
WARNING: CPU: 1 PID: 248 at net/xfrm/xfrm_state.c:2391 xfrm_state_fini+0x218/0x280 net/xfrm/xfrm_state.c:2391
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 248 Comm: kworker/u4:4 Not tainted 4.19.36 #4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x263/0x51d kernel/panic.c:185
 __warn.cold+0x20/0x54 kernel/panic.c:540
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:997
RIP: 0010:xfrm_state_fini+0x218/0x280 net/xfrm/xfrm_state.c:2391
Code: 41 5e 5d c3 e8 89 2f 7c fb 0f 0b e9 09 ff ff ff e8 7d 2f 7c fb 0f 0b e9 68 ff ff ff e8 71 2f 7c fb 0f 0b eb c6 e8 68 2f 7c fb <0f> 0b e9 52 fe ff ff e8 ac 90 b2 fb e9 75 fe ff ff e8 c2 90 b2 fb
RSP: 0018:ffff8880a9697bd0 EFLAGS: 00010293
RAX: ffff8880a967e440 RBX: ffff888093ab0140 RCX: ffffffff85ee0ec9
RDX: 0000000000000000 RSI: ffffffff85ef15a8 RDI: 0000000000000005
RBP: ffff8880a9697bf0 R08: ffff8880a967e440 R09: ffff8880a967ed30
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888093ab1c80
R13: ffff8880a9697cc8 R14: ffffffff891b6e38 R15: dffffc0000000000
 xfrm_net_exit+0x25/0x70 net/xfrm/xfrm_policy.c:2948
 ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:153
 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:552
 process_one_work+0x98e/0x1760 kernel/workqueue.c:2153
 worker_thread+0x98/0xe40 kernel/workqueue.c:2296
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (78):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2019/04/26 09:54 linux-4.19.y c98875d930e9 b617407b .config log report syz C
ci2-linux-4-19 2019/04/14 17:39 linux-4.19.y 4d552acf3370 505ab413 .config log report syz C
ci2-linux-4-19 2019/05/05 13:41 linux-4.19.y 1656b1457209 d28f4ce5 .config log report
ci2-linux-4-19 2019/05/02 21:53 linux-4.19.y a03957ab0fd5 e9039493 .config log report
ci2-linux-4-19 2019/05/02 17:50 linux-4.19.y a03957ab0fd5 e9039493 .config log report
ci2-linux-4-19 2019/05/01 18:10 linux-4.19.y 19bb613acb9a 7516d9fa .config log report
ci2-linux-4-19 2019/05/01 13:39 linux-4.19.y 19bb613acb9a 618456b4 .config log report
ci2-linux-4-19 2019/04/30 03:45 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/30 02:20 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 23:52 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 21:18 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 18:56 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 13:00 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 08:17 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 05:01 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 02:28 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/29 02:18 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 22:17 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 19:41 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 18:39 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 12:30 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 10:21 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 09:01 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/28 02:01 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/27 22:05 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/27 16:39 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/27 08:30 linux-4.19.y 19bb613acb9a b617407b .config log report
ci2-linux-4-19 2019/04/27 06:19 linux-4.19.y c98875d930e9 b617407b .config log report
ci2-linux-4-19 2019/04/27 05:45 linux-4.19.y c98875d930e9 b617407b .config log report
ci2-linux-4-19 2019/04/27 04:55 linux-4.19.y c98875d930e9 b617407b .config log report
ci2-linux-4-19 2019/04/25 12:02 linux-4.19.y c98875d930e9 8e3c52b1 .config log report
ci2-linux-4-19 2019/04/25 00:35 linux-4.19.y c98875d930e9 8e3c52b1 .config log report
ci2-linux-4-19 2019/04/24 14:48 linux-4.19.y c98875d930e9 8e3c52b1 .config log report
ci2-linux-4-19 2019/04/23 14:47 linux-4.19.y c98875d930e9 2398edea .config log report
ci2-linux-4-19 2019/04/23 14:21 linux-4.19.y c98875d930e9 2398edea .config log report
ci2-linux-4-19 2019/04/23 13:52 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/23 12:33 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 22:06 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 21:25 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 21:14 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 20:46 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 20:23 linux-4.19.y c98875d930e9 53199d6e .config log report
ci2-linux-4-19 2019/04/22 14:33 linux-4.19.y c98875d930e9 0a77c33c .config log report
ci2-linux-4-19 2019/04/22 09:11 linux-4.19.y c98875d930e9 0a77c33c .config log report
ci2-linux-4-19 2019/04/22 08:55 linux-4.19.y c98875d930e9 0a77c33c .config log report
ci2-linux-4-19 2019/04/22 06:53 linux-4.19.y c98875d930e9 b0e8efcb .config log report
ci2-linux-4-19 2019/04/20 08:54 linux-4.19.y c98875d930e9 b0e8efcb .config log report
ci2-linux-4-19 2019/04/20 06:22 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/20 02:51 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/20 02:14 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/19 18:11 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/19 15:41 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/19 01:01 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/19 00:18 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/18 15:55 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/17 08:04 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/17 07:43 linux-4.19.y 4b0e041c9dad b0e8efcb .config log report
ci2-linux-4-19 2019/04/17 04:27 linux-4.19.y 4d552acf3370 b0e8efcb .config log report
ci2-linux-4-19 2019/04/17 02:10 linux-4.19.y 4d552acf3370 b0e8efcb .config log report
ci2-linux-4-19 2019/04/17 01:38 linux-4.19.y 4d552acf3370 b0e8efcb .config log report
ci2-linux-4-19 2019/04/14 09:32 linux-4.19.y 4d552acf3370 505ab413 .config log report
ci2-linux-4-19 2019/04/14 09:22 linux-4.19.y 4d552acf3370 505ab413 .config log report
ci2-linux-4-19 2019/04/13 09:48 linux-4.19.y 4d552acf3370 c402d8f1 .config log report
ci2-linux-4-19 2019/04/13 02:56 linux-4.19.y 4d552acf3370 c402d8f1 .config log report
ci2-linux-4-19 2019/04/12 14:59 linux-4.19.y 4d552acf3370 4f421599 .config log report
ci2-linux-4-19 2019/04/11 10:14 linux-4.19.y 4d552acf3370 e955ac50 .config log report
* Struck through repros no longer work on HEAD.