INFO: task syz-executor.1:26698 blocked for more than 143 seconds.
Not tainted 6.3.0-rc5-syzkaller-00005-g148341f0a2f5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:24864 pid:26698 ppid:5103 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:0x7f6e5bc8c0f9
RSP: 002b:00007f6e5ca1b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f6e5bdabf80 RCX: 00007f6e5bc8c0f9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000020000000
RBP: 00007f6e5bce7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd0394c6af R14: 00007f6e5ca1b300 R15: 0000000000022000
INFO: task syz-executor.1:26717 blocked for more than 144 seconds.
Not tainted 6.3.0-rc5-syzkaller-00005-g148341f0a2f5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:28176 pid:26717 ppid:5103 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
inode_lock_nested include/linux/fs.h:793 [inline]
filename_create+0x25a/0x530 fs/namei.c:3808
do_mkdirat+0xb7/0x520 fs/namei.c:4053
__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:0x7f6e5bc8c0f9
RSP: 002b:00007f6e5c9fa168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f6e5bdac050 RCX: 00007f6e5bc8c0f9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000020000040
RBP: 00007f6e5bce7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd0394c6af R14: 00007f6e5c9fa300 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/4750:
#0: ffff8880279c5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.0/5099:
#0: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#0: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:989
3 locks held by syz-executor.4/5105:
1 lock held by syz-executor.5/5111:
#0: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8cf2a838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:989
2 locks held by kworker/u4:7/5216:
2 locks held by kworker/0:18/6938:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc90015f37d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
4 locks held by syz-executor.1/26698:
#0: ffff888029c74460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88803b0d9800 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff88803b0d9800 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff88802b0e0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff88803b0df038 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff88803b0df038 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.1/26717:
#0: ffff888029c74460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88803b0d9800 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff88803b0d9800 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
4 locks held by syz-executor.2/26812:
#0: ffff88807da6c460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88803fe93d00 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff88803fe93d00 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff88807a1f8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff88803fe97038 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff88803fe97038 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.2/26816:
#0: ffff88807da6c460 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88803fe93d00 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff88803fe93d00 (&type->i_mutex_dir_key#18/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
3 locks held by syz-executor.1/26818:
2 locks held by syz-executor.4/27448:
2 locks held by syz-executor.3/27452:
3 locks held by syz-executor.2/27453:
#0: ffff88802b3a0460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888033ec7258 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff888033ec7258 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff8880b9936b58 (lock#4){+.+.}-{2:2}, at: local_lock_acquire+0xd/0x170 include/linux/local_lock_internal.h:28
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc5-syzkaller-00005-g148341f0a2f5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4414 Comm: syslogd Not tainted 6.3.0-rc5-syzkaller-00005-g148341f0a2f5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:236 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x17/0x80 kernel/kcov.c:311
Code: 44 0a 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 4c 8b 04 24 65 48 8b 0d b0 5d 79 7e 65 8b 05 b1 5d 79 7e 00 01 ff 00 74 10 a9 00 01 00 00 74 57 83 b9 74 15 00 00 00 74
RSP: 0018:ffffc90004337cb8 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffff88807ed11d40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004337e30 R08: ffffffff81ef103d R09: ffffed100fdac8fa
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000004f
R13: 1ffff92000866fa4 R14: ffff888082377248 R15: dffffc0000000000
FS: 00007fb3b9019800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa61b271000 CR3: 000000002a9a2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
fsnotify_parent include/linux/fsnotify.h:62 [inline]
fsnotify_file include/linux/fsnotify.h:99 [inline]
fsnotify_modify include/linux/fsnotify.h:317 [inline]
vfs_write+0x3dd/0xbb0 fs/read_write.c:588
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
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:0x7fb3b91a59a3
Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007ffd03015c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fb3b91a59a3
RDX: 000000000000004f RSI: 0000560e91a62c50 RDI: 0000000000000003
RBP: 0000560e91a62c50 R08: 00007fb3b9235040 R09: 00007fb3b92350c0
R10: 00007fb3b9234fc0 R11: 0000000000000246 R12: 000000000000004f
R13: 00007fb3b9019788 R14: 0000000000000004 R15: 0000560e91a62a60