bisecting fixing commit since aea8526edf59da3ff5306ca408e13d8f6ab89b34 building syzkaller on 8304907db07a4c6f7ef3164be77c1bacc94d6d51 testing commit aea8526edf59da3ff5306ca408e13d8f6ab89b34 with gcc (GCC) 8.1.0 kernel signature: 7494aa99b3814080c704420dbdf24e883d3f1464 all runs: crashed: WARNING: refcount bug in l2tp_session_create testing current HEAD a844dc4c544291470aa69edbe2434b040794e269 testing commit a844dc4c544291470aa69edbe2434b040794e269 with gcc (GCC) 8.1.0 kernel signature: a6ef899c552e28906ebec87c6e6516fe67cd595d all runs: crashed: WARNING: refcount bug in l2tp_session_create revisions tested: 2, total time: 23m40.210278382s (build: 16m16.77363142s, test: 6m43.828813773s) the crash still happens on HEAD commit msg: Linux 4.14.158 crash: WARNING: refcount bug in l2tp_session_create IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 refcount_t: increment on 0; use-after-free. ------------[ cut here ]------------ kobject: 'tx-0' (ffff8880a4957858): kobject_uevent_env WARNING: CPU: 0 PID: 6788 at lib/refcount.c:153 refcount_inc.cold.12+0x13/0x1a lib/refcount.c:153 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6788 Comm: syz-executor.0 Not tainted 4.14.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 panic+0x1b0/0x358 kernel/panic.c:183 __warn.cold.8+0x25/0x2c kernel/panic.c:547 report_bug+0x1a4/0x1f3 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1bd/0x310 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:refcount_inc.cold.12+0x13/0x1a lib/refcount.c:153 RSP: 0018:ffff88808ee4fb08 EFLAGS: 00010286 RAX: 000000000000002b RBX: ffff8880901ad7c0 RCX: 0000000000000000 RDX: 000000000000002b RSI: ffffffff868cf060 RDI: ffffed1011dc9f58 RBP: ffff88808ee4fb08 R08: ffff8880a6878a88 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090a7dd00 R13: 0000000000000000 R14: ffff88808ee4fcc8 R15: ffff888090a7ddb0 kobject: 'tx-0' (ffff8880a4957858): fill_kobj_path: path = '/devices/virtual/net/hsr0/queues/tx-0' sock_hold include/net/sock.h:619 [inline] l2tp_session_add_to_tunnel net/l2tp/l2tp_core.c:374 [inline] l2tp_session_create+0xb31/0x1630 net/l2tp/l2tp_core.c:1846 pppol2tp_connect+0x10c1/0x1900 net/l2tp/l2tp_ppp.c:721 kobject: 'batman_adv' (ffff88808baff580): kobject_add_internal: parent: 'hsr0', set: '' SYSC_connect+0x1e3/0x2a0 net/socket.c:1655 device hsr_slave_0 entered promiscuous mode SyS_connect+0x9/0x10 net/socket.c:1636 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459819 RSP: 002b:00007fd899804c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459819 RDX: 0000000000000026 RSI: 0000000020000180 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd8998056d4 R13: 00000000004bfd8b R14: 00000000004d1948 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..