INFO: task syz-executor.3:5610 blocked for more than 143 seconds. Not tainted 6.7.0-rc5-syzkaller-00125-gc7402612e2e6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21360 pid:5610 tgid:5593 ppid:5106 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read_nested+0x707/0xa40 kernel/locking/rwsem.c:1652 xfs_ilock+0x10e/0x3b0 fs/xfs/xfs_inode.c:198 xfs_ilock_iocb fs/xfs/xfs_file.c:211 [inline] xfs_ilock_iocb_for_write+0xca/0x360 fs/xfs/xfs_file.c:225 xfs_file_dio_write_aligned+0xaa/0x2c0 fs/xfs/xfs_file.c:591 xfs_file_dio_write fs/xfs/xfs_file.c:720 [inline] xfs_file_write_iter+0x509/0x620 fs/xfs/xfs_file.c:856 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1142 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1088 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1194 do_sendfile+0x62c/0x1000 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7faacca7cba9 RSP: 002b:00007faacd85b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007faaccb9c050 RCX: 00007faacca7cba9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007faaccac847a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000f03affff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007faaccb9c050 R15: 00007ffe9bd0f308 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffff8880b993c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 1 lock held by khungtaskd/29: #0: ffffffff8d92e060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92e060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92e060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u4:4/74: 2 locks held by getty/4810: #0: ffff88802a9ca0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.2/5097: 1 lock held by syz-executor.4/5098: #0: ffff8880790420e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880790420e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880790420e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:516 2 locks held by kworker/0:7/5196: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90004957d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90004957d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 6 locks held by syz-executor.1/5305: 7 locks held by syz-executor.5/5489: 2 locks held by syz-executor.3/5610: #0: ffff888029c06418 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x607/0x1000 fs/read_write.c:1253 #1: ffff888034901a78 (&sb->s_type->i_mutex_key#22){++++}-{3:3}, at: xfs_ilock+0x10e/0x3b0 fs/xfs/xfs_inode.c:198 4 locks held by syz-executor.3/5611: 1 lock held by syz-executor.3/7066: 1 lock held by syz-executor.1/7085: 1 lock held by syz-executor.5/7086: 1 lock held by syz-executor.0/7111: #0: ffff8880790420e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880790420e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc5-syzkaller-00125-gc7402612e2e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4512 Comm: udevd Not tainted 6.7.0-rc5-syzkaller-00125-gc7402612e2e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:copy_from_kernel_nofault+0x0/0x2d0 mm/maccess.c:25 Code: 37 00 48 63 c5 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 0f 1f 44 00 00 f3 0f 1e fa e8 57 c2 ca ff b0 01 c3 0f 1f 40 00 0f 1e fa 55 41 57 41 56 41 55 41 54 53 50 49 89 d5 49 89 f4 49 RSP: 0018:ffffc900031af3b8 EFLAGS: 00000282 RAX: 0000000000000000 RBX: 0000000000000ff8 RCX: ffff88807ad95940 RDX: 0000000000000005 RSI: ffff88806870c1e8 RDI: ffff888039f98ff8 RBP: ffff888018270f00 R08: ffffffff82096368 R09: 1ffffffff21bb273 R10: dffffc0000000000 R11: fffffbfff21bb274 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff8880686bbd60 R15: ffff88806870c1e8 FS: 00007fec33091c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555d93938 CR3: 0000000025585000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: prepend_copy fs/d_path.c:50 [inline] prepend fs/d_path.c:76 [inline] prepend_name fs/d_path.c:101 [inline] __prepend_path fs/d_path.c:133 [inline] prepend_path+0x51f/0xbe0 fs/d_path.c:172 d_absolute_path+0x179/0x300 fs/d_path.c:234 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2ae/0x5e0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x255/0x500 security/tomoyo/file.c:771 security_file_open+0x63/0xa0 security/security.c:2836 do_dentry_open+0x327/0x1590 fs/open.c:935 do_open fs/namei.c:3622 [inline] path_openat+0x2849/0x3290 fs/namei.c:3779 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fec32d1a477 Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 82 69 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffacf3dc18 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000560dd5267590 RCX: 00007fec32d1a477 RDX: 0000000000090800 RSI: 0000560dd5249fc0 RDI: 00000000ffffff9c RBP: 0000560dd5240260 R08: 0000000000090800 R09: 0000560dd5249fc0 R10: 0000000000000000 R11: 0000000000000287 R12: 0000560dd5249fc0 R13: 0000000000000100 R14: 0000560dd33a7fee R15: 0000000000000000