INFO: task udevd:3771 blocked for more than 143 seconds. Not tainted 5.18.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24288 pid: 3771 ppid: 2966 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 io_schedule+0x83/0x100 kernel/sched/core.c:8563 folio_wait_bit_common+0x97a/0x1490 mm/filemap.c:1324 folio_wait_bit mm/filemap.c:1473 [inline] folio_wait_locked include/linux/pagemap.h:976 [inline] do_read_cache_folio+0x77c/0xd50 mm/filemap.c:3516 do_read_cache_page mm/filemap.c:3588 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3597 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:723 adfspart_check_ICS+0xd4/0x750 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:608 [inline] bdev_disk_changed+0x75d/0x13e0 block/partitions/core.c:694 blkdev_get_whole+0x31e/0x3c0 block/bdev.c:679 blkdev_get_by_dev+0x2fb/0xa30 block/bdev.c:816 blkdev_open+0x128/0x2e0 block/fops.c:498 do_dentry_open+0x77f/0xfd0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3609 do_filp_open+0x277/0x4f0 fs/namei.c:3636 do_sys_openat2+0x13b/0x500 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3209325697 RSP: 002b:00007fff1e559510 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00005555c7030f10 RCX: 00007f3209325697 RDX: 00000000000a0800 RSI: 00005555c7006630 RDI: 00000000ffffff9c RBP: 00005555c7006630 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 00005555c700ebd0 R14: 0000000000000001 R15: 00005555c7005910 INFO: task syz-executor.0:20372 blocked for more than 143 seconds. Not tainted 5.18.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27328 pid:20372 ppid: 12589 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785 blkdev_put+0xf8/0x790 block/bdev.c:905 blkdev_close+0x55/0x80 block/fops.c:512 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f842c8890e9 RSP: 002b:00007f842d9fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f842c99bf60 RCX: 00007f842c8890e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f842c8e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5350dc3f R14: 00007f842d9fe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1b020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3278: #0: ffff88807f378098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 1 lock held by udevd/3771: #0: ffff88801c5fb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa30 block/bdev.c:807 3 locks held by kworker/u4:13/10078: #0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:554 #1: ffff8880b9a277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x567/0x820 kernel/sched/psi.c:889 #2: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:554 1 lock held by syz-executor.0/20372: #0: ffff88801c5fb118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x790 block/bdev.c:905 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc7-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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10077 Comm: kworker/u4:12 Not tainted 5.18.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy7 ieee80211_iface_work RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:write_comp_data kernel/kcov.c:221 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x14/0xa0 kernel/kcov.c:287 Code: 39 48 83 ca 18 4c 89 14 11 4c 89 44 f1 20 49 ff c1 4c 89 09 c3 90 4c 8b 04 24 65 48 8b 14 25 80 6f 02 00 65 8b 0d 54 56 7c 7e c1 00 01 ff 00 74 11 f7 c1 00 01 00 00 74 7a 83 ba a4 15 00 00 RSP: 0018:ffffc9001400f000 EFLAGS: 00000046 RAX: b09c53fbba948400 RBX: ffffffff8a25c86c RCX: 0000000080000201 RDX: ffff88807f3e5880 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff818cbd74 R09: fffffbfff1f64411 R10: fffffbfff1f64411 R11: 1ffffffff1f64410 R12: 0000000000000246 R13: 1ffff92002801e04 R14: ffffffff90ea35f8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d1b90e3600 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0x24/0x70 kernel/trace/trace_preemptirq.c:78 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] _raw_spin_lock_irqsave+0xac/0x120 kernel/locking/spinlock.c:162 __debug_object_init+0xdc/0x1860 lib/debugobjects.c:569 debug_object_init lib/debugobjects.c:620 [inline] debug_object_activate+0x188/0x6a0 lib/debugobjects.c:706 debug_rcu_head_queue kernel/rcu/rcu.h:176 [inline] kvfree_call_rcu+0xb4/0x840 kernel/rcu/tree.c:3586 cfg80211_update_known_bss+0x15f/0x990 cfg80211_bss_update+0x176/0x2090 net/wireless/scan.c:1715 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2473 [inline] cfg80211_inform_bss_frame_data+0x9c3/0x20e0 net/wireless/scan.c:2506 ieee80211_bss_info_update+0x78a/0xc30 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+0x1659/0x28c0 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0x757/0xcd0 net/mac80211/iface.c:1581 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 39 48 83 cmp %ecx,-0x7d(%rax) 3: ca 18 4c lret $0x4c18 6: 89 14 11 mov %edx,(%rcx,%rdx,1) 9: 4c 89 44 f1 20 mov %r8,0x20(%rcx,%rsi,8) e: 49 ff c1 inc %r9 11: 4c 89 09 mov %r9,(%rcx) 14: c3 retq 15: 90 nop 16: 4c 8b 04 24 mov (%rsp),%r8 1a: 65 48 8b 14 25 80 6f mov %gs:0x26f80,%rdx 21: 02 00 23: 65 8b 0d 54 56 7c 7e mov %gs:0x7e7c5654(%rip),%ecx # 0x7e7c567e * 2a: f7 c1 00 01 ff 00 test $0xff0100,%ecx <-- trapping instruction 30: 74 11 je 0x43 32: f7 c1 00 01 00 00 test $0x100,%ecx 38: 74 7a je 0xb4 3a: 83 .byte 0x83 3b: ba a4 15 00 00 mov $0x15a4,%edx