INFO: task syz-executor.0:17154 blocked for more than 143 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:21832 pid:17154 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 io_schedule+0x83/0x100 kernel/sched/core.c:8811 __lock_metapage+0x209/0x330 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x849/0xff0 fs/jfs/jfs_metapage.c:639 diIAGRead fs/jfs/jfs_imap.c:2662 [inline] diNewExt+0x2bea/0x3e00 fs/jfs/jfs_imap.c:2230 diAllocExt fs/jfs/jfs_imap.c:1945 [inline] diAllocAG+0xc6a/0x1f80 fs/jfs/jfs_imap.c:1662 diAlloc+0x3dd/0x1700 fs/jfs/jfs_imap.c:1583 ialloc+0x8c/0xa80 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x141/0xb00 fs/jfs/namei.c:225 vfs_mkdir+0x3b3/0x590 fs/namei.c:4036 do_mkdirat+0x25b/0x530 fs/namei.c:4061 __do_sys_mkdirat fs/namei.c:4076 [inline] __se_sys_mkdirat fs/namei.c:4074 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4074 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb99a08c0c9 RSP: 002b:00007fb99aebb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fb99a1abf80 RCX: 00007fb99a08c0c9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007fb99a0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7db1213f R14: 00007fb99aebb300 R15: 0000000000022000 INFO: task syz-executor.0:17161 blocked for more than 144 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23704 pid:17161 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 io_schedule+0x83/0x100 kernel/sched/core.c:8811 __lock_metapage+0x209/0x330 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x849/0xff0 fs/jfs/jfs_metapage.c:639 diIAGRead fs/jfs/jfs_imap.c:2662 [inline] diRead+0x20c/0xac0 fs/jfs/jfs_imap.c:315 jfs_iget+0x8a/0x3b0 fs/jfs/inode.c:35 jfs_lookup+0x1bb/0x380 fs/jfs/namei.c:1462 __lookup_hash+0x115/0x240 fs/namei.c:1601 do_unlinkat+0x26b/0x930 fs/namei.c:4304 __do_sys_unlink fs/namei.c:4368 [inline] __se_sys_unlink fs/namei.c:4366 [inline] __x64_sys_unlink+0x45/0x50 fs/namei.c:4366 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb99a08c0c9 RSP: 002b:00007fb99ae9a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007fb99a1ac050 RCX: 00007fb99a08c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007fb99a0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7db1213f R14: 00007fb99ae9a300 R15: 0000000000022000 INFO: task syz-executor.0:17162 blocked for more than 145 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24792 pid:17162 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write_nested+0x23f/0x280 kernel/locking/rwsem.c:1673 inode_lock_nested include/linux/fs.h:791 [inline] filename_create+0x22a/0x4f0 fs/namei.c:3807 do_mknodat+0x182/0x740 fs/namei.c:3952 __do_sys_mknod fs/namei.c:3998 [inline] __se_sys_mknod fs/namei.c:3996 [inline] __x64_sys_mknod+0x8a/0xa0 fs/namei.c:3996 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb99a08c0c9 RSP: 002b:00007fb99ae79168 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007fb99a1ac120 RCX: 00007fb99a08c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007fb99a0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7db1213f R14: 00007fb99ae79300 R15: 0000000000022000 INFO: task syz-executor.0:17163 blocked for more than 146 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24664 pid:17163 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] open_last_lookups fs/namei.c:3478 [inline] path_openat+0x7b9/0x2dd0 fs/namei.c:3711 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1330 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb99a08c0c9 RSP: 002b:00007fb99ae58168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fb99a1ac1f0 RCX: 00007fb99a08c0c9 RDX: 0000000000000000 RSI: 000000000014d27e RDI: 0000000020000180 RBP: 00007fb99a0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7db1213f R14: 00007fb99ae58300 R15: 0000000000022000 INFO: task syz-executor.0:17166 blocked for more than 147 seconds. Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24664 pid:17166 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] open_last_lookups fs/namei.c:3478 [inline] path_openat+0x7b9/0x2dd0 fs/namei.c:3711 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb99a08c0c9 RSP: 002b:00007fb99ae37168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb99a1ac2c0 RCX: 00007fb99a08c0c9 RDX: 000000000000275a RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007fb99a0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd7db1213f R14: 00007fb99ae37300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326f50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327750 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326d80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/32: 2 locks held by getty/4744: #0: ffff88814a4ef098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.1/5103: #0: ffff88801e4560e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 #1: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.4/5106: #0: ffff888030f820e0 (&type->s_umount_key#52){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 2 locks held by kworker/0:10/5332: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90004d6fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:15/5337: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90004effd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/1:11/5806: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009b1fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:35/9116: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900096f7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/1:39/9128: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009bbfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 4 locks held by syz-executor.0/17154: #0: ffff88801d7a4460 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888073174640 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888073174640 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807 #2: ffff88801cbf8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c3/0x1700 #3: ffff888073172638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline] #3: ffff888073172638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2b8/0x1f80 fs/jfs/jfs_imap.c:1662 3 locks held by syz-executor.0/17161: #0: ffff88801d7a4460 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888073172140 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: do_unlinkat+0x23d/0x930 fs/namei.c:4303 #2: ffff888073172638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diRead+0x11f/0xac0 fs/jfs/jfs_imap.c:313 2 locks held by syz-executor.0/17162: #0: ffff88801d7a4460 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888073172140 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807 2 locks held by syz-executor.0/17163: #0: ffff88801d7a4460 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3478 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: path_openat+0x7b9/0x2dd0 fs/namei.c:3711 2 locks held by syz-executor.0/17166: #0: ffff88801d7a4460 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3478 [inline] #1: ffff888073172140 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: path_openat+0x7b9/0x2dd0 fs/namei.c:3711 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5332 Comm: kworker/0:10 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events free_obj_work RIP: 0010:preempt_latency_start kernel/sched/core.c:5688 [inline] RIP: 0010:preempt_count_add+0xb7/0x180 kernel/sched/core.c:5711 Code: 85 c0 74 0a 45 31 f6 31 ff e8 05 ab 0d 00 65 48 8b 1c 25 40 98 03 00 48 81 c3 28 14 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 bf aa 82 00 4c 89 33 5b 41 5e 41 5f c3 e8 11 40 RSP: 0018:ffffc90004d6f580 EFLAGS: 00000246 RAX: 1ffff11006efb285 RBX: ffff8880377d9428 RCX: ffffffff8abb0000 RDX: dffffc0000000000 RSI: ffffffff817985b4 RDI: ffffffff813d1143 RBP: 1ffff920009aded0 R08: 0000000000000000 R09: ffffc90004d6f750 R10: fffff520009adedc R11: 1ffff920009adeda R12: ffffc90004d6f6b8 R13: ffffc90004d6f6c8 R14: ffffffff813d1143 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00f6c0000 CR3: 000000002d66a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xc3/0x24c0 arch/x86/kernel/unwind_orc.c:452 arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x3d/0x60 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:518 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] kmem_cache_free+0x94/0x1d0 mm/slub.c:3809 free_obj_work+0x4a8/0x620 lib/debugobjects.c:335 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308