INFO: task syz-executor.3:5484 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25232 pid:5484 tgid:5473 ppid:5079 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:795 [inline] chown_common+0x3e1/0x850 fs/open.c:780 do_fchownat+0x16d/0x250 fs/open.c:821 __do_sys_lchown fs/open.c:846 [inline] __se_sys_lchown fs/open.c:844 [inline] __x64_sys_lchown+0x85/0xa0 fs/open.c:844 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f874ee7dea9 RSP: 002b:00007f874e9de0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f874efac050 RCX: 00007f874ee7dea9 RDX: 0000000000000000 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f874eeca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f874efac050 R15: 00007ffca620a658 INFO: task syz-executor.3:5505 blocked for more than 144 seconds. Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28336 pid:5505 tgid:5473 ppid:5079 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] lock_rename fs/namei.c:3066 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4972 __do_sys_rename fs/namei.c:5084 [inline] __se_sys_rename fs/namei.c:5082 [inline] __x64_sys_rename+0x86/0xa0 fs/namei.c:5082 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f874ee7dea9 RSP: 002b:00007f874e9bd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f874efac120 RCX: 00007f874ee7dea9 RDX: 0000000000000000 RSI: 0000000020000f00 RDI: 0000000020000400 RBP: 00007f874eeca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f874efac120 R15: 00007ffca620a658 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4824: #0: ffff88802f32a0a0 (&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+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5474: 2 locks held by syz-executor.3/5484: #0: ffff888066668420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805ee18188 (&type->i_mutex_dir_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff88805ee18188 (&type->i_mutex_dir_key#21){+.+.}-{3:3}, at: chown_common+0x3e1/0x850 fs/open.c:780 2 locks held by syz-executor.3/5505: #0: ffff888066668420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805ee18188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805ee18188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3066 [inline] #1: ffff88805ee18188 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4972 3 locks held by syz-executor.1/7704: 1 lock held by syz-executor.1/7711: 1 lock held by syz-executor.2/7728: #0: ffff8880b943e658 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4506 Comm: syslogd Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:security_file_permission+0x4b/0xa0 security/security.c:2695 Code: 48 c7 c5 b0 bd d3 8d 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 a2 0f 98 fd 48 8b 6d 00 48 85 ed 74 33 48 8d 5d 18 <48> 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 7f 0f 98 fd RSP: 0018:ffffc900038cfc28 EFLAGS: 00000286 RAX: 1ffffffff1ba77b6 RBX: ffffffff8dd3ea48 RCX: ffff88807de6bc00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88807c718000 RBP: ffffffff8dd3ea30 R08: ffffffff8207b1a1 R09: 1ffff1100f8e9a58 R10: dffffc0000000000 R11: ffffed100f8e9a59 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000004 R15: ffff88807c718000 FS: 00007fb3a1b15380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ae7888001 CR3: 000000007d9e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rw_verify_area+0xbf/0x580 fs/read_write.c:377 vfs_read+0x153/0xb70 fs/read_write.c:467 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb3a1c69b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe1c10d128 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fb3a1c69b6a RDX: 00000000000000ff RSI: 000055ad5cbe9950 RDI: 0000000000000000 RBP: 000055ad5cbe9910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000246 R12: 000055ad5cbe9999 R13: 000055ad5cbe9950 R14: 0000000000000000 R15: 00007fb3a1e4ca80