INFO: task udevd:5057 blocked in I/O wait for more than 143 seconds.
      Not tainted syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:22968 pid:5057  tgid:5057  ppid:5046   task_flags:0x40054c flags:0x00080803
Call Trace:
 <TASK>
 __schedule+0x17d9/0x56c0
 schedule+0x164/0x2b0
 io_schedule+0x7f/0xd0
 folio_wait_bit_common+0x836/0xbc0
 truncate_inode_pages_range+0xa41/0xd80
 blkdev_flush_mapping+0x109/0x2f0
 bdev_release+0x443/0x690
 blkdev_release+0x15/0x20
 __fput+0x418/0xa50
 task_work_run+0x1d9/0x270
 do_exit+0x73a/0x2360
 do_group_exit+0x22d/0x2f0
 get_signal+0x121b/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 exit_to_user_mode_loop+0x104/0x730
 do_syscall_64+0x353/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5fb2316b6a
RSP: 002b:00007fff88f2a178 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffffc RBX: 000fffffffff0000 RCX: 00007f5fb2316b6a
RDX: 0000000000000040 RSI: 000055c07368c108 RDI: 0000000000000009
RBP: 0000000000000040 R08: 000055c07368c0e0 R09: 00007f5fb23f1b60
R10: 0000000000000007 R11: 0000000000000246 R12: 000055c07368c0e0
R13: 000055c07368c0f8 R14: 000055c0736909c8 R15: 000055c073690970
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/35:
 #0: ffffffff8eb59c60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:5/1105:
 #0: ffff88812103b160 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2d/0x160
 #1: ffff888121024440 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x57/0x7d0
 #2: ffff888121026058 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x1a9/0xed0
2 locks held by getty/5425:
 #0: ffff8881740e70a0 (&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
3 locks held by syz-executor/5600:
1 lock held by udevd/5057:
 #0: ffff88816d571350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x1b8/0x690
3 locks held by kworker/1:3/9141:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #1: ffffc900074c7c40 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0
 #2: ffffffff8eb5ff68 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
1 lock held by syz.3.10828/9503:
 #0: ffffffff8eb5ff68 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by syz.0.10842/9550:
 #0: ffffffff8eb5fe38 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0x17a/0x380
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 14785 Comm: kworker/u8:4 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
Workqueue: bat_events batadv_tt_purge
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 e9 00 3a 5d 0a cc 89 f6 31 d2 e9 36 91 9a 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a08d30 EFLAGS: 00000046
RAX: 00000000000022a2 RBX: ffff88823c623c80 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000022a2 RDI: 0000000000000838
RBP: ffffc90000a08df0 R08: ffffffff81b3fb45 R09: 0000000000080000
R10: 0000000000000000 R11: ffffffff8174d530 R12: 00000000000022a2
R13: dffffc0000000000 R14: 0000000010000863 R15: 0000000000000020
FS:  0000000000000000(0000) GS:ffff8882a8f58000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f5b287e20 CR3: 000000016bf6a000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x26c/0x420
 irqentry_exit+0x8b7/0x8f0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 2d 6d d0 f5 f7 c3 00 02 00 00 74 05 e8 00 4e fc f5 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> c4 80 c1 f5 65 8b 05 bd 90 99 07 85 c0 74 18 5b 41 5e c3 cc cc
RSP: 0018:ffffc90000a08f40 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000246 RCX: 0000000080000102
RDX: 0000000000000002 RSI: ffffffff8e227fd9 RDI: 0000000000000001
RBP: ffffffff8e80a100 R08: ffffffff90573737 R09: 1ffffffff20ae6e6
R10: dffffc0000000000 R11: fffffbfff20ae6e7 R12: 0000000000000009
R13: 0000000000000008 R14: ffff88823c6281c0 R15: 0000000000000001
 handle_softirqs+0x225/0x840
 do_softirq+0x76/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x130
 batadv_tt_local_purge+0x2c1/0x340
 batadv_tt_purge+0x35/0xa10
 process_scheduled_works+0xa8e/0x14e0
 worker_thread+0xa47/0xfb0
 kthread+0x388/0x470
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
