INFO: task syz.4.1658:9124 blocked for more than 143 seconds.
Not tainted 6.1.111-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.1658 state:D stack:25832 pid:9124 ppid:8759 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
perf_pending_task_sync kernel/events/core.c:5029 [inline]
_free_event+0x169/0x1090 kernel/events/core.c:5035
put_event kernel/events/core.c:5160 [inline]
perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5285
perf_release+0x37/0x40 kernel/events/core.c:5295
__fput+0x3f6/0x8d0 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:203
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb38a37def9
RSP: 002b:00007ffe355c83c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fb38a537a80 RCX: 00007fb38a37def9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fb38a537a80 R08: 0000000000000006 R09: 00007ffe355c86bf
R10: 00000000003fe9dc R11: 0000000000000246 R12: 000000000009672d
R13: 00007ffe355c84d0 R14: 0000000000000032 R15: ffffffffffffffff
Showing all locks held in the system:
2 locks held by kworker/u4:0/9:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/28:
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
3 locks held by kworker/u4:2/33:
#0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000aa7d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
4 locks held by kworker/u4:3/46:
#0: ffff888017e1e938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000b77d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4ed450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:566
#3: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0xc9/0x330 net/ipv4/ip_tunnel.c:1148
2 locks held by kworker/u4:5/1180:
2 locks held by getty/3399:
#0: ffff88802e8b3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198
3 locks held by kworker/1:7/3726:
#0: ffff88802df24938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc900048bfd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115
3 locks held by kworker/0:9/4186:
#0: ffff88802df24938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9001727fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115
3 locks held by kworker/0:10/4187:
#0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9001728fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
2 locks held by kworker/1:9/6072:
#0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc900042dfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
1 lock held by syz-executor/9864:
#0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118
1 lock held by syz-executor/9896:
#0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118
8 locks held by syz-executor/10051:
#0: ffff88807f72a460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x269/0xbc0 fs/read_write.c:580
#1: ffff888044e15888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:325
#2: ffff8880279df748 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:326
#3: ffffffff8de22aa8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xf8/0x480 drivers/net/netdevsim/bus.c:209
#4: ffff8880294b40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#4: ffff8880294b40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline]
#4: ffff8880294b40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x880 drivers/base/dd.c:1283
#5: ffff88802d4102f8 (&devlink->lock_key#21){+.+.}-{3:3}, at: nsim_drv_remove+0x54/0x160 drivers/net/netdevsim/dev.c:1674
#6: ffffffff8e4f97a8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3a/0x140 drivers/net/netdevsim/netdev.c:381
#7: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#7: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962
2 locks held by syz.3.1941/10099:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10099 Comm: syz.3.1941 Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:unwind_next_frame+0x174b/0x2220 arch/x86/kernel/unwind_orc.c:598
Code: c0 0f 85 ee 08 00 00 41 c6 07 01 4c 8b 7c 24 20 48 8b 5c 24 50 0f b6 04 2b 84 c0 0f 85 41 06 00 00 48 8b 44 24 48 0f b6 04 28 <84> c0 0f 85 50 06 00 00 41 0f b7 75 00 c1 ee 04 83 e6 0f 83 fe 04
RSP: 0018:ffffc90000007520 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 1ffffffff1e2afe1 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900000076e0
RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffc900000076d0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007680
R13: ffffffff8f157f08 R14: ffffffff8f157f04 R15: ffffc900000076d0
FS: 00007fe1be7c66c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8070137a8c CR3: 000000005b34b000 CR4: 00000000003506f0
Call Trace:
perf_callchain_kernel+0x475/0x620 arch/x86/events/core.c:2803
get_perf_callchain+0x579/0x810 kernel/events/callchain.c:200
perf_callchain kernel/events/core.c:7484 [inline]
perf_prepare_sample+0x390/0x1fb0 kernel/events/core.c:7517
__perf_event_output kernel/events/core.c:7702 [inline]
perf_event_output_forward+0x1b7/0x330 kernel/events/core.c:7722
__perf_event_overflow+0x45e/0x640 kernel/events/core.c:9468
perf_swevent_hrtimer+0x38e/0x4f0 kernel/events/core.c:10876
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
__sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:percpu_ref_put+0x3/0x180 include/linux/percpu-refcount.h:350
Code: c9 74 16 48 8d 51 01 48 89 c8 f0 48 0f b1 13 74 0a 48 89 c1 48 85 c0 75 ea 31 c9 48 85 c9 0f 95 c3 e9 36 ff ff ff 90 55 41 57 <41> 56 41 55 41 54 53 48 89 fb e8 1e 53 8a ff 4c 8d 35 00 00 00 00
RSP: 0018:ffffc90003b0f930 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffff888057770010 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffff888057770010
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1d33cae
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd40003f3b67
R13: ffffea0001f9db38 R14: ffff88802c878200 R15: ffff888057770054
css_put include/linux/cgroup.h:407 [inline]
obj_cgroup_uncharge_pages mm/memcontrol.c:3077 [inline]
__memcg_kmem_uncharge_page+0x110/0x270 mm/memcontrol.c:3148
free_pages_prepare mm/page_alloc.c:1436 [inline]
free_pcp_prepare mm/page_alloc.c:1494 [inline]
free_unref_page_prepare+0x1a6/0x1120 mm/page_alloc.c:3369
free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464
mm_free_pgd kernel/fork.c:741 [inline]
__mmdrop+0xb2/0x470 kernel/fork.c:792
copy_process+0x2b9c/0x4060 kernel/fork.c:2534
kernel_clone+0x222/0x920 kernel/fork.c:2682
__do_sys_clone kernel/fork.c:2823 [inline]
__se_sys_clone kernel/fork.c:2807 [inline]
__x64_sys_clone+0x231/0x280 kernel/fork.c:2807
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe1bd97def9
Code: ff ff c3 66 2e 0f 1f 84 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
RSP: 002b:00007fe1be7c5fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe1bdb35f80 RCX: 00007fe1bd97def9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe1bd9f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe1bdb35f80 R15: 00007ffee7c52768