INFO: task syz-executor.1:14928 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26592 pid:14928 ppid:5087 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 schedule+0xe7/0x1b0 kernel/sched/core.c:6753 io_schedule+0xbe/0x130 kernel/sched/core.c:8953 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:1042 [inline] clean_bdev_aliases+0x56b/0x610 fs/buffer.c:1732 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x14d0 fs/buffer.c:2125 iomap_write_begin+0x5be/0x17b0 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1986 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe94bc7cae9 RSP: 002b:00007fe94c9050c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe94bd9c1f0 RCX: 00007fe94bc7cae9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009 RBP: 00007fe94bcc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe94bd9c1f0 R15: 00007fff3c5f3868 Showing all locks held in the system: 3 locks held by kworker/1:1/27: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 #2: ffff8880b99297d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x200 kernel/time/timer.c:999 1 lock held by khungtaskd/29: #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4801: #0: ffff88802657c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 2 locks held by kworker/u4:8/28886: 2 locks held by kworker/1:2/5991: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90008a37d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by syz-executor.5/15933: 2 locks held by syz-executor.3/15944: 2 locks held by dhcpcd/15953: #0: ffff88804634e210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88804634e210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffffffff8cbb64f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cbb64f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x404/0x7e0 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.4/15956: 1 lock held by syz-executor.1/15961: #0: ffff8880a00820e0 (&type->s_umount_key#104){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880a00820e0 (&type->s_umount_key#104){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880a00820e0 (&type->s_umount_key#104){++++}-{3:3}, at: get_tree_bdev+0x391/0x650 fs/super.c:1578 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15956 Comm: syz-executor.4 Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:shmem_add_to_page_cache+0x62/0xc80 mm/shmem.c:765 Code: 24 18 48 89 44 24 20 4c 01 f0 48 89 74 24 08 48 c7 44 24 40 b3 8a b5 41 48 c7 44 24 48 90 84 4d 8c 48 c7 44 24 50 a0 cc c0 81 00 f1 f1 f1 f1 c7 40 08 00 00 00 f3 c7 40 0c f3 f3 f3 f3 65 48 RSP: 0018:ffffc90014cd7920 EFLAGS: 00000282 RAX: fffff5200299af2c RBX: ffffea000128fbc0 RCX: 0000000000000000 RDX: 0000000000000456 RSI: ffff88808b3bf458 RDI: ffffea000128fbc0 RBP: 0000000000000456 R08: 0000000000000cc0 R09: 0000000000000000 R10: ffffea000128fbc7 R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88808b3bf458 FS: 00007fc870f396c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01b183000 CR3: 0000000098d9f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_get_folio_gfp+0x6de/0x1890 mm/shmem.c:2067 shmem_get_folio mm/shmem.c:2160 [inline] shmem_write_begin+0x15c/0x460 mm/shmem.c:2705 generic_perform_write+0x278/0x600 mm/filemap.c:3969 shmem_file_write_iter+0x110/0x140 mm/shmem.c:2882 call_write_iter include/linux/fs.h:1986 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc87027b82f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007fc870f38e70 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001ee4e54 RCX: 00007fc87027b82f RDX: 0000000001ee4e54 RSI: 00007fc8669ff000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000007e5e R10: 0000000020000102 R11: 0000000000000293 R12: 0000000000000003 R13: 00007fc870f38f3c R14: 00007fc870f38f40 R15: 00007fc8669ff000