INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 16887 Comm: syz-executor.0 Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118 assign_lock_key syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:727 [inline] register_lock_class+0xe76/0x11c0 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:753 __lock_acquire+0x17d/0x3ff0 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:3303 lock_acquire+0x170/0x3c0 syzkaller/managers/linux-4-19/kernel/kernel/locking/lockdep.c:3907 __raw_spin_lock_bh syzkaller/managers/linux-4-19/kernel/./include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 syzkaller/managers/linux-4-19/kernel/kernel/locking/spinlock.c:168 spin_lock_bh syzkaller/managers/linux-4-19/kernel/./include/linux/spinlock.h:334 [inline] lock_sock_nested+0x3b/0x110 syzkaller/managers/linux-4-19/kernel/net/core/sock.c:2864 l2cap_sock_teardown_cb+0xa0/0x6d0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_sock.c:1340 l2cap_chan_del+0xbc/0xa50 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:599 l2cap_conn_del+0x3a6/0x6e0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:1729 l2cap_disconn_cfm syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:7441 [inline] l2cap_disconn_cfm+0x98/0xd0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:7434 hci_disconn_cfm syzkaller/managers/linux-4-19/kernel/./include/net/bluetooth/hci_core.h:1261 [inline] hci_conn_hash_flush+0x127/0x260 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_conn.c:1512 hci_dev_do_close+0x659/0xf10 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_core.c:1666 hci_rfkill_set_block+0xe7/0x160 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_core.c:2100 rfkill_set_block+0x1f9/0x540 syzkaller/managers/linux-4-19/kernel/net/rfkill/core.c:353 rfkill_fop_write+0x250/0x4a0 syzkaller/managers/linux-4-19/kernel/net/rfkill/core.c:1249 __vfs_write+0xf7/0x770 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:485 vfs_write+0x1f3/0x540 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:549 ksys_write+0x12b/0x2a0 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:599 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465d99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f395689b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465d99 RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff6190de0f R14: 00007f395689b300 R15: 0000000000022000 device vxcan7 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): vxcan7: link is not ready BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 914f7067 P4D 914f7067 PUD 4d212067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 16887 Comm: syz-executor.0 Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010: (null) Code: Bad RIP value. RSP: 0018:ffff8880b524f998 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005da1000 RDX: 1ffff11013105b41 RSI: ffffffff8740dfc4 RDI: ffff88809882d600 RBP: 0000000000000067 R08: 0000000000000000 R09: 0000000000000009 R10: 0000000000000001 R11: ffffffff8c65d01b R12: ffff88809a02f31c R13: ffff88809882d600 R14: ffff88809a02f300 R15: 0000000000000067 FS: 00007f395689b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000914f6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: l2cap_sock_teardown_cb+0x4f0/0x6d0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_sock.c:1365 l2cap_chan_del+0xbc/0xa50 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:599 l2cap_conn_del+0x3a6/0x6e0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:1729 l2cap_disconn_cfm syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:7441 [inline] l2cap_disconn_cfm+0x98/0xd0 syzkaller/managers/linux-4-19/kernel/net/bluetooth/l2cap_core.c:7434 hci_disconn_cfm syzkaller/managers/linux-4-19/kernel/./include/net/bluetooth/hci_core.h:1261 [inline] hci_conn_hash_flush+0x127/0x260 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_conn.c:1512 hci_dev_do_close+0x659/0xf10 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_core.c:1666 hci_rfkill_set_block+0xe7/0x160 syzkaller/managers/linux-4-19/kernel/net/bluetooth/hci_core.c:2100 rfkill_set_block+0x1f9/0x540 syzkaller/managers/linux-4-19/kernel/net/rfkill/core.c:353 rfkill_fop_write+0x250/0x4a0 syzkaller/managers/linux-4-19/kernel/net/rfkill/core.c:1249 __vfs_write+0xf7/0x770 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:485 vfs_write+0x1f3/0x540 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:549 ksys_write+0x12b/0x2a0 syzkaller/managers/linux-4-19/kernel/fs/read_write.c:599 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465d99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f395689b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465d99 RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff6190de0f R14: 00007f395689b300 R15: 0000000000022000 Modules linked in: CR2: 0000000000000000 device vxcan9 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): vxcan9: link is not ready ---[ end trace c7fa4a18572c78a9 ]--- RIP: 0010: (null) Code: Bad RIP value. RSP: 0018:ffff8880b524f998 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005da1000 RDX: 1ffff11013105b41 RSI: ffffffff8740dfc4 RDI: ffff88809882d600 RBP: 0000000000000067 R08: 0000000000000000 R09: 0000000000000009 R10: 0000000000000001 R11: ffffffff8c65d01b R12: ffff88809a02f31c R13: ffff88809882d600 R14: ffff88809a02f300 R15: 0000000000000067 FS: 00007f395689b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1aefc5a000 CR3: 00000000914f6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400