bisecting fixing commit since e49d033bddf5b565044e2abe4241353959bc9120 building syzkaller on 6a81331a1d4c744da9204d02ec88d558f7eea9c9 testing commit e49d033bddf5b565044e2abe4241353959bc9120 with gcc (GCC) 10.2.1 20210217 kernel signature: 13c46ff51ffa06c1de2f86a4412f4f54b56543c39766c98164c7825a1d343458 run #0: crashed: BUG: corrupted list in kobject_add_internal run #1: crashed: BUG: corrupted list in kobject_add_internal run #2: crashed: BUG: corrupted list in kobject_add_internal run #3: crashed: BUG: corrupted list in kobject_add_internal run #4: crashed: BUG: corrupted list in kobject_add_internal run #5: crashed: BUG: corrupted list in kobject_add_internal run #6: crashed: BUG: corrupted list in kobj_kset_leave run #7: crashed: BUG: corrupted list in kobject_add_internal run #8: crashed: BUG: corrupted list in kobject_add_internal run #9: crashed: BUG: corrupted list in kobject_add_internal run #10: crashed: BUG: corrupted list in kobject_add_internal run #11: crashed: BUG: corrupted list in kobject_add_internal run #12: crashed: BUG: corrupted list in kobject_add_internal run #13: crashed: BUG: corrupted list in kobject_add_internal run #14: crashed: BUG: corrupted list in kobject_add_internal run #15: crashed: BUG: corrupted list in kobject_add_internal run #16: crashed: BUG: corrupted list in kobject_add_internal run #17: crashed: BUG: corrupted list in kobject_add_internal run #18: crashed: BUG: corrupted list in kobject_add_internal run #19: crashed: BUG: corrupted list in kobject_add_internal testing current HEAD d665ea6ea86c785760ee4bad4543dab3267ad074 testing commit d665ea6ea86c785760ee4bad4543dab3267ad074 with gcc (GCC) 10.2.1 20210217 kernel signature: ec30b9e24878c6b35de1d29a56af268a63294d031f6eb6c84308a11a4c29a46a run #0: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #1: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #2: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #3: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #4: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #5: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #6: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #7: basic kernel testing failed: WARNING in __nf_unregister_net_hook run #8: crashed: WARNING in __nf_unregister_net_hook run #9: crashed: WARNING in __nf_unregister_net_hook revisions tested: 2, total time: 21m59.727836826s (build: 14m37.253219186s, test: 6m43.055748186s) the crash still happens on HEAD commit msg: Merge tag 'for-linus-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml crash: WARNING in __nf_unregister_net_hook ------------[ cut here ]------------ hook not found, pf 3 num 0 WARNING: CPU: 0 PID: 25 at net/netfilter/core.c:480 __nf_unregister_net_hook+0x17a/0x560 net/netfilter/core.c:480 Modules linked in: CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:__nf_unregister_net_hook+0x17a/0x560 net/netfilter/core.c:480 Code: 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a7 03 00 00 8b 53 1c 44 89 e6 48 c7 c7 00 d9 9e 89 4c 89 04 24 e8 4a 92 62 01 <0f> 0b 4c 8b 04 24 e9 ba 00 00 00 48 89 ea 48 c1 e2 04 49 8d 7c 10 RSP: 0018:ffffc90000dffbf0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888144489c00 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff520001bff70 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff8880ba01fa5b R10: ffffed1017403f4b R11: 0000000000000001 R12: 0000000000000003 R13: ffff88801b710000 R14: ffff888144489c1c R15: ffff88801b710f20 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf15eb8000 CR3: 0000000010c40000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_unregister_net_hook net/netfilter/core.c:502 [inline] nf_unregister_net_hooks+0xb1/0xf0 net/netfilter/core.c:576 ops_pre_exit_list net/core/net_namespace.c:165 [inline] cleanup_net+0x3a4/0x990 net/core/net_namespace.c:583 process_one_work+0x84c/0x13b0 kernel/workqueue.c:2275 worker_thread+0x598/0xf80 kernel/workqueue.c:2421 kthread+0x36f/0x450 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294