INFO: task kworker/u4:6:2400 blocked for more than 143 seconds.
Not tainted 6.8.0-rc2-next-20240202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:6 state:D stack:22576 pid:2400 tgid:2400 ppid:2 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0x17df/0x4a40 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6804 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6819
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_workqueue+0x730/0x1630 kernel/workqueue.c:3617
drain_workqueue+0xc9/0x390 kernel/workqueue.c:3730
destroy_workqueue+0xba/0xc40 kernel/workqueue.c:5319
bond_destructor+0x4d/0x80 drivers/net/bonding/bond_main.c:5846
netdev_run_todo+0xd4f/0xf40 net/core/dev.c:10581
default_device_exit_batch+0x975/0x9f0 net/core/dev.c:11625
ops_exit_list net/core/net_namespace.c:175 [inline]
cleanup_net+0x775/0xb90 net/core/net_namespace.c:618
process_one_work kernel/workqueue.c:3049 [inline]
process_scheduled_works+0x913/0x14f0 kernel/workqueue.c:3125
worker_thread+0xa60/0x1000 kernel/workqueue.c:3206
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Showing all locks held in the system:
3 locks held by kworker/0:0/7:
#0: ffff888029e84d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#0: ffff888029e84d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#1: ffff8880b9428988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
#2: ffff88807d3c8538 (&idev->mc_lock){+.+.}-{3:3}, at: mld_ifc_work+0x2d/0xb30 net/ipv6/mcast.c:2649
3 locks held by kworker/0:1/8:
#0: ffff888029e84d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#0: ffff888029e84d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#1: ffffc900000d7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#1: ffffc900000d7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#2: ffff8880b9429698 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999
4 locks held by kworker/u4:1/11:
#0: ffff88802e74e148 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#0: ffff88802e74e148 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#1: ffffc90000107d20 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#1: ffffc90000107d20 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#2: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#2: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#2: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: folio_memcg_lock+0x89/0x390 mm/memcontrol.c:2196
#3: ffff8880b953c758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
1 lock held by khungtaskd/29:
#0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by kworker/u4:2/34:
2 locks held by kworker/1:1/44:
#0: ffff8880b953c758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9528988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
3 locks held by kworker/u4:6/2400:
#0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#1: ffffc90009ed7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#1: ffffc90009ed7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#2: ffffffff8f36da50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb90 net/core/net_namespace.c:580
2 locks held by getty/4818:
#0: ffff88802a3d50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
4 locks held by syz-executor.0/5075:
3 locks held by kworker/0:3/5123:
#0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#1: ffffc900039ffd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline]
#1: ffffc900039ffd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125
#2: ffff88805d1d7240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
3 locks held by syz-executor.2/10593:
#0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612
#1: ffff8880566f93e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50
#2: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#2: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939
1 lock held by syz-executor.0/10689:
1 lock held by syz-executor.0/10723:
1 lock held by syz-executor.1/10728:
3 locks held by syz-executor.0/10740:
3 locks held by syz-executor.4/10742:
#0: ffff88807b884420 (sb_writers#4){.+.+}-{0:0}, at: do_coredump+0x1b79/0x2b50 fs/coredump.c:763
#1: ffff88803a719800 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#1: ffff88803a719800 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0x97/0x350 fs/ext4/file.c:294
#2: ffff88807b8840e0 (&type->s_umount_key#31){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x21/0xc0 fs/fs-writeback.c:2742
3 locks held by syz-executor.1/10747:
2 locks held by syz-executor.0/10749:
1 lock held by syz-executor.1/10754:
2 locks held by syz-executor.4/10756:
3 locks held by syz-executor.1/10761:
2 locks held by syz-executor.0/10760:
4 locks held by syz-executor.1/10765:
2 locks held by syz-executor.1/10775:
3 locks held by syz-executor.4/10777:
4 locks held by syz-executor.0/10779:
2 locks held by syz-executor.1/10788:
4 locks held by syz-executor.4/10793:
3 locks held by syz-executor.0/10802:
2 locks held by syz-executor.1/10806:
4 locks held by syz-executor.4/10808:
4 locks held by syz-executor.1/10824:
3 locks held by syz-executor.0/10828:
2 locks held by syz-executor.4/10825:
4 locks held by syz-executor.4/10837:
3 locks held by syz-executor.1/10838:
2 locks held by syz-executor.1/10848:
2 locks held by syz-executor.0/10850:
2 locks held by syz-executor.4/10851:
3 locks held by syz-executor.3/10855:
4 locks held by syz-executor.3/10861:
5 locks held by syz-executor.0/10866:
4 locks held by syz-executor.3/10868:
4 locks held by syz-executor.4/10872:
3 locks held by syz-executor.3/10874:
2 locks held by syz-executor.4/10897:
2 locks held by syz-executor.0/10904:
5 locks held by syz-executor.1/10912:
1 lock held by syz-executor.0/10919:
3 locks held by syz-executor.4/10916:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-next-20240202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfb0/0xff0 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10850 Comm: syz-executor.0 Not tainted 6.8.0-rc2-next-20240202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:207
Code: 00 bd 03 00 65 8b 15 70 ec 6f 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 14 16 00 00 00 74 2c 8b 91 f0 15 00 00 <83> fa 02 75 21 48 8b 91 f8 15 00 00 48 8b 32 48 8d 7e 01 8b 89 f4
RSP: 0018:ffffc9000dd4e758 EFLAGS: 00000046
RAX: ffffffff818c3fb7 RBX: 0000000000000001 RCX: ffff888021af1e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000008
RBP: 0000000000000001 R08: ffffffff818c3fa9 R09: 1ffffffff1f0b6e5
R10: dffffc0000000000 R11: fffffbfff1f0b6e6 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88801118a000
FS: 00007f2b856fc6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8048fa8000 CR3: 00000000613b8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cgroup_rstat_updated+0x47/0x360 kernel/cgroup/rstat.c:31
memcg_rstat_updated+0x4d/0x310 mm/memcontrol.c:723
__mod_memcg_state mm/memcontrol.c:825 [inline]
mod_memcg_state include/linux/memcontrol.h:1003 [inline]
memcg_account_kmem+0x112/0x210 mm/memcontrol.c:3260
obj_cgroup_charge_pages mm/memcontrol.c:3308 [inline]
obj_cgroup_charge+0x39b/0x630 mm/memcontrol.c:3595
__memcg_slab_pre_alloc_hook+0x28d/0x2b0 mm/slub.c:1930
memcg_slab_pre_alloc_hook mm/slub.c:1951 [inline]
slab_pre_alloc_hook mm/slub.c:3767 [inline]
slab_alloc_node mm/slub.c:3843 [inline]
kmem_cache_alloc+0x205/0x350 mm/slub.c:3868
kmem_cache_zalloc include/linux/slab.h:701 [inline]
alloc_buffer_head+0x2d/0x2a0 fs/buffer.c:2997
folio_alloc_buffers+0x2da/0x840 fs/buffer.c:924
create_empty_buffers+0x3a/0x740 fs/buffer.c:1650
ext4_block_write_begin+0x27d/0x1850 fs/ext4/inode.c:1036
ext4_da_write_begin+0x5e8/0xa50 fs/ext4/inode.c:2900
generic_perform_write+0x322/0x640 mm/filemap.c:3921
ext4_buffered_write_iter+0xc6/0x350 fs/ext4/file.c:299
ext4_file_write_iter+0x1de/0x1a10
__kernel_write_iter+0x435/0x8c0 fs/read_write.c:523
dump_emit_page fs/coredump.c:888 [inline]
dump_user_range+0x46d/0x910 fs/coredump.c:915
elf_core_dump+0x3d5e/0x4630 fs/binfmt_elf.c:2077
do_coredump+0x1bab/0x2b50 fs/coredump.c:764
get_signal+0x146b/0x1850 kernel/signal.c:2882
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:105 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
irqentry_exit_to_user_mode+0x79/0x280 kernel/entry/common.c:225
exc_general_protection+0x410/0x5d0 arch/x86/kernel/traps.c:644
asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:617
RIP: 0033:0x7f2b84a7ddb1
Code: c4 28 c3 e8 e1 20 00 00 90 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 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:0000000020000280 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f2b84babf80 RCX: 00007f2b84a7dda9
RDX: 0000000020000300 RSI: 0000000020000280 RDI: 0000000000001000
RBP: 00007f2b84aca47a R08: 0000000020000380 R09: 0000000020000380
R10: 0000000020000340 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2b84babf80 R15: 00007fffb440b498