INFO: task udevd:20014 blocked in I/O wait for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:25160 pid:20014 tgid:20014 ppid:5046   task_flags:0x400140 flags:0x00080802
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x836/0xbc0
 do_read_cache_folio+0x1ac/0x590
 read_part_sector+0xb6/0x2b0
 adfspart_check_POWERTEC+0x9a/0x7a0
 bdev_disk_changed+0x851/0x17a0
 blkdev_get_whole+0x372/0x510
 bdev_open+0x324/0xd70
 blkdev_open+0x461/0x600
 do_dentry_open+0x816/0x1380
 vfs_open+0x3b/0x340
 path_openat+0x2e44/0x3830
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2e205989a4
RSP: 002b:00007fffb9214010 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055eeec687780 RCX: 00007f2e205989a4
RDX: 00000000000a0800 RSI: 000055eeec668310 RDI: 00000000ffffff9c
RBP: 000055eeec668310 R08: 0000000000000001 R09: 3fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055eeec67e950 R14: 0000000000000001 R15: 000055eeec667910
 </TASK>
INFO: task syz.6.8194:26386 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.8194      state:D stack:25352 pid:26386 tgid:26385 ppid:10813  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7bf/0x1550
 sync_bdevs+0x276/0x470
 __ia32_sys_sync+0xc5/0x120
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f390f99e0d9
RSP: 002b:00007f39108f5028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f390fc25fa0 RCX: 00007f390f99e0d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f390fc25fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f390fc26038 R14: 00007f390fc25fa0 R15: 00007ffead26a288
 </TASK>

Showing all locks held in the system:
11 locks held by kworker/0:0/9:
2 locks held by kworker/0:1/10:
1 lock held by khungtaskd/36:
 #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/0:2/805:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc90004cefc40 (console_work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
2 locks held by getty/5426:
 #0: ffff8881026e40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034832e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
4 locks held by kworker/0:4/5681:
3 locks held by kworker/0:5/7257:
2 locks held by kworker/0:7/10985:
4 locks held by syz-executor/13807:
1 lock held by udevd/20014:
 #0: ffff88810731f350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
4 locks held by udevd/20427:
 #0: ffff88801c47fcf8 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xa4/0xca0
 #1: ffff888030582880 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x5d/0x420
 #2: ffff888105776f08 (kn->active#28){++++}-{0:0}, at: kernfs_seq_start+0xb2/0x420
 #3: ffff888120ad41d8 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0
3 locks held by udevd/21292:
1 lock held by syz.6.8194/26386:
 #0: ffff88810731f350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x276/0x470
6 locks held by syz.3.8285/26598:
2 locks held by kworker/0:8/28418:
1 lock held by syz.8.9021/28899:
 #0: ffffffff8f45f260 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x37/0x17c0
2 locks held by syz.0.9078/29056:
 #0: ffffffff8f457100 (tty_mutex){+.+.}-{4:4}, at: tty_open+0x204/0xcc0
 #1: ffff88804096f1b0 (&tty->legacy_mutex){+.+.}-{4:4}, at: tty_init_dev+0x74/0x4d0
5 locks held by syz-executor/29282:
 #0: ffffffff90097328 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff90097160 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10b/0x7a0
 #2: ffffffff90026a40 (rtnl_mutex){+.+.}-{4:4}, at: ieee80211_register_hw+0x3d6d/0x4a50
 #3: ffff88803d1007a0 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_register_hw+0x3d8b/0x4a50
 #4: ffff8881012d4980 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x2b7/0x5e0
1 lock held by syz.1.9187/29475:
 #0: ffffffff8f457100 (tty_mutex){+.+.}-{4:4}, at: ptmx_open+0xdc/0x2e0
2 locks held by rm/29488:

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 36 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
