INFO: task udevd:2802 blocked for more than 143 seconds. Not tainted 5.15.119-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:21656 pid: 2802 ppid: 2962 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 io_schedule+0x88/0x100 kernel/sched/core.c:8472 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3428 [inline] do_read_cache_page+0x9c1/0x1040 mm/filemap.c:3471 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0xd8/0x530 block/partitions/core.c:727 adfspart_check_ICS+0xd9/0xd00 block/partitions/acorn.c:360 check_partition block/partitions/core.c:148 [inline] blk_add_partitions block/partitions/core.c:612 [inline] bdev_disk_changed+0x982/0x1760 block/partitions/core.c:698 blkdev_get_whole+0x2fb/0x390 block/bdev.c:682 blkdev_get_by_dev+0x2b2/0xa50 block/bdev.c:824 blkdev_open+0x138/0x2d0 block/fops.c:463 do_dentry_open+0x807/0xfb0 fs/open.c:826 do_open fs/namei.c:3538 [inline] path_openat+0x2702/0x2f20 fs/namei.c:3672 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1238 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f683fb9c9a4 RSP: 002b:00007ffd2a6e8fa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055b1dc2707e0 RCX: 00007f683fb9c9a4 RDX: 00000000000a0800 RSI: 000055b1dc2626a0 RDI: 00000000ffffff9c RBP: 000055b1dc2626a0 R08: 0000000000000001 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055b1dc260750 R14: 0000000000000001 R15: 000055b1dc24e910 INFO: task syz-executor.2:9989 blocked for more than 143 seconds. Not tainted 5.15.119-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26744 pid: 9989 ppid: 3534 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 blkdev_put+0xfb/0x790 block/bdev.c:912 blkdev_close+0x7c/0xa0 block/fops.c:475 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3ad1fca12b RSP: 002b:00007ffe047024b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f3ad1fca12b RDX: 0000001b2fc20000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f3ad2139980 R08: 0000000000000000 R09: 0000000000000010 R10: 00007ffe0474a080 R11: 0000000000000293 R12: 00000000001c5afd R13: 00007ffe047025b0 R14: 00007ffe047025d0 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c5e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3257: #0: ffff88814b296098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 2 locks held by kworker/u4:7/21891: #0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4e1/0x810 kernel/sched/psi.c:882 1 lock held by udevd/2802: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 1 lock held by syz-executor.2/9989: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 1 lock held by syz-executor.2/10080: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 1 lock held by syz-executor.2/10081: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 1 lock held by syz-executor.2/10123: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 1 lock held by syz-executor.2/10124: #0: ffff88801b4be118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: phy8 ieee80211_iface_work RIP: 0010:lockdep_hardirqs_off+0x3/0x100 kernel/locking/lockdep.c:4350 Code: 03 00 0f 85 77 ff ff ff 48 c7 c7 00 fb 8a 8a 48 c7 c6 00 fc 8a 8a e8 ec 22 30 f7 0f 0b e9 5d ff ff ff e8 a0 fe ff ff 41 56 53 <48> 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 83 3d 88 59 RSP: 0018:ffffc90001e0fb70 EFLAGS: 00000093 RAX: ffffffff818677c7 RBX: ffffffff81800876 RCX: ffff888012fad940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81800876 RBP: 0000000000000000 R08: ffffffff89aaf5ad R09: fffffbfff1f79840 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888058f3cc80 R13: ffff888058f3d7c0 R14: 0000000000000246 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056356948e680 CR3: 0000000023182000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0x14/0x70 kernel/trace/trace_preemptirq.c:76 kcov_remote_start+0x76/0x490 kernel/kcov.c:827 kcov_remote_start_common include/linux/kcov.h:48 [inline] ieee80211_iface_work+0x205/0xcc0 net/mac80211/iface.c:1490 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298