INFO: task syz-executor.2:10805 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:22560 pid:10805 ppid: 6230 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:0x7f324754ddb1 RSP: 002b:00000000200002e0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f324767bf80 RCX: 00007f324754dda9 RDX: 0000000020000300 RSI: 00000000200002e0 RDI: 0000000000080000 RBP: 00007f324759a47a R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000340 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f324767bf80 R15: 00007ffcb7a56828 Showing all locks held in the system: 3 locks held by kworker/1:0/21: #0: ffff888011c71938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000db7d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7f/0xb70 net/wireless/reg.c:2436 1 lock held by khungtaskd/26: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:2/154: 3 locks held by kworker/0:3/1281: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900054afd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 2 locks held by getty/3258: #0: ffff888024fbe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000209b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:4/3561: #0: ffff8880244c2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003167d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4111 2 locks held by kworker/0:6/3564: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900031a7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/u4:7/4792: 5 locks held by kworker/u4:8/6570: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900050cfd20 (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: rtnl_lock_unregistering net/core/dev.c:11576 [inline] #3: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x1ac/0x3f0 net/core/dev.c:11614 #4: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by kworker/0:9/8728: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900048d7d20 ((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/10805: #0: ffff88814aec8460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff88805d10e7a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805d10e7a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88814aec80e0 (&type->s_umount_key#32){++++}-{3:3}, at: try_to_writeback_inodes_sb+0x1d/0xb0 fs/fs-writeback.c:2729 2 locks held by syz-executor.4/11107: 1 lock held by syz-executor.1/11112: 1 lock held by syz-executor.4/11116: 2 locks held by syz-executor.1/11120: 2 locks held by syz-executor.4/11124: 1 lock held by syz-executor.1/11128: 2 locks held by syz-executor.4/11140: 3 locks held by syz-executor.1/11143: 2 locks held by syz-executor.4/11148: 2 locks held by syz-executor.4/11167: 3 locks held by syz-executor.3/11171: 2 locks held by syz-executor.3/11181: 1 lock held by syz-executor.1/11182: 1 lock held by syz-executor.3/11186: 2 locks held by syz-executor.3/11193: 2 locks held by syz-executor.3/11202: 3 locks held by syz-executor.1/11208: 1 lock held by syz-executor.0/11511: #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 1 lock held by syz-executor.1/11514: #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.4/11542: #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: wg_netns_pre_exit+0x1b/0x1d0 drivers/net/wireguard/device.c:404 2 locks held by syz-executor.2/11545: #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: wg_netns_pre_exit+0x1b/0x1d0 drivers/net/wireguard/device.c:404 2 locks held by syz-executor.3/11547: #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: ip_tunnel_init_net+0x20f/0x700 net/ipv4/ip_tunnel.c:1083 1 lock held by syz-executor.0/11552: #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 1 lock held by syz-executor.1/11556: #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 1 lock held by syz-executor.4/11567: #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 1 lock held by syz-executor.2/11570: #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 1 lock held by syz-executor.3/11572: #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 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 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: 11182 Comm: syz-executor.1 Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5363 [inline] RIP: 0010:lock_is_held_type+0xa8/0x180 kernel/locking/lockdep.c:5666 Code: 83 bd e8 0a 00 00 00 7e 47 4c 89 ed 48 81 c5 f0 0a 00 00 31 db 48 83 fb 31 73 24 48 89 ef 4c 89 fe e8 fc 01 00 00 85 c0 75 2a <48> ff c3 49 63 85 e8 0a 00 00 48 83 c5 28 48 39 c3 7c d8 eb 11 48 RSP: 0018:ffffc90005c15f88 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: 0000000000000005 RSI: ffff8880b9a3a318 RDI: ffff88807a6e28d8 RBP: ffff88807a6e28d8 R08: dffffc0000000000 R09: fffffbfff1bc71b6 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000046 R13: ffff88807a6e1dc0 R14: 00000000ffffffff R15: ffff8880b9a3a318 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563ef621c030 CR3: 0000000022fde000 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] lockdep_assert_rq_held kernel/sched/sched.h:1317 [inline] rq_clock_pelt kernel/sched/pelt.h:137 [inline] cfs_rq_clock_pelt kernel/sched/pelt.h:150 [inline] update_load_avg+0xdc/0x1110 kernel/sched/fair.c:3869 enqueue_entity+0x118/0x1ec0 kernel/sched/fair.c:4496 enqueue_task_fair+0x245/0x1710 kernel/sched/fair.c:5813 enqueue_task+0x181/0x3a0 kernel/sched/core.c:1977 activate_task+0x4d/0xa0 kernel/sched/core.c:2005 attach_task+0xf2/0x180 kernel/sched/fair.c:8289 attach_tasks kernel/sched/fair.c:8324 [inline] load_balance+0x57d8/0x7c60 kernel/sched/fair.c:10250 newidle_balance+0x4d4/0xef0 kernel/sched/fair.c:11212 pick_next_task_fair+0x27d/0x9c0 kernel/sched/fair.c:7608 __pick_next_task kernel/sched/core.c:5650 [inline] pick_next_task kernel/sched/core.c:5758 [inline] __schedule+0x86d/0x45b0 kernel/sched/core.c:6340 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 add_transaction_credits+0x85c/0xc00 fs/jbd2/transaction.c:316 start_this_handle+0x747/0x1570 fs/jbd2/transaction.c:423 jbd2__journal_start+0x2d1/0x5c0 fs/jbd2/transaction.c:521 __ext4_journal_start_sb+0x175/0x370 fs/ext4/ext4_jbd2.c:105 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_writepages+0x114f/0x3d10 fs/ext4/inode.c:2800 do_writepages+0x481/0x730 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] __filemap_fdatawrite mm/filemap.c:439 [inline] filemap_flush+0x10c/0x150 mm/filemap.c:466 ext4_release_file+0x7d/0x300 fs/ext4/file.c:141 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:872 do_group_exit+0x144/0x310 kernel/exit.c:994 get_signal+0xc66/0x14e0 kernel/signal.c:2889 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:0x7f0fc432fdb1 Code: Unable to access opcode bytes at RIP 0x7f0fc432fd87. RSP: 002b:00000000200002e0 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f0fc445df80 RCX: 00007f0fc432fda9 RDX: 0000000020000300 RSI: 00000000200002e0 RDI: 0000000000080000 RBP: 00007f0fc437c47a R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000340 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0fc445df80 R15: 00007ffd9a4ee428