INFO: task udevd:5940 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:21928 pid:5940  tgid:5940  ppid:5294   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:0x7f82f6d169a4
RSP: 002b:00007ffeeb090880 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000563be55959e0 RCX: 00007f82f6d169a4
RDX: 00000000000a0800 RSI: 0000563be55896c0 RDI: 00000000ffffff9c
RBP: 0000563be55896c0 R08: 0000000000000001 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000563be558c900 R14: 0000000000000001 R15: 0000563be5575910
 </TASK>
INFO: task syz-executor:10314 blocked for more than 143 seconds.
      Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22632 pid:10314 tgid:10314 ppid:1      task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 del_device_store+0xd1/0x360
 kernfs_fop_write_iter+0x378/0x4f0
 vfs_write+0x54b/0xa90
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdd5db8d69f
RSP: 002b:00007ffc8d7c7bc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fdd5db8d69f
RDX: 0000000000000001 RSI: 00007ffc8d7c7c10 RDI: 0000000000000005
RBP: 00007fdd5dc130c1 R08: 0000000000000000 R09: 00007ffc8d7c7a17
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007ffc8d7c7c10 R14: 00007fdd5e8e4620 R15: 0000000000000003
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
 #0: ffff88801fca0948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000107bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
2 locks held by kworker/1:0/24:
3 locks held by kworker/u10:0/27:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000060fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
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/5672:
 #0: ffff8880289ef0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/0:3/5839:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000384fbc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by udevd/5940:
 #0: ffff888022b6f358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
4 locks held by kworker/u8:3/5953:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900046bfbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f527810 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x1d0
1 lock held by syz.5.559/7590:
 #0: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
3 locks held by kworker/0:6/8146:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002eefbc0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
1 lock held by syz.0.950/9135:
2 locks held by kworker/1:10/9800:
1 lock held by syz.5.1203/9975:
2 locks held by syz.1.1215/10020:
1 lock held by syz.3.1246/10263:
7 locks held by syz-executor/10305:
 #0: ffff888028a0a428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff888030a89488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888108da2878 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edabba8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
 #4: ffff888105e840e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800
 #5: ffff888105e82250 (&devlink->lock_key#7){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160
 #6: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0
4 locks held by syz-executor/10314:
 #0: ffff888028a0a428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff888116245c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888108da2878 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edabba8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
4 locks held by syz-executor/10323:
 #0: ffff888028a0a428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff88806b396488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff888108da2878 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edabba8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360
3 locks held by syz-executor/10338:
 #0: ffff8880340bcdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8880340bc0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f6991c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
5 locks held by syz-executor/10348:
 #0: ffff888118938dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8881189380b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f6991c8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
 #3: ffff88802bb08b38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
 #4: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
1 lock held by syz-executor/10351:
 #0: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/10355:
 #0: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/10359:
 #0: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/10363:
 #0: ffffffff8f534688 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 9800 Comm: kworker/1:10 Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_power_efficient neigh_periodic_work
RIP: 0010:lock_release+0x2a2/0x3e0
Code: db 09 b8 ff ff ff ff 65 0f c1 05 b9 91 02 11 83 f8 01 75 51 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 <75> 56 f7 c3 00 02 00 00 74 01 fb 65 48 8b 05 7b 51 02 11 48 3b 44
RSP: 0018:ffffc900001dfc30 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000202 RCX: 2f9525d276e69700
RDX: 0000000000000004 RSI: ffffffff8dba33cb RDI: ffffffff8be32600
RBP: ffff888108f3e1d0 R08: ffffc900001e0fe8 R09: 0000000000000000
R10: ffffc900001dfdb8 R11: fffff5200003bfb9 R12: 0000000000000004
R13: 0000000000000004 R14: ffffffff8e139ee0 R15: ffff888108f3d640
FS:  0000000000000000(0000) GS:ffff8881a3c24000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000025000 CR3: 000000002b24a000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 unwind_next_frame+0x19a9/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 call_rcu+0x157/0x9c0
 skb_release_head_state+0x71/0x250
 consume_skb+0x60/0xf0
 nft_synproxy_eval_v4+0x376/0x560
 nft_synproxy_do_eval+0x345/0x570
 nft_do_chain+0x40c/0x1920
 nft_do_chain_inet+0x25d/0x340
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x206/0x3a0
 NF_HOOK+0x30c/0x3a0
 __netif_receive_skb+0x143/0x380
 process_backlog+0x60e/0x14f0
 __napi_poll+0xc7/0x360
 net_rx_action+0x707/0xe30
 handle_softirqs+0x286/0x870
 do_softirq+0xec/0x180
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0
 neigh_periodic_work+0xc28/0xe50
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
