INFO: task syz.0.666:6202 blocked for more than 143 seconds. Not tainted 6.1.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.666 state:D stack:28056 pid:6202 ppid:4257 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 schedule+0xbf/0x180 kernel/sched/core.c:6636 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189 inode_lock include/linux/fs.h:758 [inline] open_last_lookups fs/namei.c:3547 [inline] path_openat+0x7b6/0x2e60 fs/namei.c:3780 do_filp_open+0x230/0x480 fs/namei.c:3810 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 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:0x7f3474d8d169 RSP: 002b:00007f3475c48038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3474fa6080 RCX: 00007f3474d8d169 RDX: 000000000000275a RSI: 0000200000000240 RDI: ffffffffffffff9c RBP: 00007f3474e0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3474fa6080 R15: 00007ffc96f4a638 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32e890 (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: ffffffff8d32f090 (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: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32e6c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 3 locks held by kworker/u4:4/56: #0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc90001577d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #2: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 2 locks held by getty/4007: #0: ffff88814cd01098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:4/4297: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc90003ff7d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #2: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104 2 locks held by kworker/0:8/4345: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc900040f7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 2 locks held by ext4lazyinit/6124: 2 locks held by syz.0.666/6188: 2 locks held by syz.0.666/6202: #0: ffff88807a76e460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888055a75e48 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff888055a75e48 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline] #1: ffff888055a75e48 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7b6/0x2e60 fs/namei.c:3780 2 locks held by kworker/u4:22/7584: 2 locks held by syz.5.1631/8752: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7cb/0x1000 net/core/rtnetlink.c:6147 #1: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8d333cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 2 locks held by syz.5.1631/8756: #0: ffff88807c2b0130 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1756 [inline] #0: ffff88807c2b0130 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_connect+0xb3/0xe10 net/smc/af_smc.c:1603 #1: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: smc_vlan_by_tcpsk+0x3da/0x540 net/smc/smc_core.c:1811 1 lock held by syz.6.1633/8755: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7cb/0x1000 net/core/rtnetlink.c:6147 1 lock held by syz.4.1638/8769: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: raw_bind+0x95/0x770 net/can/raw.c:440 1 lock held by syz.4.1638/8770: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: raw_bind+0x95/0x770 net/can/raw.c:440 1 lock held by syz.3.1644/8782: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x4a9/0x2320 drivers/net/tun.c:3104 1 lock held by syz.3.1644/8787: #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7cb/0x1000 net/core/rtnetlink.c:6147 2 locks held by syz.1.1648/8794: #0: ffff888055b08810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888055b08810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff888055b08810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1400 #1: ffffffff8e5505a8 (rtnl_mutex){+.+.}-{3:3}, at: raw_release+0x1b4/0x8a0 net/can/raw.c:392 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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+0x1ca/0x430 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: 6124 Comm: ext4lazyinit Not tainted 6.1.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:xas_start+0x0/0x7b0 lib/xarray.c:180 Code: a6 11 dd f6 eb 0c e8 9f 11 dd f6 eb 05 e8 98 11 dd f6 4c 89 e0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 0f 1f 44 00 00 <55> 41 57 41 56 41 55 41 54 53 50 49 89 fc 48 bb 00 00 00 00 00 fc RSP: 0018:ffffc9000516f9e8 EFLAGS: 00000293 RAX: ffffffff8aad9720 RBX: ffffc9000516faa0 RCX: ffff888024bd5940 RDX: 0000000000000000 RSI: ffffffff8b5f6f60 RDI: ffffc9000516faa0 RBP: ffffc9000516fb48 R08: ffffffff81b7b815 R09: fffffbfff225724d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888148e3f600 R13: 0000000000000007 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556bd365c8 CR3: 00000000730c7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xas_load+0x28/0x140 lib/xarray.c:235 mapping_get_entry mm/filemap.c:1881 [inline] __filemap_get_folio+0x22c/0xe80 mm/filemap.c:1943 pagecache_get_page+0x28/0x250 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grow_dev_page fs/buffer.c:946 [inline] grow_buffers fs/buffer.c:1011 [inline] __getblk_slow fs/buffer.c:1038 [inline] __getblk_gfp+0x211/0xa20 fs/buffer.c:1333 sb_getblk include/linux/buffer_head.h:356 [inline] ext4_read_block_bitmap_nowait+0x1ff/0x980 fs/ext4/balloc.c:482 ext4_mb_prefetch+0x46d/0x640 fs/ext4/mballoc.c:2587 ext4_run_li_request fs/ext4/super.c:3644 [inline] ext4_lazyinit_thread+0x54d/0x1ad0 fs/ext4/super.c:3770 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295