INFO: task syz-executor.5:11302 blocked for more than 143 seconds. Not tainted 6.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26320 pid:11302 tgid:11289 ppid:5094 flags:0x00004006 Call Trace: <TASK> 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_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] chown_common+0x3e0/0x850 fs/open.c:773 vfs_fchown fs/open.c:851 [inline] ksys_fchown+0xe5/0x150 fs/open.c:862 __do_sys_fchown fs/open.c:870 [inline] __se_sys_fchown fs/open.c:868 [inline] __x64_sys_fchown+0x7a/0x90 fs/open.c:868 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:0x7f9f1da7cba9 RSP: 002b:00007f9f1e8090c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f9f1db9c050 RCX: 00007f9f1da7cba9 RDX: 0000000039323420 RSI: ffffffffffffffff RDI: 0000000000000008 RBP: 00007f9f1dac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9f1db9c050 R15: 00007fffd1350ef8 </TASK> Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 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 2 locks held by kworker/u4:6/954: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffffc9000406fd20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 3 locks held by kworker/u4:10/2837: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff88801cc0a0d8 (&lo->lo_work_lock){..-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:376 [inline] #2: ffff88801cc0a0d8 (&lo->lo_work_lock){..-.}-{2:2}, at: loop_process_work+0x1dec/0x22a0 drivers/block/loop.c:1953 2 locks held by getty/4814: #0: ffff88802a81a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5093: #0: ffffffff8d933a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8d933a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 5 locks held by kworker/0:5/5160: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc9000485fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc9000485fd20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffff88801838a0e0 (&type->s_umount_key#25){++++}-{3:3}, at: flush_old_commits+0xcb/0x2f0 fs/reiserfs/super.c:97 #3: ffff88801edf4090 (&jl->j_commit_mutex){+.+.}-{3:3}, at: reiserfs_mutex_lock_safe fs/reiserfs/reiserfs.h:813 [inline] #3: ffff88801edf4090 (&jl->j_commit_mutex){+.+.}-{3:3}, at: flush_commit_list+0x66a/0x1c50 fs/reiserfs/journal.c:1006 #4: ffff88807dd46090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x5f/0xd0 fs/reiserfs/lock.c:78 2 locks held by kworker/0:6/5161: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc9000487fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] ffffc9000487fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 3 locks held by syz-executor.5/11291: 2 locks held by syz-executor.5/11302: #0: ffff88801838a418 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:448 #1: ffff888039c6c520 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888039c6c520 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: chown_common+0x3e0/0x850 fs/open.c:773 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: <TASK> __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 </TASK> Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13025 Comm: udevadm Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:format_decode+0x74b/0x1bb0 lib/vsprintf.c:2588 Code: 0f b6 04 37 84 c0 0f 85 f8 0e 00 00 45 0f b6 7d 00 41 8d 5f c6 bf f6 ff ff ff 89 de e8 1e 91 7d f6 83 fb f6 0f 83 b5 03 00 00 <41> 0f b6 df bf 2a 00 00 00 89 de e8 e5 8f 7d f6 80 fb 2a 4c 8b 64 RSP: 0018:ffffc9000435f080 EFLAGS: 00000203 RAX: 0000000000000000 RBX: 000000000000003b RCX: 000000008b6e5f02 RDX: ffff88807c025940 RSI: 000000000000003b RDI: 00000000fffffff6 RBP: ffffc9000435f170 R08: ffffffff8b10efd2 R09: ffffffff8b10ee4a R10: 0000000000000005 R11: ffff88807c025940 R12: ffffffff8b6e5f32 R13: ffffffff8b6e5f32 R14: dffffc0000000000 R15: 0000000000000075 FS: 00007f2d566b7c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556e435ee008 CR3: 000000002a3e5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <TASK> vsnprintf+0x14f/0x1da0 lib/vsprintf.c:2771 audit_log_vformat+0x35c/0x9e0 kernel/audit.c:1962 audit_log_format+0xdb/0x130 kernel/audit.c:1996 audit_log_start+0x7de/0xa30 kernel/audit.c:1907 common_lsm_audit+0xdc/0x1ad0 security/lsm_audit.c:449 smack_log+0x421/0x540 security/smack/smack_access.c:383 smk_tskacc+0x2ff/0x360 security/smack/smack_access.c:253 smack_inode_permission+0x2dc/0x380 security/smack/smack_lsm.c:1227 security_inode_permission+0xa1/0xf0 security/security.c:2111 may_lookup fs/namei.c:1724 [inline] link_path_walk+0x2da/0xe70 fs/namei.c:2271 path_lookupat+0xa9/0x450 fs/namei.c:2482 filename_lookup+0x255/0x610 fs/namei.c:2512 user_path_at_empty+0x42/0x60 fs/namei.c:2911 do_readlinkat+0x118/0x3b0 fs/stat.c:494 __do_sys_readlink fs/stat.c:527 [inline] __se_sys_readlink fs/stat.c:524 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:524 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:0x7f2d56317d47 Code: 73 01 c3 48 8b 0d e1 90 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b1 90 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007fffa6c37c08 EFLAGS: 00000206 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 0000563d8bc7c770 RCX: 00007f2d56317d47 RDX: 0000000000000400 RSI: 00007fffa6c38018 RDI: 00007fffa6c37c18 RBP: 00007fffa6c38458 R08: 0000563d8a62c7b7 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000206 R12: 0000000000000200 R13: 00007fffa6c38018 R14: 00007fffa6c37c18 R15: 0000563d8bc6ada0 </TASK>