INFO: task syz-executor.2:9093 blocked for more than 143 seconds.
Not tainted 5.15.152-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:22488 pid: 9093 ppid: 4544 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
wb_wait_for_completion+0x164/0x290 fs/fs-writeback.c:191
__writeback_inodes_sb_nr+0x2ce/0x370 fs/fs-writeback.c:2684
try_to_writeback_inodes_sb+0x94/0xb0 fs/fs-writeback.c:2732
ext4_nonda_switch fs/ext4/inode.c:2933 [inline]
ext4_da_write_begin+0x228/0xb60 fs/ext4/inode.c:2960
generic_perform_write+0x2bf/0x5b0 mm/filemap.c:3785
ext4_buffered_write_iter+0x227/0x360 fs/ext4/file.c:268
ext4_file_write_iter+0x87c/0x1990
__kernel_write+0x5b1/0xa60 fs/read_write.c:539
__dump_emit+0x264/0x3a0 fs/coredump.c:875
dump_user_range+0x91/0x320 fs/coredump.c:949
elf_core_dump+0x3c7d/0x4570 fs/binfmt_elf.c:2285
do_coredump+0x1852/0x31e0 fs/coredump.c:826
get_signal+0xc06/0x14e0 kernel/signal.c:2875
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314
exc_general_protection+0x358/0x4f0 arch/x86/kernel/traps.c:562
asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:562
RIP: 0033:0x7f3deb9c9db1
RSP: 002b:0000000020000070 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f3debaf7f80 RCX: 00007f3deb9c9da9
RDX: 0000000020000080 RSI: 0000000020000070 RDI: 0000000080044000
RBP: 00007f3deba1647a R08: 0000000020000100 R09: 0000000020000100
R10: 00000000200000c0 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000000b R14: 00007f3debaf7f80 R15: 00007ffe78414768
Showing all locks held in the system:
4 locks held by kworker/u4:0/9:
#0: ffff888014db4938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90000ce7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff888024a14bd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677
#3: ffff888024a16990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12b9/0x1570 fs/jbd2/transaction.c:462
1 lock held by khungtaskd/27:
#0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3256:
#0: ffff88814b1c9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
2 locks held by kworker/0:6/3560:
#0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90003117d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
3 locks held by kworker/0:8/3570:
#0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90003147d20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8c923bf0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
4 locks held by kworker/u4:5/3599:
#0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc900031e7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558
#3: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xa4f/0xc40 net/core/dev.c:10652
2 locks held by kworker/u4:8/4916:
#0: ffff8880b9b3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
3 locks held by kworker/0:12/7699:
#0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90003c97d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251
3 locks held by syz-executor.2/9093:
#0: ffff888024a12460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825
#1: ffff888059ea17e0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline]
#1: ffff888059ea17e0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262
#2: ffff888024a120e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729
1 lock held by syz-executor.4/9264:
1 lock held by syz-executor.4/9361:
1 lock held by syz-executor.0/9714:
1 lock held by syz-executor.0/9753:
3 locks held by syz-executor.4/9851:
1 lock held by syz-executor.2/12193:
#0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
#0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626
2 locks held by syz-executor.0/12215:
3 locks held by syz-executor.4/12227:
2 locks held by syz-executor.0/12245:
2 locks held by syz-executor.3/12373:
2 locks held by syz-executor.0/12378:
3 locks held by syz-executor.1/12384:
3 locks held by syz-executor.1/12418:
3 locks held by syz-executor.4/12424:
1 lock held by syz-executor.3/12428:
1 lock held by syz-executor.0/12433:
1 lock held by syz-executor.3/12444:
1 lock held by syz-executor.1/12448:
1 lock held by syz-executor.4/12459:
1 lock held by syz-executor.0/12479:
1 lock held by syz-executor.0/12492:
1 lock held by syz-executor.1/12497:
2 locks held by syz-executor.3/12499:
1 lock held by syz-executor.4/12506:
1 lock held by syz-executor.3/12511:
1 lock held by syz-executor.0/12517:
1 lock held by syz-executor.1/12521:
2 locks held by syz-executor.4/12527:
1 lock held by syz-executor.0/12530:
1 lock held by syz-executor.3/12536:
1 lock held by syz-executor.1/12538:
2 locks held by syz-executor.0/12542:
1 lock held by syz-executor.1/12547:
1 lock held by syz-executor.1/12556:
2 locks held by syz-executor.1/12700:
#0: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0xc0/0x5e0 net/ipv6/ip6_tunnel.c:2319
2 locks held by syz-executor.0/12717:
#0: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#1: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845
2 locks held by syz-executor.4/12737:
#0: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: xfrmi_exit_batch_net+0xb3/0x280 net/xfrm/xfrm_interface_core.c:796
3 locks held by syz-executor.3/12743:
#0: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: caif_exit_net+0x6b/0x4e0 net/caif/caif_dev.c:527
#2: ffff888079970f80 (&caifn->caifdevs.lock){+.+.}-{3:3}, at: caif_exit_net+0x7e/0x4e0 net/caif/caif_dev.c:528
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12743 Comm: syz-executor.3 Not tainted 5.15.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_is_held_type+0x62/0x180 kernel/locking/lockdep.c:5662
Code: 85 f1 00 00 00 65 4c 8b 2d 2b a4 e6 75 41 83 bd ec 0a 00 00 00 0f 85 db 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c <8f> 04 24 4c 8b 24 24 fa 48 c7 c7 00 23 8b 8a e8 1a 12 00 00 65 ff
RSP: 0018:ffffc9000b1675d0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 000000000000f46c RCX: ffff88805f823b80
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8c91f780
RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1bc71b6
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff88805f823b80 R14: 00000000ffffffff R15: ffffffff8c91f780
FS: 00007fc6f2d3b6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555669a938 CR3: 000000003a025000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_is_held include/linux/lockdep.h:287 [inline]
___might_sleep+0xa2/0x6a0 kernel/sched/core.c:9592
inet_twsk_purge+0x10f/0xa20 net/ipv4/inet_timewait_sock.c:267
ops_exit_list net/core/net_namespace.c:174 [inline]
setup_net+0x81c/0x9e0 net/core/net_namespace.c:352
copy_net_ns+0x395/0x5d0 net/core/net_namespace.c:473
create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110
copy_namespaces+0x365/0x3b0 kernel/nsproxy.c:178
copy_process+0x1841/0x3ef0 kernel/fork.c:2209
kernel_clone+0x210/0x960 kernel/fork.c:2604
__do_sys_clone kernel/fork.c:2721 [inline]
__se_sys_clone kernel/fork.c:2705 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2705
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fc6f47bada9
Code: 28 00 00 00 75 05 48 83 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 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc6f2d3b078 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fc6f48e8f80 RCX: 00007fc6f47bada9
RDX: 0000000020000800 RSI: 00000000200007c0 RDI: 0000000040000000
RBP: 00007fc6f480747a R08: 0000000020000880 R09: 0000000020000880
R10: 0000000020000840 R11: 0000000000000206 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc6f48e8f80 R15: 00007fffee53d0d8