INFO: task udevd:5850 blocked 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:21928 pid:5850  tgid:5850  ppid:5298   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 io_schedule+0x80/0xd0
 folio_wait_bit_common+0x6b0/0xb90
 do_read_cache_folio+0x1aa/0x590
 read_part_sector+0xb6/0x2b0
 adfspart_check_POWERTEC+0x8c/0xf30
 bdev_disk_changed+0x75f/0x14b0
 blkdev_get_whole+0x380/0x510
 bdev_open+0x31e/0xd30
 blkdev_open+0x3a8/0x510
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f11039169a4
RSP: 002b:00007ffea1071cc0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055b37a1cc220 RCX: 00007f11039169a4
RDX: 00000000000a0800 RSI: 000055b37a1ab710 RDI: 00000000ffffff9c
RBP: 000055b37a1ab710 R08: 0000000000000001 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055b37a1c2950 R14: 0000000000000001 R15: 000055b37a1ab910
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5678:
 #0: ffff8881102040a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by udevd/5850:
 #0: ffff88802172e358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
6 locks held by syz.0.2623/16033:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffff888022177230 (&nbd->config_lock){+.+.}-{4:4}, at: nbd_genl_reconfigure+0x36f/0x1870
 #3: ffff888021798708 (&q->limits_lock){+.+.}-{4:4}, at: nbd_set_size+0x292/0x6a0
 #4: ffff8880217980a8 (&q->q_usage_counter(io)#49){++++}-{0:0}, at: queue_limits_commit_update_frozen+0x5d/0x3e0
 #5: ffff8880217980e0 (&q->q_usage_counter(queue)#33){+.+.}-{0:0}, at: queue_limits_commit_update_frozen+0x5d/0x3e0
2 locks held by syz.2.2627/16052:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.1.2628/16056:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.1.2628/16057:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16061:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16063:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16065:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16086:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16096:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16098:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16115:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16126:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/16128:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 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+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 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: 5880 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_nc_worker
RIP: 0010:check_preemption_disabled+0x63/0x120
Code: 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9 81 c9 02 00 cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <74> c8 65 4c 8b 3c 25 08 80 a0 92 41 f6 47 2f 04 74 0a 41 83 bf 18
RSP: 0018:ffffc9000436f910 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000202 RCX: 0000000080000000
RDX: 0000000000000000 RSI: ffffffff8d9cbbdb RDI: ffffffff8be33800
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8b47ccba
R10: dffffc0000000000 R11: fffffbfff1f471c7 R12: dffffc0000000000
R13: ffffffff8b47ccba R14: ffffffff8e139ee0 R15: ffff888021210000
FS:  0000000000000000(0000) GS:ffff8880b8618000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f549a7efc18 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lock_release+0xbc/0x3e0
 batadv_nc_process_nc_paths+0x2f9/0x3a0
 batadv_nc_worker+0x429/0x610
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
