INFO: task syz-executor.2:6994 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.2 state:D
stack:21864 pid:6994 ppid:5103 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_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0x6a/0x80 fs/namei.c:4079
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:0x7f5c9768c0c9
RSP: 002b:00007f5c983ae168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f5c977abf80 RCX: 00007f5c9768c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 00007f5c976e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffda71cbdbf R14: 00007f5c983ae300 R15: 0000000000022000
INFO: task syz-executor.2:7021 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.2 state:D stack:25008 pid:7021 ppid:5103 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_mkdirat+0xb5/0x530 fs/namei.c:4051
__do_sys_mkdir fs/namei.c:4081 [inline]
__se_sys_mkdir fs/namei.c:4079 [inline]
__x64_sys_mkdir+0x6a/0x80 fs/namei.c:4079
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:0x7f5c9768c0c9
RSP: 002b:00007f5c9838d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f5c977ac050 RCX: 00007f5c9768c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007f5c976e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffda71cbdbf R14: 00007f5c9838d300 R15: 0000000000022000
INFO: task syz-executor.2:7029 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.2 state:D stack:24248 pid:7029 ppid:5103 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:0x7f5c9768c0c9
RSP: 002b:00007f5c9836c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007f5c977ac120 RCX: 00007f5c9768c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007f5c976e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffda71cbdbf R14: 00007f5c9836c300 R15: 0000000000022000
INFO: task syz-executor.2:7040 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.2 state:D stack:23664 pid:7040 ppid:5103 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:0x7f5c9768c0c9
RSP: 002b:00007f5c9834b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f5c977ac1f0 RCX: 00007f5c9768c0c9
RDX: 0000000000000000 RSI: 000000000014d27e RDI: 0000000020000180
RBP: 00007f5c976e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffda71cbdbf R14: 00007f5c9834b300 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
4 locks held by kworker/u4:2/33:
#0:
ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
#1: ffff8880b9827748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x611/0x9a0 kernel/sched/psi.c:976
#2: ffff8880b9828558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999
#3: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: rcu_preempt_deferred_qs_irqrestore+0x266/0xc10 kernel/rcu/tree_plugin.h:516
2 locks held by getty/4744:
#0: ffff88814a423098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
4 locks held by syz-executor.2/6994:
#0: ffff88802ffbe460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
#2: ffff888032f80920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c3/0x1700
#3: ffff8880355441f8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff8880355441f8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2b8/0x1f80 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.2/7021:
#0: ffff88802ffbe460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
2 locks held by syz-executor.2/7029:
#0: ffff88802ffbe460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888072fb8580 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
2 locks held by syz-executor.2/7040:
#0: ffff88802ffbe460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888072fb8580 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888072fb8580 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: open_last_lookups fs/namei.c:3478 [inline]
#1: ffff888072fb8580 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: path_openat+0x7b9/0x2dd0 fs/namei.c:3711
4 locks held by syz-executor.0/7137:
#0: ffff88801d6ce460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888035542a80 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888035542a80 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
#2: ffff88801d770920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c3/0x1700
#3: ffff888035541cf8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff888035541cf8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2b8/0x1f80 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.0/7163:
#0: ffff88801d6ce460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888035542a80 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888035542a80 (&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/7164:
#0: ffff88801d6ce460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888035542a80 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888035542a80 (&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/7165:
#0: ffff88801d6ce460 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888035542a80 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888035542a80 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: open_last_lookups fs/namei.c:3478 [inline]
#1: ffff888035542a80 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: path_openat+0x7b9/0x2dd0 fs/namei.c:3711
=============================================
NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5113 Comm: syz-executor.5 Not tainted 6.2.0-rc3-syzkaller-00021-g7dd4b804e080 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:arch_atomic_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:1245 [inline]
RIP: 0010:arch_atomic_add_unless include/linux/atomic/atomic-arch-fallback.h:1267 [inline]
RIP: 0010:atomic_add_unless include/linux/atomic/atomic-instrumented.h:608 [inline]
RIP: 0010:page_ref_add_unless include/linux/page_ref.h:238 [inline]
RIP: 0010:folio_ref_add_unless include/linux/page_ref.h:247 [inline]
RIP: 0010:folio_ref_try_add_rcu include/linux/page_ref.h:280 [inline]
RIP: 0010:folio_try_get_rcu include/linux/page_ref.h:313 [inline]
RIP: 0010:find_get_entry mm/filemap.c:2018 [inline]
RIP: 0010:find_lock_entries+0x287/0x1310 mm/filemap.c:2105
Code: 7e 34 4c 89 ff be 04 00 00 00 e8 94 c8 27 00 4c 89 f8 48 c1 e8 03 48 89 44 24 30 42 8a 04 20 84 c0 0f 85 b3 06 00 00 41 8b 1f <31> ff 89 de e8 50 21 d2 ff 85 db 0f 84 2d 06 00 00 8d 4b 01 31 f6
RSP: 0018:ffffc90003eff6c0 EFLAGS: 00000246
RAX: 1ffffd400027bf00 RBX: 0000000000000001 RCX: ffffffff81b9be0c
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea00013dfbb4
RBP: ffffc90003eff830 R08: dffffc0000000000 R09: fffff9400027bf77
R10: fffff9400027bf77 R11: 1ffffd400027bf76 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffea00013dfb80 R15: ffffea00013dfbb4
FS: 0000555556c0c400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f396aa51b68 CR3: 000000002df14000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
shmem_undo_range+0x2a2/0x1fe0 mm/shmem.c:931
shmem_truncate_range mm/shmem.c:1044 [inline]
shmem_evict_inode+0x276/0xa10 mm/shmem.c:1153
evict+0x2a4/0x620 fs/inode.c:664
__dentry_kill+0x3b1/0x5b0 fs/dcache.c:607
dentry_kill+0xbb/0x290
dput+0x1f3/0x410 fs/dcache.c:913
__fput+0x5e4/0x880 fs/file_table.c:328
task_work_run+0x243/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f23d448beb7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 c4 57 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdeb476438 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007ffdeb4764c0 RCX: 00007f23d448beb7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffdeb4762d0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000555556c0d810
R13: 0000555556c0d86b R14: 0000000000000001 R15: 00007ffdeb476500