INFO: task syz.1.396:8743 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.396 state:D stack:22736 pid:8743 tgid:8733 ppid:5839 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c0385d29 RSP: 002b:00007fd3be1d5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3c0576080 RCX: 00007fd3c0385d29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000300 RBP: 00007fd3c0401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000011080 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd3c0576080 R15: 00007ffd96fb4a38 INFO: task syz.1.396:8751 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.396 state:D stack:26968 pid:8751 tgid:8733 ppid:5839 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c0385d29 RSP: 002b:00007fd3be1b4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3c0576160 RCX: 00007fd3c0385d29 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000020000200 RBP: 00007fd3c0401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001333404 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fd3c0576160 R15: 00007ffd96fb4a38 INFO: task syz.1.396:8752 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.396 state:D stack:27328 pid:8752 tgid:8733 ppid:5839 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c0385d29 RSP: 002b:00007fd3bdd91038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3c0576240 RCX: 00007fd3c0385d29 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000240 RBP: 00007fd3c0401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001005848 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fd3c0576240 R15: 00007ffd96fb4a38 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5590: #0: ffff88814ceea0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:6/5884: #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000439fc60 (key_gc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000439fc60 (key_gc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8e93d278 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline] #2: ffffffff8e93d278 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:996 4 locks held by kworker/u8:25/7106: #0: ffff8880b863e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffffc90004c57c60 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004c57c60 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8e7d2b90 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_enable+0x12/0x20 kernel/jump_label.c:222 #3: ffffffff8e9eee28 (jump_label_mutex){+.+.}-{4:4}, at: jump_label_lock kernel/jump_label.c:27 [inline] #3: ffffffff8e9eee28 (jump_label_mutex){+.+.}-{4:4}, at: static_key_enable_cpuslocked+0xd7/0x260 kernel/jump_label.c:207 3 locks held by syz.1.396/8737: 1 lock held by syz.1.396/8743: #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.1.396/8751: #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.1.396/8752: #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #0: ffff8880787886c0 (&type->i_mutex_dir_key#25){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 2 locks held by syz-executor/8776: #0: ffffffff8f05e928 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8f05e928 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x42f/0x650 block/bio.c:1755 #1: ffffffff8e93d140 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3741 2 locks held by syz-executor/9705: #0: ffff888033c6a638 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x254/0x320 fs/file.c:1192 #1: ffff88805d0ce708 (&type->i_mutex_dir_key#3){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #1: ffff88805d0ce708 (&type->i_mutex_dir_key#3){++++}-{4:4}, at: dir_relax_shared include/linux/fs.h:3848 [inline] #1: ffff88805d0ce708 (&type->i_mutex_dir_key#3){++++}-{4:4}, at: ext4_readdir+0x1d65/0x38d0 fs/ext4/dir.c:311 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 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 UID: 0 PID: 8737 Comm: syz.1.396 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:check_preemption_disabled+0x5d/0x120 lib/smp_processor_id.c:19 Code: 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c <8f> 04 24 f7 04 24 00 02 00 00 74 c5 49 89 f6 49 89 ff 65 4c 8b 24 RSP: 0018:ffffc90004a8ee38 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000000 RCX: 0000000080000000 RDX: ffff88807bc9bc00 RSI: ffffffff8c0aa6e0 RDI: ffffffff8c5fed00 RBP: 0000000000000001 R08: ffffffff8bef98b7 R09: 1ffffffff285af08 R10: dffffc0000000000 R11: fffffbfff285af09 R12: 0000000000000246 R13: ffff88807bc9bc00 R14: 00000000ffffffff R15: ffffffff8e937da0 FS: 00007fd3be1f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555582018648 CR3: 00000000611e6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_is_held_type+0x7b/0x190 kernel/locking/lockdep.c:5920 xa_head include/linux/xarray.h:1204 [inline] xas_start+0x2d7/0x7b0 lib/xarray.c:191 xas_load+0x2c/0x5c0 lib/xarray.c:239 filemap_get_entry+0x1f0/0x3b0 mm/filemap.c:1823 __filemap_get_folio+0x72/0x940 mm/filemap.c:1868 __find_get_block_slow fs/buffer.c:203 [inline] __find_get_block+0x287/0x1140 fs/buffer.c:1398 __getblk_slow fs/buffer.c:1127 [inline] bdev_getblk+0x189/0x670 fs/buffer.c:1431 __bread_gfp+0x86/0x400 fs/buffer.c:1485 sb_bread include/linux/buffer_head.h:346 [inline] get_branch+0x2c3/0x6e0 fs/sysv/itree.c:102 get_block+0x180/0x16d0 fs/sysv/itree.c:222 block_read_full_folio+0x3ee/0xae0 fs/buffer.c:2396 filemap_read_folio+0x148/0x3b0 mm/filemap.c:2348 do_read_cache_folio+0x373/0x5b0 mm/filemap.c:3893 read_mapping_folio include/linux/pagemap.h:1032 [inline] dir_get_folio fs/sysv/dir.c:64 [inline] sysv_find_entry+0x16c/0x590 fs/sysv/dir.c:154 sysv_inode_by_name+0x98/0x2a0 fs/sysv/dir.c:370 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x28c/0x3f0 fs/namei.c:1791 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd3c0385d29 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:00007fd3be1f6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3c0575fa0 RCX: 00007fd3c0385d29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fd3c0401b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000100000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd3c0575fa0 R15: 00007ffd96fb4a38