syzbot


WARNING in xfrm_policy_fini

Status: upstream: reported syz repro on 2018/08/20 04:14
Reported-by: syzbot+9bce6db6c82f06b85d8b@syzkaller.appspotmail.com
First crash: 1556d, last: 145d

Cause bisection: failed (bisect log)

Fix bisection: failed (bisect log)
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in xfrm_policy_fini 1 131d 131d 0/1 auto-closed as invalid on 2022/06/20 17:42
android-44 WARNING in xfrm_policy_fini 7 1342d 1174d 0/2 auto-closed as invalid on 2019/04/28 08:52
android-414 WARNING in xfrm_policy_fini 16 1160d 1175d 0/1 auto-closed as invalid on 2019/10/25 08:43
android-49 WARNING in xfrm_policy_fini 103 941d 1174d 0/3 auto-closed as invalid on 2020/04/01 16:47

Sample crash report:
bond0 (unregistering): Releasing backup interface bond_slave_1
bond0 (unregistering): Releasing backup interface bond_slave_0
bond0 (unregistering): Released all slaves
cgroup: fork rejected by pids controller in /syz3
cgroup: fork rejected by pids controller in /syz2
WARNING: CPU: 1 PID: 31 at net/xfrm/xfrm_policy.c:3871 xfrm_policy_fini+0x30c/0x3a0 net/xfrm/xfrm_policy.c:3871
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 31 Comm: kworker/u4:2 Not tainted 5.0.0-rc7 #77
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+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:571
 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+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
kobject: 'loop1' (00000000fd200829): kobject_uevent_env
RIP: 0010:xfrm_policy_fini+0x30c/0x3a0 net/xfrm/xfrm_policy.c:3871
Code: c3 e8 b8 e9 72 fb 0f 0b e9 49 fe ff ff e8 ac e9 72 fb 0f 0b e9 cd fd ff ff e8 a0 e9 72 fb 0f 0b e9 00 ff ff ff e8 94 e9 72 fb <0f> 0b e9 62 fd ff ff e8 98 e8 a9 fb e9 7d fe ff ff 4c 89 ff e8 ab
kobject: 'loop1' (00000000fd200829): fill_kobj_path: path = '/devices/virtual/block/loop1'
RSP: 0018:ffff8880a9a8fbb0 EFLAGS: 00010293
RAX: ffff8880a9a82100 RBX: ffff88808e30dbf0 RCX: 1ffff1101535053e
RDX: 0000000000000000 RSI: ffffffff85fcf7ec RDI: ffff8880a9a8297c
RBP: ffff8880a9a8fbf0 R08: ffff8880a9a82100 R09: ffff8880a9a829f0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e30c080
R13: ffff8880a9a8fcc8 R14: ffffffff893d5eb8 R15: dffffc0000000000
 xfrm_net_exit+0x1d/0x70 net/xfrm/xfrm_policy.c:3931
 ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:153
 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:551
kobject: 'loop1' (00000000fd200829): kobject_uevent_env
kobject: 'loop1' (00000000fd200829): fill_kobj_path: path = '/devices/virtual/block/loop1'
cgroup: fork rejected by pids controller in /syz1
 process_one_work+0x98e/0x1790 kernel/workqueue.c:2173
 worker_thread+0x98/0xe40 kernel/workqueue.c:2319
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1126):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2019/02/19 03:04 upstream a3b22b9f11d9 59f36113 .config log report syz
ci-upstream-kasan-gce-smack-root 2021/12/03 07:10 upstream a51e3ac43ddb 61f86278 .config log report info WARNING in xfrm_policy_fini
ci-upstream-kasan-gce 2021/11/04 15:34 upstream ce840177930f 4c1be0be .config log report info WARNING in xfrm_policy_fini
ci-upstream-net-kasan-gce 2022/02/05 21:44 net-next ed8c8f605c0b a7dab638 .config log report info WARNING in xfrm_policy_fini
ci-upstream-kasan-gce-root 2019/05/02 08:12 upstream 459e3a21535a 7516d9fa .config log report
ci-upstream-kasan-gce 2019/04/30 03:57 upstream 80871482fd5c b617407b .config log report
ci-upstream-kasan-gce-root 2019/04/29 21:41 upstream 80871482fd5c b617407b .config log report
ci-upstream-kasan-gce-root 2019/04/29 08:13 upstream 37624b58542f b617407b .config log report
ci-upstream-kasan-gce-selinux-root 2019/04/21 18:51 upstream 085b7755808a b0e8efcb .config log report
ci-upstream-kasan-gce-smack-root 2019/04/17 19:47 upstream fe5cdef29e41 b0e8efcb .config log report
ci-upstream-kasan-gce-root 2018/03/28 16:29 upstream 3eb2ce825ea1 bf5e585c .config log report
ci-upstream-net-this-kasan-gce 2019/04/28 14:55 net 21f1b8a6636c b617407b .config log report
ci-upstream-net-kasan-gce 2019/05/03 05:07 net-next 26f146ed971c e9039493 .config log report
ci-upstream-net-kasan-gce 2019/05/03 02:43 net-next 26f146ed971c e9039493 .config log report
ci-upstream-net-kasan-gce 2019/05/03 00:38 net-next 26f146ed971c e9039493 .config log report
ci-upstream-net-kasan-gce 2019/05/02 22:58 net-next 26f146ed971c e9039493 .config log report
ci-upstream-net-kasan-gce 2019/05/02 21:58 net-next 26f146ed971c e9039493 .config log report
ci-upstream-net-kasan-gce 2019/05/02 16:26 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 15:14 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 13:59 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 12:11 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 09:55 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 06:35 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 04:37 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 03:12 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/02 00:23 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/01 23:07 net-next cd86972a9fd0 7516d9fa .config log report
ci-upstream-net-kasan-gce 2019/05/01 17:05 net-next 2b5bc3c8ebce 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 15:54 net-next 2b5bc3c8ebce 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 13:56 net-next 2b5bc3c8ebce 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 11:22 net-next 2b5bc3c8ebce 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 07:50 net-next 2b5bc3c8ebce 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 06:20 net-next a658a3f2ecba 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 05:41 net-next a658a3f2ecba 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/05/01 01:04 net-next a658a3f2ecba 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/04/30 23:19 net-next a658a3f2ecba 618456b4 .config log report
ci-upstream-net-kasan-gce 2019/04/30 17:04 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 15:01 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 13:32 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 12:11 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 10:10 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 06:46 net-next 7a1d8390d015 20f16bef .config log report
ci-upstream-net-kasan-gce 2019/04/30 05:27 net-next 7a1d8390d015 b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/30 03:39 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/30 01:53 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 23:13 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 17:30 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 13:28 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 11:19 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 09:50 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 06:37 net-next 88d6272acaaa b617407b .config log report
ci-upstream-net-kasan-gce 2019/04/29 05:09 net-next b1a79360ee86 b617407b .config log report
ci-upstream-linux-next-kasan-gce-root 2019/02/20 23:57 linux-next abf446c90405 c95f0707 .config log report