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: 10958 Comm: syz-executor.2 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5726 [inline] RIP: 0010:destroy_workqueue+0x29/0x720 kernel/workqueue.c:4380 Code: 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 49 89 fc 48 81 c7 18 01 00 00 48 89 fa 55 48 c1 ea 03 53 48 83 ec 08 <80> 3c 02 00 0f 85 5f 06 00 00 49 8b 84 24 18 01 00 00 48 85 c0 74 RSP: 0018:ffffc9000d107bf8 EFLAGS: 00010292 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000023 RSI: ffffffff88cb2920 RDI: 0000000000000118 RBP: ffff88802aa8c000 R08: 0000000000000001 R09: ffff88802aa8d37b R10: ffffed1005551a6f R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8b5f84e0 R14: 0000000000000000 R15: 0000000000000000 FS: 000000000240c400(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000519970 CR3: 0000000034369000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_release_dev+0x11c/0xac0 net/bluetooth/hci_core.c:4048 bt_host_release+0xc/0x20 net/bluetooth/hci_sysfs.c:86 device_release+0x93/0x200 drivers/base/core.c:2190 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x139/0x410 lib/kobject.c:753 hci_uart_tty_close+0x189/0x240 drivers/bluetooth/hci_ldisc.c:546 tty_ldisc_kill+0x73/0x110 drivers/tty/tty_ldisc.c:629 tty_ldisc_release+0xd7/0x1b0 drivers/tty/tty_ldisc.c:803 tty_release_struct+0x10/0xd0 drivers/tty/tty_io.c:1706 tty_release+0xa06/0xf80 drivers/tty/tty_io.c:1878 __fput+0x209/0x870 fs/file_table.c:280 task_work_run+0xc0/0x160 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:0x4193fb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffc216423f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193fb RDX: 00000000005701c0 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33620054 R10: 00007ffc216424e0 R11: 0000000000000293 R12: 0000000000010280 R13: 00000000000003e8 R14: 000000000056bf80 R15: 000000000001027b Modules linked in: ---[ end trace 1290d5cf112a584e ]--- RIP: 0010:workqueue_sysfs_unregister kernel/workqueue.c:5726 [inline] RIP: 0010:destroy_workqueue+0x29/0x720 kernel/workqueue.c:4380 Code: 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 49 89 fc 48 81 c7 18 01 00 00 48 89 fa 55 48 c1 ea 03 53 48 83 ec 08 <80> 3c 02 00 0f 85 5f 06 00 00 49 8b 84 24 18 01 00 00 48 85 c0 74 RSP: 0018:ffffc9000d107bf8 EFLAGS: 00010292 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000023 RSI: ffffffff88cb2920 RDI: 0000000000000118 RBP: ffff88802aa8c000 R08: 0000000000000001 R09: ffff88802aa8d37b R10: ffffed1005551a6f R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8b5f84e0 R14: 0000000000000000 R15: 0000000000000000 FS: 000000000240c400(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000519970 CR3: 0000000034369000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400