INFO: task systemd-udevd:30776 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26544 pid:30776 ppid: 2970 flags:0x00004000 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 io_schedule+0xee/0x170 kernel/sched/core.c:8371 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:851 [inline] folio_wait_locked include/linux/pagemap.h:848 [inline] wait_on_page_locked include/linux/pagemap.h:863 [inline] wait_on_page_read mm/filemap.c:3430 [inline] do_read_cache_page+0x986/0x11a0 mm/filemap.c:3473 read_mapping_page include/linux/pagemap.h:651 [inline] read_part_sector+0xf6/0x5b0 block/partitions/core.c:728 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:149 [inline] blk_add_partitions block/partitions/core.c:613 [inline] bdev_disk_changed+0x759/0x1100 block/partitions/core.c:699 blkdev_get_whole+0x206/0x2d0 block/bdev.c:684 blkdev_get_by_dev.part.0+0x5c6/0xc70 block/bdev.c:826 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860 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_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7fd7d0547840 RSP: 002b:00007ffdd513b058 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00005626bedc90a0 RCX: 00007fd7d0547840 RDX: 00005626be49afe3 RSI: 0000000000080000 RDI: 00005626bedb5ee0 RBP: 0000000000000001 R08: 00005626be49a670 R09: 0000000000000110 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00005626bedca3e0 R15: 00000000ffffffff INFO: task syz-executor.5:30782 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28152 pid:30782 ppid: 22348 flags:0x00000004 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x99/0x980 block/bdev.c:915 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:0x7f7c583c572b RSP: 002b:00007ffc1bab6b60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f7c583c572b RDX: 00007f7c5852a380 RSI: 0000000000000080 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f7c5852a388 R10: 00007ffc1bab6c50 R11: 0000000000000293 R12: 00000000000a1110 R13: 00000000000003e8 R14: 00007f7c58525f60 R15: 00000000000a106f INFO: task syz-executor.5:30784 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28496 pid:30784 ppid: 22348 flags:0x00004004 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x99/0x980 block/bdev.c:915 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:0x7f7c58412ae9 RSP: 002b:00007f7c55988188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f7c58525f60 RCX: 00007f7c58412ae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 00007f7c5846cf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1bab6aff R14: 00007f7c55988300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6316: #0: ffff88807edc4d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/30776: #0: ffff88801a975118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817 1 lock held by syz-executor.5/30782: #0: ffff88801a975118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x980 block/bdev.c:915 1 lock held by syz-executor.5/30784: #0: ffff88801a975118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x980 block/bdev.c:915 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-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: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: 8 Comm: kworker/u4:0 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy10 ieee80211_iface_work RIP: 0010:cmp_bss net/wireless/scan.c:1281 [inline] RIP: 0010:rb_find_bss+0x159/0x200 net/wireless/scan.c:1508 Code: 48 85 db 74 50 e8 a7 7e 00 f9 41 80 3f 00 75 7c 48 8d 73 48 4d 8b 6e 68 48 89 f0 48 c1 e8 03 42 80 3c 20 00 75 54 48 8b 6b 48 <49> 39 ed 0f 85 14 ff ff ff 48 89 34 24 e8 75 7e 00 f9 8b 54 24 0c RSP: 0018:ffffc90000cd75b0 EFLAGS: 00000246 RAX: 1ffff110037d2d0d RBX: ffff88801be96820 RCX: 0000000000000000 RDX: ffff888010e65700 RSI: ffff88801be96868 RDI: 0000000000000003 RBP: ffff8880823eb578 R08: 0000000000000000 R09: 0000000000000006 R10: ffffffff88771c04 R11: 0000000000000006 R12: dffffc0000000000 R13: ffff8880823eb578 R14: ffffc90000cd7728 R15: fffff5200019aef2 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007febb2089000 CR3: 000000000b88e000 CR4: 0000000000350ef0 Call Trace: cfg80211_bss_update+0xc6/0x2070 net/wireless/scan.c:1707 cfg80211_inform_single_bss_frame_data+0x6e8/0xee0 net/wireless/scan.c:2425 cfg80211_inform_bss_frame_data+0xa7/0xb50 net/wireless/scan.c:2458 ieee80211_bss_info_update+0x35b/0xb30 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x19cf/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): 0: 48 85 db test %rbx,%rbx 3: 74 50 je 0x55 5: e8 a7 7e 00 f9 callq 0xf9007eb1 a: 41 80 3f 00 cmpb $0x0,(%r15) e: 75 7c jne 0x8c 10: 48 8d 73 48 lea 0x48(%rbx),%rsi 14: 4d 8b 6e 68 mov 0x68(%r14),%r13 18: 48 89 f0 mov %rsi,%rax 1b: 48 c1 e8 03 shr $0x3,%rax 1f: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 24: 75 54 jne 0x7a 26: 48 8b 6b 48 mov 0x48(%rbx),%rbp * 2a: 49 39 ed cmp %rbp,%r13 <-- trapping instruction 2d: 0f 85 14 ff ff ff jne 0xffffff47 33: 48 89 34 24 mov %rsi,(%rsp) 37: e8 75 7e 00 f9 callq 0xf9007eb1 3c: 8b 54 24 0c mov 0xc(%rsp),%edx