INFO: task kworker/0:1:10 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1     state:D stack:24936 pid:10    tgid:10    ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 crda_timeout_work+0x15/0x50
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz-executor:8748 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22760 pid:8748  tgid:8748  ppid:1      task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 rtnl_net_dev_lock+0x257/0x2f0
 register_netdevice_notifier_dev_net+0x33/0x240
 nsim_create+0xd31/0xef0
 __nsim_dev_port_add+0x70a/0xb20
 nsim_dev_port_add_all+0x35/0xe0
 nsim_drv_probe+0x883/0xb70
 really_probe+0x26d/0x9a0
 __driver_probe_device+0x18c/0x2f0
 driver_probe_device+0x4f/0x430
 __device_attach_driver+0x2ce/0x530
 bus_for_each_drv+0x251/0x2e0
 __device_attach+0x2b8/0x400
 bus_probe_device+0x185/0x260
 device_add+0x7b6/0xb50
 new_device_store+0x36c/0x6f0
 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:0x7f48cb38d3df
RSP: 002b:00007ffeda7afde0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f48cb38d3df
RDX: 0000000000000003 RSI: 00007ffeda7afe30 RDI: 0000000000000005
RBP: 00007f48cb411db1 R08: 0000000000000000 R09: 00007ffeda7afc37
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffeda7afe30 R14: 00007f48cc0e4620 R15: 0000000000000003
 </TASK>
INFO: task syz.1.1217:8822 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1217      state:D stack:23528 pid:8822  tgid:8819  ppid:5816   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 wg_destruct+0x25/0x2f0
 netdev_run_todo+0xcd7/0xea0
 rtnl_newlink+0x177b/0x1c70
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x75b/0x8d0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc1b198e929
RSP: 002b:00007fc1b2881038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc1b1bb6080 RCX: 00007fc1b198e929
RDX: 0000000000000000 RSI: 0000200000000180 RDI: 0000000000000009
RBP: 00007fc1b1a10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc1b1bb6080 R15: 00007ffcbfa91568
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/9:
 #0: ffff88801a481d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000c7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf00
3 locks held by kworker/0:1/10:
 #0: ffff88801a481d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000d7bc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
5 locks held by kworker/u8:0/12:
 #0: ffff88801b2f6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000f7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5033d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0xdc/0x890
 #4: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
3 locks held by ksoftirqd/0/15:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:7/1091:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900071afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5642:
 #0: ffff888107da20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000291b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
1 lock held by syz-executor/5809:
 #0: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
3 locks held by kworker/u8:5/7533:
 #0: ffff888022f4e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002c07bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
7 locks held by syz-executor/8748:
 #0: ffff8880297b2428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x211/0xa90
 #1: ffff88811070b088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e0/0x4f0
 #2: ffff8880227dbe18 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x203/0x4f0
 #3: ffffffff8edaab68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0
 #4: ffff88802427c0e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400
 #5: ffff888024279250 (&devlink->lock_key#10){+.+.}-{4:4}, at: nsim_drv_probe+0xc1/0xb70
 #6: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0
2 locks held by syz.1.1217/8822:
 #0: ffffffff8fa14798 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: wg_destruct+0x25/0x2f0
1 lock held by syz-executor/8839:
 #0: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/8841:
 #0: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/8842:
 #0: ffffffff8f50ffc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-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+0xfee/0x1030
 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: 5663 Comm: kworker/u8:2 Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-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: bat_events batadv_nc_worker
RIP: 0010:__siphash_unaligned+0x180/0x3b0
Code: eb 48 c1 c5 0d 48 31 dd 48 c1 c3 20 4d 01 e5 49 c1 c4 10 4d 31 ec 4c 01 e3 49 c1 c4 15 49 31 dc 49 01 ed 48 c1 c5 11 4c 31 ed <49> c1 c5 20 48 31 c3 4c 39 74 24 20 74 62 e8 dd d4 5d f6 48 ba 00
RSP: 0018:ffffc900000066c0 EFLAGS: 00000202
RAX: 000002ff887e5ffe RBX: 864ce06982f21bca RCX: ffff88802098d640
RDX: dffffc0000000000 RSI: 0000000000000048 RDI: ffffc90000006b0f
RBP: 522fe2644c15199b R08: ffff88802098d640 R09: 0000000000000003
R10: 0000000000000008 R11: 0000000000000100 R12: a06564e7ca1ea813
R13: 76e9c68ff6662487 R14: 0000000000000030 R15: ffffc90000006b08
FS:  0000000000000000(0000) GS:ffff8880b8650000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe595773120 CR3: 000000010e472000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __flow_hash_from_keys+0x45b/0x6e0
 rt6_multipath_hash+0x101d/0x1860
 ip6_route_input+0x85b/0xa50
 ip6_rcv_finish+0x141/0x2d0
 ip_sabotage_in+0x1e1/0x270
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x206/0x3a0
 __netif_receive_skb+0xd3/0x380
 netif_receive_skb+0x1cb/0x790
 NF_HOOK+0xa0/0x390
 br_handle_frame_finish+0x14d1/0x19b0
 br_nf_hook_thresh+0x3c6/0x4a0
 br_nf_pre_routing_finish_ipv6+0x948/0xd00
 br_nf_pre_routing_ipv6+0x37e/0x6b0
 br_handle_frame+0x982/0x14c0
 __netif_receive_skb_core+0x10e1/0x4180
 __netif_receive_skb+0x72/0x380
 process_backlog+0x60e/0x14f0
 __napi_poll+0xc7/0x480
 net_rx_action+0x707/0xe30
 handle_softirqs+0x286/0x870
 do_softirq+0xec/0x180
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0
 batadv_nc_purge_paths+0x318/0x3b0
 batadv_nc_worker+0x328/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>
