general protection fault, probably for non-canonical address 0xdffffc0000000023: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f] CPU: 1 PID: 12841 Comm: syz-executor.2 Not tainted 5.14.0-rc5-next-20210809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5732 [inline] RIP: 0010:destroy_workqueue+0x2e/0x800 kernel/workqueue.c:4386 Code: 49 89 fe 41 55 41 54 55 53 48 83 ec 08 e8 9a 58 29 00 49 8d be 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 07 00 00 49 8b 9e 18 01 00 00 48 85 db 74 19 RSP: 0018:ffffc90004cdfb98 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffc900161d6000 RDX: 0000000000000023 RSI: ffffffff814c4cd6 RDI: 0000000000000118 RBP: ffff888074f29340 R08: 0000000000000000 R09: ffff8880b9d329cb R10: ffffed10173a6539 R11: 0000000000000000 R12: ffff888074f28000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ff236441700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 00000000813a6000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_release_dev+0x125/0xb70 net/bluetooth/hci_core.c:4055 bt_host_release+0x15/0x20 net/bluetooth/hci_sysfs.c:86 device_release+0x9f/0x240 drivers/base/core.c:2193 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 put_device+0x1b/0x30 drivers/base/core.c:3463 hci_uart_tty_close+0x1e4/0x2a0 drivers/bluetooth/hci_ldisc.c:546 tty_ldisc_close+0x110/0x190 drivers/tty/tty_ldisc.c:474 tty_ldisc_kill+0x94/0x150 drivers/tty/tty_ldisc.c:629 tty_ldisc_release+0xe3/0x2a0 drivers/tty/tty_ldisc.c:803 tty_release_struct+0x20/0xe0 drivers/tty/tty_io.c:1706 tty_release+0xc70/0x1200 drivers/tty/tty_io.c:1878 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 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:00007ff236441188 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffc5b4dd8f R14: 00007ff236441300 R15: 0000000000022000 Modules linked in: ---[ end trace 899b07fae2450fbe ]--- RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5732 [inline] RIP: 0010:destroy_workqueue+0x2e/0x800 kernel/workqueue.c:4386 Code: 49 89 fe 41 55 41 54 55 53 48 83 ec 08 e8 9a 58 29 00 49 8d be 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 07 00 00 49 8b 9e 18 01 00 00 48 85 db 74 19 RSP: 0018:ffffc90004cdfb98 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffc900161d6000 RDX: 0000000000000023 RSI: ffffffff814c4cd6 RDI: 0000000000000118 RBP: ffff888074f29340 R08: 0000000000000000 R09: ffff8880b9d329cb R10: ffffed10173a6539 R11: 0000000000000000 R12: ffff888074f28000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007ff236441700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aa67446fd8 CR3: 00000000813a6000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400