INFO: task syz.6.860:9614 blocked for more than 148 seconds.
      Not tainted 6.17.0-rc1-syzkaller-00022-g07866544e410-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.860       state:D stack:25096 pid:9614  tgid:9614  ppid:8084   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 perf_trace_destroy+0x2e/0x150
 __free_event+0x346/0x7e0
 perf_event_release_kernel+0x45b/0x510
 perf_release+0x38/0x50
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff04bd8ebe9
RSP: 002b:00007ffdaa393ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ff04bfb7da0 RCX: 00007ff04bd8ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007ff04bfb7da0 R08: 0000000000000224 R09: 0000001eaa3941df
R10: 00007ff04bfb7cb0 R11: 0000000000000246 R12: 000000000005cd4b
R13: 00007ff04bfb6180 R14: ffffffffffffffff R15: 00007ffdaa394000
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_trace/32:
 #0: ffffffff8e13ac10 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaf9/0xdf0
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:6/1093:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90006fb7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
1 lock held by klogd/5286:
2 locks held by getty/5676:
 #0: ffff88810726f0a0 (&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
4 locks held by kworker/u11:3/5845:
 #0: ffff88812329c148 ((wq_completion)hci11#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003dcfbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803369c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
4 locks held by kworker/u11:4/5847:
 #0: ffff888034878948 ((wq_completion)hci9#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003defbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88811d59c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
3 locks held by kworker/u8:3/5868:
 #0: ffff888022cf5148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003eefbc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0
3 locks held by kworker/0:5/5932:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90004587bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
4 locks held by kworker/u11:5/7468:
 #0: ffff8880284a9948 ((wq_completion)hci10#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000474fbc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88802944c0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x9b/0x8e0
 #3: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_remote_features_evt+0x516/0x8e0
1 lock held by syz.7.858/9607:
 #0: ffffffff8e19d488 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
1 lock held by syz.8.859/9609:
 #0: ffffffff8e19d488 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
1 lock held by syz.6.860/9614:
 #0: ffffffff8e19d488 (event_mutex){+.+.}-{4:4}, at: perf_trace_destroy+0x2e/0x150
4 locks held by syz.6.860/9616:
4 locks held by syz-executor/9621:
 #0: ffff888112704dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8881127040b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
 #3: ffff8881070e4b38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680
3 locks held by syz-executor/9622:
 #0: ffff888032c94dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff888032c940b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
3 locks held by syz-executor/9628:
 #0: ffff8881222d8dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510
 #1: ffff8881222d80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330
 #2: ffffffff8f69cbc8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230
1 lock held by syz-executor/9632:
 #0: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/9635:
 #0: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
3 locks held by kworker/1:7/9639:
2 locks held by syz-executor/9640:
 #0: ffffffff8eca8340 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70
1 lock held by syz-executor/9649:
 #0: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/9652:
 #0: ffffffff8f537f08 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/9655:
 #0: ffffffff8f537f08 (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.17.0-rc1-syzkaller-00022-g07866544e410-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: 9616 Comm: syz.6.860 Not tainted 6.17.0-rc1-syzkaller-00022-g07866544e410-dirty #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:native_apic_msr_eoi+0xf/0x20
Code: f8 c3 cc cc cc cc cc 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa b9 0b 08 00 00 31 c0 31 d2 0f 30 <e9> bc da 0a 0a cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
RSP: 0018:ffffc900001e0250 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffc900001e0288 RCX: 000000000000080b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000000 R08: ffff888136623b0f R09: 1ffff11026cc4761
R10: dffffc0000000000 R11: ffffed1026cc4762 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000200000000440(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557ad7250e08 CR3: 0000000029796000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __sysvec_irq_work+0x11/0x3d0
 sysvec_irq_work+0x4f/0xc0
 asm_sysvec_irq_work+0x1a/0x20
RIP: 0010:unwind_next_frame+0x34e/0x2390
Code: 8f 0f 83 48 11 00 00 48 c7 c0 90 78 b1 8f 49 29 c5 48 c7 c6 70 80 2a 90 49 c1 fd 02 4a 8d 14 6d 00 00 00 00 4c 01 ea 48 01 d2 <48> 01 f2 48 bd 00 00 00 00 00 fc ff df 0f 84 37 01 00 00 4c 8d 62
RSP: 0018:ffffc900001e0338 EFLAGS: 00000246
RAX: ffffffff8fc10868 RBX: ffffffff8fc1086c RCX: ffffffff8fc10870
RDX: 0000000000000000 RSI: ffffffff9041d83a RDI: ffffffff8be335a0
RBP: ffffffff8fc10870 R08: 0000000000000001 R09: ffffffff8172c195
R10: dffffc0000000000 R11: ffffffff81ac3890 R12: ffffffff8233a6b7
R13: 0000000000000000 R14: ffffc900001e0408 R15: ffffffff8fc1086c
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_mempool_unpoison_object+0xa0/0x170
 napi_skb_cache_get+0x37b/0x6d0
 __alloc_skb+0x11e/0x2d0
 napi_alloc_skb+0x84/0x7d0
 e1000_clean_rx_irq+0x448/0x1170
 e1000_clean+0xca4/0x2b00
 __napi_poll+0xc7/0x360
 net_rx_action+0x707/0xe30
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:preempt_schedule_irq+0xb0/0x150
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 08 00 00 00 74 64 bf 01 00 00 00 e8 5b 78 15 f6 e8 96 d2 4c f6 fb bf 01 00 00 00 <e8> 5b ab ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc900065de640 EFLAGS: 00000286
RAX: 5d273e7aa818fc00 RBX: 0000000000000000 RCX: 5d273e7aa818fc00
RDX: 0000000000000006 RSI: ffffffff8d9b748e RDI: 0000000000000001
RBP: ffffc900065de6f0 R08: ffffffff8fa38037 R09: 1ffffffff1f47006
R10: dffffc0000000000 R11: fffffbfff1f47007 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000cbbcc8
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__vm_enough_memory+0x0/0x380
Code: c9 48 85 c0 48 0f 4e c1 e9 3d fa 79 09 cc 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 <66> 0f 1f 00 55 41 57 41 56 41 55 41 54 53 89 d5 48 89 f3 49 89 fe
RSP: 0018:ffffc900065de7b8 EFLAGS: 00000293
RAX: ffffffff8478a05b RBX: ffff888029a91a68 RCX: ffff88801eae1cc0
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8880237fd600
RBP: 0000000000000001 R08: ffffffff99c60563 R09: 1ffffffff338c0ac
R10: dffffc0000000000 R11: fffffbfff338c0ad R12: ffff888032c54c00
R13: ffff88801eae2218 R14: 1ffff1100535234d R15: ffff888029a91ba0
 shmem_inode_acct_blocks+0xd9/0x470
 shmem_alloc_and_add_folio+0x8bc/0xf60
 shmem_get_folio_gfp+0x59d/0x1660
 shmem_write_begin+0xf7/0x2b0
 generic_perform_write+0x2c5/0x900
 shmem_file_write_iter+0xf8/0x120
 __kernel_write_iter+0x428/0x910
 dump_user_range+0x8a0/0xc90
 elf_core_dump+0x337b/0x3990
 coredump_write+0x1169/0x1900
 vfs_coredump+0x1a4b/0x2ab0
 get_signal+0x1109/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 irqentry_exit_to_user_mode+0x81/0x120
 exc_general_protection+0x171/0x200
 asm_exc_general_protection+0x26/0x30
RIP: 0033:0x7ff04bd8ebf1
Code: 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:0000200000000290 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007ff04bfb5fa0 RCX: 00007ff04bd8ebe9
RDX: 00002000000002c0 RSI: 0000200000000290 RDI: 0000000002088000
RBP: 00007ff04be11e19 R08: 0000200000000440 R09: 0000200000000440
R10: 0000200000000300 R11: 0000000000000206 R12: 0000000000000000
R13: 00007ff04bfb6038 R14: 00007ff04bfb5fa0 R15: 00007ffdaa393d88
 </TASK>
