INFO: task kworker/u4:5:25644 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:24880 pid:25644 ppid: 2 flags:0x00004000 Workqueue: nbd-del nbd_dev_remove_work Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 del_gendisk+0x598/0x860 block/genhd.c:623 nbd_dev_remove+0x3c/0xf0 drivers/block/nbd.c:252 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-udevd/2969: 1 lock held by in:imklog/6211: #0: ffff8880123939f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by kworker/u5:1/6517: #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88807e073938 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc9000287fdb0 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff88808004cff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open+0xac/0x1870 net/bluetooth/hci_core.c:1324 2 locks held by kworker/u4:5/25644: #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88801a6ec938 ((wq_completion)nbd-del){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90003cc7db0 ((work_completion)(&nbd->remove_work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2969 Comm: systemd-udevd Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:164 [inline] RIP: 0010:unwind_next_frame+0x276/0x1ce0 arch/x86/kernel/unwind_orc.c:443 Code: 48 89 54 24 30 48 89 74 24 28 44 89 5c 24 20 e8 b0 62 8a 00 48 8b 54 24 30 48 8b 74 24 28 44 8b 5c 24 20 8b 0c 95 08 f2 a9 8e <8d> 56 01 48 b8 00 00 00 00 00 fc ff df 48 8d 3c 95 08 f2 a9 8e 49 RSP: 0018:ffffc90001a6f550 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff9200034deb2 RCX: 000000000000af25 RDX: 0000000000002c9e RSI: 0000000000002c9e RDI: ffffffff8eaaa480 RBP: 0000000000000001 R08: ffffffff8b9fa060 R09: 0000000000000001 R10: fffff5200034deda R11: 000000000008808a R12: ffffc90001a6f6c0 R13: ffffc90001a6f6ad R14: ffffc90001a6f678 R15: ffffffff812c9ebb FS: 00007f8cd09e68c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f259b2dd000 CR3: 000000007f4a3000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __unwind_start+0x51b/0x800 arch/x86/kernel/unwind_orc.c:712 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track+0x21/0x30 mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xff/0x130 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1749 slab_free mm/slub.c:3513 [inline] kfree+0xf6/0x560 mm/slub.c:4561 tomoyo_path_perm+0x23d/0x400 security/tomoyo/file.c:842 security_inode_getattr+0xcf/0x140 security/security.c:1334 vfs_getattr fs/stat.c:157 [inline] vfs_statx+0x164/0x390 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3358 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:398 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8ccf858335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffe91196de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000056415dae4b80 RCX: 00007f8ccf858335 RDX: 00007ffe91196e20 RSI: 00007ffe91196e20 RDI: 000056415dae3b80 RBP: 00007ffe91196ee0 R08: 00007f8ccfb17178 R09: 0000000000001010 R10: 0000000000000120 R11: 0000000000000246 R12: 000056415dae3b80 R13: 000056415dae3b94 R14: 000056415d159a3d R15: 000056415d159a44 ---------------- Code disassembly (best guess): 0: 48 89 54 24 30 mov %rdx,0x30(%rsp) 5: 48 89 74 24 28 mov %rsi,0x28(%rsp) a: 44 89 5c 24 20 mov %r11d,0x20(%rsp) f: e8 b0 62 8a 00 callq 0x8a62c4 14: 48 8b 54 24 30 mov 0x30(%rsp),%rdx 19: 48 8b 74 24 28 mov 0x28(%rsp),%rsi 1e: 44 8b 5c 24 20 mov 0x20(%rsp),%r11d 23: 8b 0c 95 08 f2 a9 8e mov -0x71560df8(,%rdx,4),%ecx * 2a: 8d 56 01 lea 0x1(%rsi),%edx <-- trapping instruction 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 8d 3c 95 08 f2 a9 lea -0x71560df8(,%rdx,4),%rdi 3e: 8e 3f: 49 rex.WB