bisecting fixing commit since 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e building syzkaller on f721e4a097714a9054b9fe1aadf427afbbd2c157 testing commit 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e with gcc (GCC) 8.1.0 kernel signature: 5684b8602e3bb43948bfa6067b78da1e419173cf109c937b5973f27595f41cfb run #0: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #3: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #4: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #5: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm run #6: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm run #7: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm run #8: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm run #9: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm testing current HEAD f986e350833347cb605d9d1ed517325c9a97808d testing commit f986e350833347cb605d9d1ed517325c9a97808d with gcc (GCC) 8.1.0 kernel signature: 473360e8f374b75510fcdc43179de01647743462f42d19175c3045ff857538bc all runs: crashed: WARNING: refcount bug in l2cap_global_chan_by_psm revisions tested: 2, total time: 22m42.515478518s (build: 9m42.085491562s, test: 12m19.301304754s) the crash still happens on HEAD commit msg: Merge branch 'akpm' (patches from Andrew) crash: WARNING: refcount bug in l2cap_global_chan_by_psm ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 13025 at lib/refcount.c:25 refcount_warn_saturate+0x80/0xe0 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 13025 Comm: kworker/u5:0 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work RIP: 0010:refcount_warn_saturate+0x80/0xe0 lib/refcount.c:25 Code: 05 0c d8 bf 02 01 e8 5c c0 33 01 0f 0b c3 80 3d fc d7 bf 02 00 75 b8 48 c7 c7 60 8c f7 83 c6 05 ec d7 bf 02 01 e8 3d c0 33 01 <0f> 0b c3 80 3d df d7 bf 02 00 75 99 48 c7 c7 38 8c f7 83 c6 05 cf RSP: 0018:ffffc90000247cc8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000080000002 RSI: ffffffff84081711 RDI: 00000000ffffffff RBP: ffff888116202800 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc90000247af8 R11: ffffc90000247af0 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff848503e8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3505eba80 CR3: 000000000448a000 CR4: 0000000000350ee0 Call Trace: __refcount_add include/linux/refcount.h:199 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] kref_get include/linux/kref.h:45 [inline] l2cap_chan_hold net/bluetooth/l2cap_core.c:495 [inline] l2cap_global_chan_by_psm+0x1f8/0x220 net/bluetooth/l2cap_core.c:1984 l2cap_conless_channel net/bluetooth/l2cap_core.c:7602 [inline] l2cap_recv_frame+0x554/0x2e40 net/bluetooth/l2cap_core.c:7672 hci_acldata_packet net/bluetooth/hci_core.c:4785 [inline] hci_rx_work+0x1d3/0x500 net/bluetooth/hci_core.c:4976 process_one_work+0x293/0x600 kernel/workqueue.c:2275 worker_thread+0x38/0x380 kernel/workqueue.c:2421 kthread+0x145/0x170 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296