INFO: task syz-executor.1:24022 blocked for more than 143 seconds. Not tainted 6.3.0-rc5-syzkaller-00137-gf2afccfefe7b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25352 pid:24022 ppid:5092 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 io_schedule+0x8c/0x100 kernel/sched/core.c:8887 __lock_metapage+0x1f9/0x310 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x556/0x10e0 fs/jfs/jfs_metapage.c:639 diIAGRead fs/jfs/jfs_imap.c:2662 [inline] diNewExt+0x2b99/0x4000 fs/jfs/jfs_imap.c:2230 diAllocExt fs/jfs/jfs_imap.c:1945 [inline] diAllocAG+0xbe8/0x1e50 fs/jfs/jfs_imap.c:1662 diAlloc+0x3e1/0x1720 fs/jfs/jfs_imap.c:1583 ialloc+0x8f/0x980 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1c5/0xbb0 fs/jfs/namei.c:225 vfs_mkdir+0x29d/0x450 fs/namei.c:4038 do_mkdirat+0x264/0x520 fs/namei.c:4061 __do_sys_mkdir fs/namei.c:4081 [inline] __se_sys_mkdir fs/namei.c:4079 [inline] __x64_sys_mkdir+0x6e/0x80 fs/namei.c:4079 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f24e268c169 RSP: 002b:00007f24e34a6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f24e27abf80 RCX: 00007f24e268c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f24e26e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7388ab1f R14: 00007f24e34a6300 R15: 0000000000022000 INFO: task syz-executor.1:24023 blocked for more than 144 seconds. Not tainted 6.3.0-rc5-syzkaller-00137-gf2afccfefe7b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27560 pid:24023 ppid:5092 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0x173b/0x4630 kernel/sched/core.c:6625 schedule+0xc3/0x180 kernel/sched/core.c:6701 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 lock_rename+0x186/0x1a0 do_renameat2+0x549/0x13c0 fs/namei.c:4864 __do_sys_renameat2 fs/namei.c:4956 [inline] __se_sys_renameat2 fs/namei.c:4953 [inline] __x64_sys_renameat2+0xd2/0xe0 fs/namei.c:4953 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f24e268c169 RSP: 002b:00007f24e3485168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f24e27ac050 RCX: 00007f24e268c169 RDX: 0000000000000004 RSI: 00000000200001c0 RDI: 0000000000000004 RBP: 00007f24e26e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7388ab1f R14: 00007f24e3485300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf25530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf25d30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf25360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4744: #0: ffff888028247098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5110: 4 locks held by syz-executor.1/24022: #0: ffff888031432460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888085df6b40 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888085df6b40 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808 #2: ffff888029da0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720 #3: ffff888085df2f78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline] #3: ffff888085df2f78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662 2 locks held by syz-executor.1/24023: #0: ffff888031432460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888085df6b40 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: lock_rename+0x186/0x1a0 4 locks held by syz-executor.4/24097: #0: ffff888073efc460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888085df4640 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888085df4640 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808 #2: ffff888037538920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720 #3: ffff888085df5db8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline] #3: ffff888085df5db8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662 2 locks held by syz-executor.4/24124: #0: ffff888073efc460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff888085df4640 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: lock_rename+0x186/0x1a0 3 locks held by syz-executor.4/24175: 1 lock held by syz-executor.3/25261: #0: ffff88807d71c0e0 (&type->s_umount_key#50/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 2 locks held by syz-executor.2/25274: 1 lock held by syz-executor.0/25276: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc5-syzkaller-00137-gf2afccfefe7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 25276 Comm: syz-executor.0 Not tainted 6.3.0-rc5-syzkaller-00137-gf2afccfefe7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xdc/0x520 kernel/locking/lockdep.c:5640 Code: 08 0f 83 e4 02 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 68 44 53 8e be 08 00 00 00 e8 bc 0d 76 00 48 0f a3 1d 5c 35 e9 0c <73> 0d e8 4d 31 09 00 84 c0 0f 84 b9 02 00 00 48 c7 c0 24 79 53 8e RSP: 0000:ffffc90019277cc0 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816a0f04 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e534468 RBP: ffffc90019277e08 R08: dffffc0000000000 R09: fffffbfff1ca688e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200324efa0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807a1be498 FS: 00007fc36c429700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc362c74000 CR3: 000000002bc89000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: down_read_trylock+0x24e/0x3b0 kernel/locking/rwsem.c:1562 mmap_read_trylock include/linux/mmap_lock.h:136 [inline] do_user_addr_fault arch/x86/mm/fault.c:1348 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x18e/0x7c0 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fc36b629237 Code: 78 48 63 d5 48 01 c2 49 3b 55 08 77 56 8d 55 ff 85 ed 74 35 0f 1f 80 00 00 00 00 48 39 c1 77 1c 49 8b 75 00 49 89 c1 49 29 c9 <46> 0f b6 0c 0e 45 84 c9 74 08 44 88 0c 06 49 8b 45 10 48 83 c0 01 RSP: 002b:00007fc36c428600 EFLAGS: 00010206 RAX: 0000000000e75001 RBX: 00007fc36c428660 RCX: 0000000000000001 RDX: 000000000000008a RSI: 00007fc361dff000 RDI: 00007fc36c428700 RBP: 0000000000000102 R08: 0000000000000001 R09: 0000000000e75000 R10: 0000000000000000 R11: 00007fc36c428670 R12: 00007fc36c428670 R13: 00007fc36c428700 R14: 0000000000000001 R15: 0000000000000000