bisecting fixing commit since 0c88e405c97ed1828443b67891e6d4bb6e56cd4e building syzkaller on 486f93ef445f733b35d844f33ba9edeb8423f5fa testing commit 0c88e405c97ed1828443b67891e6d4bb6e56cd4e compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b52ad358b3aad1212b694cd7ee1beb1f3811cdcd2fd557cb33a4a2023bacb326 run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM 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 kobject_add_internal 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 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b7e9e349b843818a1c5c2a7ea31210822a63e0803c2eb2130a557f6f2f84011d all runs: crashed: BUG: corrupted list in kobject_add_internal revisions tested: 2, total time: 23m46.031760127s (build: 16m22.133823253s, test: 6m54.727450214s) the crash still happens on HEAD commit msg: Linux 4.19.204 crash: BUG: corrupted list in kobject_add_internal wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready list_add double add: new=ffff88808fe8f018, prev=ffff88808fe8f018, next=ffff8880b5927700. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8489 Comm: kworker/u5:8 Not tainted 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work RIP: 0010:__list_add_valid+0xaa/0xb0 lib/list_debug.c:29 Code: e8 eb a9 48 89 f7 48 89 75 e8 e8 d1 89 44 fe 48 8b 75 e8 eb bb 48 89 f2 48 89 d9 4c 89 e6 48 c7 c7 a0 25 50 88 e8 83 6a 3b 04 <0f> 0b 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 RSP: 0018:ffff88809183f7e8 EFLAGS: 00010282 RAX: 0000000000000058 RBX: ffff8880b5927700 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88502360 RDI: ffffffff8bada720 RBP: ffff88809183f800 R08: ffffed1017444e99 R09: ffffed1017444e98 R10: ffffed1017444e98 R11: ffff8880ba2274c7 R12: ffff88808fe8f018 R13: ffff88808fe8f028 R14: ffff8880b5927700 R15: ffff88808fe8f010 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559ac9f6fbcf CR3: 00000000990ed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:60 [inline] list_add_tail include/linux/list.h:93 [inline] kobj_kset_join lib/kobject.c:188 [inline] kobject_add_internal+0x165/0x8d0 lib/kobject.c:238 kobject_add_varg lib/kobject.c:382 [inline] kobject_add+0x10f/0x170 lib/kobject.c:426 device_add+0x33e/0x16b0 drivers/base/core.c:2121 hci_conn_add_sysfs+0x8e/0x160 net/bluetooth/hci_sysfs.c:53 hci_sync_conn_complete_evt.isra.111+0x8bc/0xa50 net/bluetooth/hci_event.c:4091 hci_event_packet+0x1a08/0x68e0 net/bluetooth/hci_event.c:5869 hci_rx_work+0x385/0xa70 net/bluetooth/hci_core.c:4366 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace d7603452347f62f4 ]--- RIP: 0010:__list_add_valid+0xaa/0xb0 lib/list_debug.c:29 Code: e8 eb a9 48 89 f7 48 89 75 e8 e8 d1 89 44 fe 48 8b 75 e8 eb bb 48 89 f2 48 89 d9 4c 89 e6 48 c7 c7 a0 25 50 88 e8 83 6a 3b 04 <0f> 0b 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 RSP: 0018:ffff88809183f7e8 EFLAGS: 00010282 RAX: 0000000000000058 RBX: ffff8880b5927700 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88502360 RDI: ffffffff8bada720 RBP: ffff88809183f800 R08: ffffed1017444e99 R09: ffffed1017444e98 R10: ffffed1017444e98 R11: ffff8880ba2274c7 R12: ffff88808fe8f018 R13: ffff88808fe8f028 R14: ffff8880b5927700 R15: ffff88808fe8f010 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559ac9f6fbcf CR3: 00000000990ed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400