INFO: task udevd:11193 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24480 pid:11193 ppid: 2975 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 io_schedule+0x83/0x100 kernel/sched/core.c:8645 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:1028 [inline] do_read_cache_folio+0x634/0xd10 mm/filemap.c:3530 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xd5/0x450 block/partitions/core.c:715 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:600 [inline] bdev_disk_changed+0x75d/0x13e0 block/partitions/core.c:686 blkdev_get_whole+0x329/0x3b0 block/bdev.c:686 blkdev_get_by_dev+0x30b/0xa40 block/bdev.c:823 blkdev_open+0x128/0x2e0 block/fops.c:481 do_dentry_open+0x789/0x1040 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x26c0/0x2ec0 fs/namei.c:3653 do_filp_open+0x277/0x4f0 fs/namei.c:3680 do_sys_openat2+0x13b/0x500 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1305 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+0x46/0xb0 RIP: 0033:0x7f3541125697 RSP: 002b:00007fffa073b360 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055994595f300 RCX: 00007f3541125697 RDX: 00000000000a0800 RSI: 0000559945951370 RDI: 00000000ffffff9c RBP: 0000559945951370 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000559945941b70 R14: 0000000000000001 R15: 0000559945938910 INFO: task syz-executor.4:11438 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27960 pid:11438 ppid: 8318 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_put+0x100/0x730 block/bdev.c:912 blkdev_close+0x55/0x80 block/fops.c:495 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:177 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/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f4379e89109 RSP: 002b:00007f437b06b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f4379f9c030 RCX: 00007f4379e89109 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f4379ee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3ffd95ff R14: 00007f437b06b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1e820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3294: #0: ffff888027281098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 1 lock held by udevd/11193: #0: ffff88801e297918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:814 1 lock held by syz-executor.4/11438: #0: ffff88801e297918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:912 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 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: 26881 Comm: kworker/u4:25 Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: phy10 ieee80211_iface_work RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:56 [inline] RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline] RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:352 [inline] RIP: 0010:unwind_next_frame+0xc0b/0x24c0 arch/x86/kernel/unwind_orc.c:534 Code: 89 dd 48 c1 ed 03 42 80 7c 0d 00 00 74 12 48 89 df e8 99 b1 9e 00 49 b9 00 00 00 00 00 fc ff df 48 89 5c 24 70 4c 89 6c 24 38 <49> 8b 5c 24 10 48 8b 44 24 28 42 8a 04 08 84 c0 0f 85 4a 12 00 00 RSP: 0018:ffffc90005206e80 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90005206f70 RCX: ffffffff8e199f94 RDX: ffffffff8e8e5f16 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 1ffff92000a40dee R08: 000000000000000f R09: dffffc0000000000 R10: fffff52000a40df8 R11: 1ffff92000a40df6 R12: ffffc90005206f60 R13: ffffffff8e8e5f1a R14: ffffc90005200000 R15: 1ffff92000a40ded FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c002b02c18 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122 kasan_save_stack+0x3b/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:348 kvfree_call_rcu+0x118/0x840 kernel/rcu/tree.c:3647 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: 89 dd mov %ebx,%ebp 2: 48 c1 ed 03 shr $0x3,%rbp 6: 42 80 7c 0d 00 00 cmpb $0x0,0x0(%rbp,%r9,1) c: 74 12 je 0x20 e: 48 89 df mov %rbx,%rdi 11: e8 99 b1 9e 00 callq 0x9eb1af 16: 49 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%r9 1d: fc ff df 20: 48 89 5c 24 70 mov %rbx,0x70(%rsp) 25: 4c 89 6c 24 38 mov %r13,0x38(%rsp) * 2a: 49 8b 5c 24 10 mov 0x10(%r12),%rbx <-- trapping instruction 2f: 48 8b 44 24 28 mov 0x28(%rsp),%rax 34: 42 8a 04 08 mov (%rax,%r9,1),%al 38: 84 c0 test %al,%al 3a: 0f 85 4a 12 00 00 jne 0x128a