bisecting fixing commit since 919dce24701f7b34681a6a1d3ef95c9f6c4fb1cc building syzkaller on a34e2c332411388ed2b3f6f1a3acdc062feceb79 testing commit 919dce24701f7b34681a6a1d3ef95c9f6c4fb1cc with gcc (GCC) 8.1.0 kernel signature: 8dbe063df56f0e7a91a67d47f37b60d4dbf687d553a6abd505dbf755122fb7c6 run #0: crashed: WARNING: refcount bug in sk_alloc run #1: crashed: WARNING: refcount bug in sk_alloc run #2: crashed: WARNING: refcount bug in sk_alloc run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD f66ed1ebbfde37631fba289f7c399eaa70632abf testing commit f66ed1ebbfde37631fba289f7c399eaa70632abf with gcc (GCC) 8.1.0 kernel signature: 1bcb137b12eae5600ffe3926b52d4a5a91ae8dd9d1fa4f228a26890a045c6ba2 run #0: crashed: WARNING: refcount bug in sk_alloc run #1: crashed: WARNING: refcount bug in sk_alloc run #2: crashed: WARNING: refcount bug in sk_alloc run #3: crashed: WARNING: refcount bug in sk_alloc run #4: crashed: WARNING: refcount bug in sk_alloc run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 31m14.229866785s (build: 11m12.127724381s, test: 19m45.993516678s) the crash still happens on HEAD commit msg: Merge tag 'iomap-5.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux crash: WARNING: refcount bug in sk_alloc ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 8775 at lib/refcount.c:25 refcount_warn_saturate+0xdd/0x140 lib/refcount.c:25 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8775 Comm: syz-executor.5 Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x128/0x182 lib/dump_stack.c:118 panic+0x22a/0x4e3 kernel/panic.c:221 __warn.cold.10+0x25/0x26 kernel/panic.c:582 report_bug+0x1ad/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:175 [inline] do_error_trap+0x123/0x210 arch/x86/kernel/traps.c:267 do_invalid_op+0x31/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:refcount_warn_saturate+0xdd/0x140 lib/refcount.c:25 Code: f0 97 6f 06 01 e8 7f 87 f4 fd 0f 0b eb 9d 80 3d df 97 6f 06 00 75 94 48 c7 c7 e0 39 ce 87 c6 05 cf 97 6f 06 01 e8 5f 87 f4 fd <0f> 0b e9 7a ff ff ff 80 3d b9 97 6f 06 00 0f 85 6d ff ff ff 48 c7 RSP: 0018:ffffc90007b6fd20 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888094620144 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8b8d0160 RBP: 0000000000000002 R08: ffffed1015d066a9 R09: ffffed1015d066a9 R10: ffff8880ae833547 R11: ffffed1015d066a8 R12: 0000000000000001 R13: 0000000000000010 R14: ffff888094620144 R15: ffff88808908c000 refcount_add include/linux/refcount.h:204 [inline] refcount_inc include/linux/refcount.h:241 [inline] get_net include/net/net_namespace.h:246 [inline] sk_alloc+0xca5/0xde0 net/core/sock.c:1670 __netlink_create+0x56/0x2e0 net/netlink/af_netlink.c:629 netlink_create+0x2f3/0x540 net/netlink/af_netlink.c:692 __sock_create+0x25d/0x540 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xd1/0x1a0 net/socket.c:1526 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __x64_sys_socket+0x6a/0xb0 net/socket.c:1533 do_syscall_64+0xc6/0x620 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3baa53cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007f3baa53d6d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b8e R14: 00000000004cdbf4 R15: 000000000076bf0c Kernel Offset: disabled Rebooting in 86400 seconds..