INFO: task syz-executor.4:10695 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23792 pid:10695 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 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:0x7f86bd680a04 RSP: 002b:00007ffc41661450 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffc41661550 RCX: 00007f86bd680a04 RDX: 0000000000000002 RSI: 00007ffc41661590 RDI: 00000000ffffff9c RBP: 00007ffc41661590 R08: 0000000000000000 R09: 00007ffc41661360 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc41661590 INFO: task systemd-udevd:17066 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26168 pid:17066 ppid: 2971 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 __loop_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122 lo_release+0x1ac/0x1f0 drivers/block/loop.c:1761 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 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:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe07ae1f270 RSP: 002b:00007ffc181cd3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fe07ae1f270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fe07bcd9710 R08: 0000559abbdfac30 R09: 0000559abbdfaa00 R10: 00007fe07bcd98c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000559abbdebe40 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by in:imklog/6447: #0: ffff888018b600f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 2 locks held by kworker/u4:6/7950: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 2 locks held by kworker/u4:7/8814: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 1 lock held by syz-executor.4/10695: #0: ffff88801ac8e118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 2 locks held by systemd-udevd/17066: #0: ffff88801ac8e118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801ac89b60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211118-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:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy30 ieee80211_iface_work RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x70 kernel/kcov.c:293 Code: fe 72 22 44 89 c6 48 83 c2 01 48 89 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 c3 0f 1f 40 00 <49> 89 f8 bf 03 00 00 00 4c 8b 14 24 48 89 f1 65 48 8b 34 25 40 70 RSP: 0018:ffffc90000cd7a40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880736ff483 RCX: 0000000000000000 RDX: ffff888010e7d7c0 RSI: 000000000000000c RDI: 0000000000000000 RBP: 000000000000000c R08: 0000000000000005 R09: 0000000000000012 R10: ffffffff889c61e1 R11: 0000000000000000 R12: 0000000000000012 R13: 0000000000000012 R14: 0000000000000005 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c014ce77f0 CR3: 000000000b88e000 CR4: 00000000003506e0 Call Trace: ieee80211_sta_get_rates+0x431/0x960 net/mac80211/util.c:2122 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline] ieee80211_rx_bss_info net/mac80211/ibss.c:1117 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x1131/0x3130 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline] ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1522 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 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 72 22 jb 0x24 2: 44 89 c6 mov %r8d,%esi 5: 48 83 c2 01 add $0x1,%rdx 9: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) e: 48 c7 44 38 e0 05 00 movq $0x5,-0x20(%rax,%rdi,1) 15: 00 00 17: 48 89 74 38 e8 mov %rsi,-0x18(%rax,%rdi,1) 1c: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 21: 48 89 10 mov %rdx,(%rax) 24: c3 retq 25: 0f 1f 40 00 nopl 0x0(%rax) * 29: 49 89 f8 mov %rdi,%r8 <-- trapping instruction 2c: bf 03 00 00 00 mov $0x3,%edi 31: 4c 8b 14 24 mov (%rsp),%r10 35: 48 89 f1 mov %rsi,%rcx 38: 65 gs 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 34 25 xor $0x25,%al 3d: 40 rex 3e: 70 .byte 0x70