INFO: task syz.0.1083:9705 blocked for more than 150 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1083      state:D stack:25152 pid:9705  tgid:9705  ppid:6738   task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_timeout+0xc3/0x2c0
 wait_for_completion+0x2cc/0x5e0
 __synchronize_srcu+0x329/0x3e0
 perf_trace_event_unreg+0xc5/0x1c0
 perf_trace_destroy+0xa4/0x150
 __free_event+0x34e/0x7e0
 perf_event_release_kernel+0x45b/0x510
 perf_release+0x38/0x50
 __fput+0x44f/0xa70
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0xed/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe4fed9c819
RSP: 002b:00007ffeae47e9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fe4ff017da0 RCX: 00007fe4fed9c819
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fe4ff017da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007fe4ff017cb0 R11: 0000000000000246 R12: 000000000002e5ad
R13: 00007fe4ff01609c R14: 000000000002e392 R15: 00007fe4ff016090
 </TASK>
INFO: task syz-executor:9734 blocked for more than 150 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27304 pid:9734  tgid:9734  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 inet_rtm_newaddr+0x404/0x1ad0
 rtnetlink_rcv_msg+0x7d5/0xbe0
 netlink_rcv_skb+0x232/0x4b0
 netlink_unicast+0x80f/0x9b0
 netlink_sendmsg+0x813/0xb40
 __sys_sendto+0x672/0x710
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7bef15d04e
RSP: 002b:00007ffe3c6cfb88 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000555583dbe500 RCX: 00007f7bef15d04e
RDX: 0000000000000028 RSI: 00007f7beff44670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007ffe3c6cfc04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f7beff44670 R15: 0000000000000000
 </TASK>
INFO: task syz-executor:9739 blocked for more than 150 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27304 pid:9739  tgid:9739  ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 inet_rtm_newaddr+0x404/0x1ad0
 rtnetlink_rcv_msg+0x7d5/0xbe0
 netlink_rcv_skb+0x232/0x4b0
 netlink_unicast+0x80f/0x9b0
 netlink_sendmsg+0x813/0xb40
 __sys_sendto+0x672/0x710
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8222d5d04e
RSP: 002b:00007ffd784e1cb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000555560e8a500 RCX: 00007f8222d5d04e
RDX: 0000000000000028 RSI: 00007f8223b44670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007ffd784e1d34 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f8223b44670 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/9:
4 locks held by kworker/u8:0/12:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90000117c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbbe5b0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffffffff8e764540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580
3 locks held by kworker/1:0/24:
 #0: ffff88810006b148 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900001e7c40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
1 lock held by khungtaskd/34:
 #0: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:4/87:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900028bfc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
3 locks held by kworker/0:2/784:
4 locks held by kworker/u11:1/5195:
 #0: ffff8881bd38d948 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90023517c40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881a5ff00c0 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x950
 #3: ffffffff8fd595e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x54c/0x950
2 locks held by dhcpcd/5550:
 #0: ffff88816ad466f0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xfe/0x7e0
 #1: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200
2 locks held by getty/5630:
 #0: ffff888111b8c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
6 locks held by kworker/u11:2/5807:
 #0: ffff888175b5b948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900062bfc40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff88819cae8ec0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1d3/0x400
 #3: ffff88819cae80c0 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0xa6f/0x1190
 #4: ffffffff8fd595e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x165/0x340
 #5: ffff888175b5aaf8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x7b/0x5c0
4 locks held by kworker/u11:3/5815:
 #0: ffff888176607148 ((wq_completion)hci10#2){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000633fc40 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881a5ff80c0 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x950
 #3: ffffffff8fd595e8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x54c/0x950
3 locks held by kworker/u8:3/5835:
 #0: ffff888174340148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000648fc40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/1:5/5869:
 #0: ffff888100069d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000677fc40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xa5/0xfe0
1 lock held by syz.0.1083/9705:
 #0: ffffffff8e7ce888 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
3 locks held by syz.1.1086/9729:
1 lock held by syz-executor/9734:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9739:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9742:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9747:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9751:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
2 locks held by dhcpcd/9756:
 #0: ffff8881bc032260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
 #1: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
2 locks held by dhcpcd/9757:
 #0: ffff8881bc030260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
 #1: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
1 lock held by dhcpcd/9758:
 #0: ffff8881a4ace260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by dhcpcd/9759:
 #0: ffff8881a4acc260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by dhcpcd/9760:
 #0: ffff8881a4ac8260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by dhcpcd/9761:
 #0: ffff8881a4aca260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xe10
1 lock held by syz-executor/9763:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9769:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/9774:
 #0: ffffffff8fbccd48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0

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

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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xfd9/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 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: 9729 Comm: syz.1.1086 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:preempt_count_add+0x9/0x190
Code: e9 ed fe ff ff 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 <49> bf 00 00 00 00 00 fc ff df 48 c7 c0 80 34 27 9a 48 c1 e8 03 42
RSP: 0018:ffffc90000007598 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffc900000075e8 RCX: 0000000000000102
RDX: 0000000000000000 RSI: ffffffff8bc62f40 RDI: 0000000000010000
RBP: 0000000000000000 R08: ffffffff90118bb7 R09: 1ffffffff2023176
R10: dffffc0000000000 R11: fffffbfff2023177 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fd43f73a6c0(0000) GS:ffff88818de63000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbd08c81372 CR3: 00000001a6312000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000200000000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 irq_enter_rcu+0x1b/0xf0
 sysvec_irq_work+0x4a/0xc0
 asm_sysvec_irq_work+0x1a/0x20
RIP: 0010:stack_trace_consume_entry+0xf3/0x280
Code: 8b 74 24 08 48 8b 1f 45 8d 79 01 0f b6 44 15 00 84 c0 0f 85 3a 01 00 00 45 89 38 4e 8d 3c cb 4c 89 f8 48 c1 e8 03 80 3c 10 00 <74> 1a 4c 89 ff 48 89 f3 49 89 d4 4c 89 c5 e8 9a 25 7f 00 49 89 e8
RSP: 0018:ffffc90000007698 EFLAGS: 00000246
RAX: 1ffff92000000f1b RBX: ffffc90000007860 RCX: 0000000000000100
RDX: dffffc0000000000 RSI: ffffffff810014ca RDI: ffffc900000077a0
RBP: 1ffff92000000ef6 R08: ffffc900000077b0 R09: 000000000000000f
R10: dffffc0000000000 R11: ffffffff81b0bfd0 R12: 0000000000000000
R13: 1ffff92000000ef5 R14: ffffc900000077a8 R15: ffffc900000078d8
 arch_stack_walk+0x10f/0x150
 stack_trace_save+0xa9/0x100
 save_stack+0x122/0x230
 __reset_page_owner+0x71/0x1f0
 __free_frozen_pages+0xc2b/0xdb0
 __folio_put+0x414/0x4f0
 skb_release_data+0x4cb/0x940
 __kfree_skb+0x5d/0x210
 tcp_write_queue_purge+0x143/0x360
 tcp_done_with_error+0x43/0xd0
 tcp_write_timer_handler+0x6ec/0x9b0
 tcp_write_timer+0x15c/0x2d0
 call_timer_fn+0x192/0x640
 __run_timer_base+0x652/0x8b0
 run_timer_softirq+0xb7/0x170
 handle_softirqs+0x22a/0x870
 __irq_exit_rcu+0x5f/0x150
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50
Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 8a 36 f1 f5 48 89 df e8 c2 ab f1 f5 e8 6d 03 1d f6 fb bf 01 00 00 00 <e8> 12 6a e3 f5 65 8b 05 bb 4e 6b 07 85 c0 74 07 5b c3 cc cc cc cc
RSP: 0018:ffffc90003d47c80 EFLAGS: 00000206
RAX: 00000000004dcc3f RBX: ffff8881691b9c80 RCX: 0000000080000001
RDX: 0000000000000000 RSI: ffffffff8def4c69 RDI: 0000000000000001
RBP: 0000000000000009 R08: ffffffff90118bb7 R09: 1ffffffff2023176
R10: dffffc0000000000 R11: fffffbfff2023177 R12: ffff88817344a6f0
R13: 1ffff1102ea9c4c5 R14: ffff8881754e262c R15: ffff888173449d40
 get_signal+0x103c/0x1330
 arch_do_signal_or_restart+0xbc/0x830
 exit_to_user_mode_loop+0x86/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd43e79c819
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:00007fd43f73a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fd43ea15fa0 RCX: 00007fd43e79c819
RDX: 00002000000006c0 RSI: 0000000000005452 RDI: 0000000000000003
RBP: 00007fd43e832c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd43ea16038 R14: 00007fd43ea15fa0 R15: 00007ffd47275068
 </TASK>
