INFO: task syz.2.831:8008 blocked for more than 143 seconds. Not tainted 5.15.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.831 state:D stack:27472 pid: 8008 ppid: 7074 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 inode_lock_shared include/linux/fs.h:799 [inline] lookup_slow+0x45/0x70 fs/namei.c:1679 walk_component+0x48c/0x610 fs/namei.c:1976 link_path_walk+0x642/0xd90 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x24c/0x6c0 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] filename_create+0xf2/0x530 fs/namei.c:3816 do_mkdirat+0xb3/0x520 fs/namei.c:4080 __do_sys_mkdir fs/namei.c:4110 [inline] __se_sys_mkdir fs/namei.c:4108 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4108 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc4e52ed299 RSP: 002b:00007fc4e374b048 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fc4e547c058 RCX: 00007fc4e52ed299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200 RBP: 00007fc4e535a8e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc4e547c058 R15: 00007ffe532e77f8 INFO: task syz.2.831:8009 blocked for more than 144 seconds. Not tainted 5.15.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.831 state:D stack:28504 pid: 8009 ppid: 7074 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 inode_lock_shared include/linux/fs.h:799 [inline] lookup_slow+0x45/0x70 fs/namei.c:1679 walk_component+0x48c/0x610 fs/namei.c:1976 link_path_walk+0x642/0xd90 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x24c/0x6c0 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] do_rmdir+0x132/0x670 fs/namei.c:4177 __do_sys_rmdir fs/namei.c:4229 [inline] __se_sys_rmdir fs/namei.c:4227 [inline] __x64_sys_rmdir+0x45/0x50 fs/namei.c:4227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc4e52ed299 RSP: 002b:00007fc4e372a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007fc4e547c130 RCX: 00007fc4e52ed299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007fc4e535a8e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc4e547c130 R15: 00007ffe532e77f8 Showing all locks held in the system: 3 locks held by kworker/1:0/21: #0: ffff888017054938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000db7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff8880b9b27e78 (krc.lock){..-.}-{2:2}, at: kfree_rcu_monitor+0x29/0x6c0 kernel/rcu/tree.c:3378 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3325: #0: ffff888024566098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000209b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:4/3613: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003097d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz-executor/5341: #0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by kworker/u4:11/5917: 2 locks held by syz-executor/7336: #0: ffff888062a440e0 (&type->s_umount_key#79){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz.2.831/7988: 1 lock held by syz.2.831/8008: #0: ffff88806fe28188 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88806fe28188 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 1 lock held by syz.2.831/8009: #0: ffff88806fe28188 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88806fe28188 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7988 Comm: syz.2.831 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x170/0x4f0 kernel/locking/lockdep.c:5619 Code: 8d bc 24 80 00 00 00 4c 89 fb 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 ff e8 1d 88 67 00 48 c7 84 24 80 00 00 00 00 00 00 00 9c <8f> 84 24 80 00 00 00 42 80 3c 2b 00 74 08 4c 89 ff e8 7a 87 67 00 RSP: 0018:ffffc90000007938 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff92000000f38 RCX: ffffffff8162ad0c RDX: 0000000000000000 RSI: ffffffff8ad8f7e0 RDI: ffffffff8ad8f7a0 RBP: ffffc90000007aa0 R08: dffffc0000000000 R09: fffffbfff1bd2986 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f30 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc900000079c0 FS: 00007fc4e376c6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71f692eab8 CR3: 0000000063c35000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] select_task_rq_fair+0x34c/0x36d0 kernel/sched/fair.c:7187 select_task_rq kernel/sched/core.c:3433 [inline] try_to_wake_up+0x55f/0x1300 kernel/sched/core.c:4131 hrtimer_wakeup+0x5e/0x70 kernel/time/hrtimer.c:1940 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__kasan_check_read+0x2/0x10 mm/kasan/shadow.c:31 Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 63 7b 1b 8c eb 0a 48 c7 c7 9b 7b 1b 8c 4c 89 fe e8 06 ac 67 08 31 db eb d7 cc cc 89 f6 <48> 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 RSP: 0018:ffffc90002f47950 EFLAGS: 00000213 RAX: 0000000000000002 RBX: 00fff00000002001 RCX: ffff88807ad58000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001366780 RBP: 1ffffd400026ccf0 R08: ffffffff81e5fc7e R09: ffffed100dfc5087 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001366780 R13: ffffea0001366788 R14: 00fff00000000001 R15: dffffc0000000000 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] PagePrivate include/linux/page-flags.h:380 [inline] create_page_buffers+0x215/0x330 fs/buffer.c:1681 block_read_full_page+0xe6/0xde0 fs/buffer.c:2270 do_read_cache_page+0x752/0x1040 read_mapping_page include/linux/pagemap.h:515 [inline] dir_get_page fs/sysv/dir.c:58 [inline] sysv_find_entry+0x1b0/0x650 fs/sysv/dir.c:146 sysv_inode_by_name+0x9e/0x3f0 fs/sysv/dir.c:360 sysv_lookup+0x63/0xe0 fs/sysv/namei.c:38 lookup_one_qstr_excl+0x117/0x240 fs/namei.c:1563 filename_create+0x293/0x530 fs/namei.c:3836 do_mkdirat+0xb3/0x520 fs/namei.c:4080 __do_sys_mkdir fs/namei.c:4110 [inline] __se_sys_mkdir fs/namei.c:4108 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4108 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc4e52ed299 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc4e376c048 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fc4e547bf80 RCX: 00007fc4e52ed299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 RBP: 00007fc4e535a8e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc4e547bf80 R15: 00007ffe532e77f8