INFO: task udevd:14164 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:26856 pid:14164 tgid:14164 ppid:5043   task_flags:0x400140 flags:0x00080802
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 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+0x1443/0x1d60
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe260d169a4
RSP: 002b:00007fffefd6d100 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe260d169a4
RDX: 0000000000080000 RSI: 000055fd8d84b560 RDI: 00000000ffffff9c
RBP: 000055fd8d84b560 R08: 000055fd8d8675d0 R09: 00007fe260df1c10
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000
R13: 000055fd8d8675d0 R14: 0000000000000000 R15: 0000000000000001
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/36: 1, last CPU#1:
 #0: ffffffff8ed5c8e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5423: 2, on CPU#1:
 #0: ffff888178fc30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034762e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by kworker/u8:6/8531: 4, on CPU#1:
 #0: ffff8881012d5940 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004cc7c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff90244b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810
 #3: ffffffff90253400 (rtnl_mutex){+.+.}-{4:4}, at: cfg802154_pernet_exit+0x18/0xc0
locks held by udevd/14164: 1, on CPU#0:
 #0: ffff8881b7685350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70
locks held by kworker/u10:1/17185: 2, on CPU#1:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900063afc40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by kworker/u10:5/17189: 2, on CPU#1:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900062bfc40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by syz.4.19073/24023: 1, last CPU#0:
 #0: ffffffff90253400 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
locks held by syz.0.19074/24032: 2, on CPU#1:
 #0: ffffffff902c42e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff90253400 (rtnl_mutex){+.+.}-{4:4}, at: nl80211_pre_doit+0x5e/0x890
lock
locks held by modprobe/24044: 2, last CPU#1:
 #0: ffff888178374378 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2d8/0x9f0
 #1: ffffffff8ed5c8e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550
locks held by modprobe/24045: 1, last CPU#1:
 #0: ffff88816e327678 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1dd/0x4e0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
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+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 24023 Comm: syz.4.19073 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc 89 f6 31 d2 e9 a6 ba a6 03 66 0f 1f 44 00
RSP: 0018:ffffc90000007d30 EFLAGS: 00000046
RAX: 0000000000016a03 RBX: ffff888121023c80 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000016a03 RDI: 0000000000000838
RBP: ffffc90000007df0 R08: 0000000000000100 R09: 0000000000000001
R10: 0000000000000003 R11: ffffffff81754510 R12: 0000000000016a03
R13: dffffc0000000000 R14: 000000000ffff5ef R15: 0000000000000020
FS:  0000555558604500(0000) GS:ffff88818d6ce000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2d0e5556c8 CR3: 0000000114356000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x36c/0x4b0
 irqentry_exit+0x8d3/0x910
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 2d 78 bb f5 f7 c3 00 02 00 00 74 05 e8 90 c2 e7 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 94 85 ac f5 65 48 8b 05 0c c1 ac 07 48 85 c0 74 18 5b 41 5e e9
RSP: 0018:ffffc90000007f40 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000283 RCX: 8000000000000102
RDX: 0000000000000002 RSI: ffffffff8e413f7e RDI: 0000000000000001
RBP: 0000000000000008 R08: ffffffff907a417f R09: 1ffffffff20f482f
R10: dffffc0000000000 R11: fffffbfff20f4830 R12: 0000000000000009
R13: 0000000000000008 R14: ffff888121028280 R15: 0000000000000100
 handle_softirqs+0x226/0x860
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 addrconf_ifdown+0x68a/0x1a30
 addrconf_notify+0x1bc/0x1050
 notifier_call_chain+0x1a5/0x3d0
 netif_close_many+0x463/0x660
 unregister_netdevice_many_notify+0xb76/0x2140
 unregister_netdevice_queue+0x2f5/0x340
 __tun_detach+0x1074/0x1900
 tun_chr_close+0x10a/0x1c0
 __fput+0x418/0xa50
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0x204/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2c6cf9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffffa7fa9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f2c6d227da0 RCX: 00007f2c6cf9e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f2c6d227da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00000000003ecf3c R11: 0000000000000246 R12: 000000000028f241
R13: 00007f2c6d22609c R14: 000000000028effe R15: 00007f2c6d226090
 </TASK>
