INFO: task syz-executor.4:14025 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.4 state:D stack:21888 pid:14025 ppid: 9376 flags:0x00004002 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_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x15abe0cba4 RSP: 002b:0000000020000208 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f11ac1aaf80 RCX: 00007f11ac07cda9 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000008400 RBP: 00007f11ac0c947a R08: 00000000200002c0 R09: 00000000200002c0 R10: 0000000020000280 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f11ac1aaf80 R15: 00007ffe94f36ec8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by kworker/u4:3/484: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003097d20 (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: ieee80211_unregister_hw+0x4d/0x220 net/mac80211/main.c:1383 2 locks held by getty/3261: #0: ffff888023d6c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&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/3524: #0: ffff88814b346d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003047d20 ((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 5 locks held by kworker/u4:5/3583: 3 locks held by kworker/1:48/26242: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000759fd20 ((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 2 locks held by kworker/1:51/28844: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90005befd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by syz-executor.4/14025: #0: ffff88807f588460 (sb_writers#5){.+.+}-{0:0}, at: do_coredump+0x1825/0x31e0 fs/coredump.c:825 #1: ffff8880499e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff8880499e67a0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0xa0/0x360 fs/ext4/file.c:262 #2: ffff88807f5880e0 (&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.0/14038: 1 lock held by syz-executor.4/14946: 1 lock held by syz-executor.0/14959: 3 locks held by syz-executor.1/14972: 1 lock held by syz-executor.2/14986: 1 lock held by syz-executor.3/14996: 1 lock held by syz-executor.2/15013: 1 lock held by syz-executor.1/15038: 1 lock held by syz-executor.0/15053: 2 locks held by syz-executor.4/15057: 1 lock held by syz-executor.2/15069: 1 lock held by syz-executor.0/15086: 1 lock held by syz-executor.2/15104: 1 lock held by syz-executor.0/15128: 1 lock held by syz-executor.2/15141: 2 locks held by syz-executor.1/15145: 1 lock held by syz-executor.4/15168: 1 lock held by syz-executor.3/15170: 2 locks held by syz-executor.2/15190: 1 lock held by syz-executor.0/15212: 2 locks held by syz-executor.1/15236: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 #1: ffff8880b9a3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by syz-executor.0/15250: 3 locks held by syz-executor.2/15268: 1 lock held by syz-executor.4/15286: 1 lock held by syz-executor.0/15347: 1 lock held by syz-executor.4/15772: 4 locks held by kworker/u4:7/15835: 1 lock held by syz-executor.1/16105: #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/16206: 1 lock held by syz-executor.4/16209: 1 lock held by syz-executor.0/16214: 3 locks held by syz-executor.4/16219: 3 locks held by syz-executor.4/16225: 1 lock held by syz-executor.2/16230: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/16264: 1 lock held by syz-executor.2/16268: 1 lock held by syz-executor.2/16281: 1 lock held by syz-executor.0/16285: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/16296: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/16298: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/16307: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/16309: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.0/16316: 1 lock held by syz-executor.2/16344: 3 locks held by syz-executor.4/16359: 1 lock held by syz-executor.0/16594: 1 lock held by syz-executor.2/16607: 1 lock held by syz-executor.2/16618: 2 locks held by syz-executor.3/16620: #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: 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 1 lock held by syz-executor.4/16624: 1 lock held by syz-executor.4/16634: 1 lock held by syz-executor.0/16635: 1 lock held by syz-executor.2/16643: 1 lock held by syz-executor.0/16647: 1 lock held by syz-executor.4/16651: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.2/16660: 1 lock held by syz-executor.0/16664: #0: ffff88807f58abd8 (&sbi->s_writepages_rwsem){.+.+}-{0:0}, at: ext4_writepages+0x1f6/0x3d10 fs/ext4/inode.c:2677 1 lock held by syz-executor.4/16674: #0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:699 [inline] #0: ffffffff8d9dba08 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x1b0 drivers/net/tun.c:3435 3 locks held by syz-executor.0/16677: 1 lock held by syz-executor.2/16684: 3 locks held by syz-executor.0/16695: #0: ffff8880788ccff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x63/0x1070 net/bluetooth/hci_core.c:1737 #1: ffff8880788cc078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x431/0x1070 net/bluetooth/hci_core.c:1782 #2: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 4 locks held by syz-executor.2/16717: 2 locks held by syz-executor.4/16733: ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 15250 Comm: syz-executor.0 Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:match_held_lock+0x0/0xb0 kernel/locking/lockdep.c:5070 Code: c7 03 00 75 cf 48 c7 c7 a0 13 8b 8a 48 c7 c6 e0 13 8b 8a e8 32 17 30 f7 0f 0b eb b6 e8 09 fb ff ff 66 0f 1f 84 00 00 00 00 00 <55> 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 10 RSP: 0018:ffffc9000bbc6d60 EFLAGS: 00000087 RAX: 0000000000000003 RBX: 0000000000000002 RCX: 0000000080000000 RDX: ffff88801c4a3b80 RSI: ffffffff8c91f720 RDI: ffff88801c4a46c0 RBP: ffff88801c4a46c0 R08: ffffffff842eb230 R09: fffffbfff1f79e19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff88801c4a3b80 R14: 00000000ffffffff R15: ffffffff8c91f720 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f178a8acb90 CR3: 000000005c675000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5366 [inline] lock_is_held_type+0xa4/0x180 kernel/locking/lockdep.c:5666 xa_head include/linux/xarray.h:1166 [inline] xas_find_marked+0xd42/0x10e0 lib/xarray.c:1321 find_get_entry+0x6f/0x280 mm/filemap.c:1980 find_get_pages_range_tag+0x241/0x500 mm/filemap.c:2272 pagevec_lookup_range_tag+0x37/0x80 mm/swap.c:1114 mpage_prepare_extent_to_map+0x399/0x1150 fs/ext4/inode.c:2578 ext4_writepages+0x1273/0x3d10 fs/ext4/inode.c:2815 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_page_fault+0x342/0x740 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x15abe0cba4 Code: Unable to access opcode bytes at RIP 0x15abe0cb7a. RSP: 002b:0000000020000208 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fe3e8e2af80 RCX: 00007fe3e8cfcda9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000008400 RBP: 00007fe3e8d4947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000280 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe3e8e2af80 R15: 00007ffd4c8c4c58