INFO: task syz-executor.4:16174 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:24584 pid:16174 ppid:5031 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
io_schedule+0x8c/0x100 kernel/sched/core.c:8979
__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:4115
do_mkdirat+0x264/0x520 fs/namei.c:4138
__do_sys_mkdirat fs/namei.c:4153 [inline]
__se_sys_mkdirat fs/namei.c:4151 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4151
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:0x7f5a6b48c169
RSP: 002b:00007f5a6c267168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f5a6b5abf80 RCX: 00007f5a6b48c169
RDX: 00000000000001ff RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f5a6b4e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec28dfd2f R14: 00007f5a6c267300 R15: 0000000000022000
INFO: task syz-executor.4:16195 blocked for more than 144 seconds.
Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28280 pid:16195 ppid:5031 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common+0x61/0x2c0 kernel/locking/rwsem.c:1250
inode_lock_shared include/linux/fs.h:785 [inline]
open_last_lookups fs/namei.c:3559 [inline]
path_openat+0x7ab/0x3170 fs/namei.c:3788
do_filp_open+0x234/0x490 fs/namei.c:3818
do_sys_openat2+0x13f/0x500 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_open fs/open.c:1380 [inline]
__se_sys_open fs/open.c:1376 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1376
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:0x7f5a6b48c169
RSP: 002b:00007f5a6c246168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f5a6b5ac050 RCX: 00007f5a6b48c169
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000020000100
RBP: 00007f5a6b4e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec28dfd2f R14: 00007f5a6c246300 R15: 0000000000022000
INFO: task syz-executor.4:16196 blocked for more than 145 seconds.
Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27992 pid:16196 ppid:5031 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:775 [inline]
open_last_lookups fs/namei.c:3557 [inline]
path_openat+0x7ba/0x3170 fs/namei.c:3788
do_filp_open+0x234/0x490 fs/namei.c:3818
do_sys_openat2+0x13f/0x500 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_creat fs/open.c:1448 [inline]
__se_sys_creat fs/open.c:1442 [inline]
__x64_sys_creat+0x123/0x160 fs/open.c:1442
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:0x7f5a6b48c169
RSP: 002b:00007f5a6c225168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f5a6b5ac120 RCX: 00007f5a6b48c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f5a6b4e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec28dfd2f R14: 00007f5a6c225300 R15: 0000000000022000
INFO: task syz-executor.4:16198 blocked for more than 146 seconds.
Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27992 pid:16198 ppid:5031 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:775 [inline]
open_last_lookups fs/namei.c:3557 [inline]
path_openat+0x7ba/0x3170 fs/namei.c:3788
do_filp_open+0x234/0x490 fs/namei.c:3818
do_sys_openat2+0x13f/0x500 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_creat fs/open.c:1448 [inline]
__se_sys_creat fs/open.c:1442 [inline]
__x64_sys_creat+0x123/0x160 fs/open.c:1442
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:0x7f5a6b48c169
RSP: 002b:00007f5a6c204168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f5a6b5ac1f0 RCX: 00007f5a6b48c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f5a6b4e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec28dfd2f R14: 00007f5a6c204300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:3/46:
#0: ffff8880b993c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996
#2: ffff8880b99295d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999
2 locks held by kworker/u4:5/1027:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996
2 locks held by getty/4744:
#0: ffff888028b37098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1:
ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
1 lock held by syz-executor.0/5030:
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:5/5092:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc90004c3fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
3 locks held by kworker/1:14/6126:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc9000dbefd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992
4 locks held by syz-executor.4/16174:
#0: ffff888032008460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888038df8580 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884
#2: ffff88807e9b0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff888038dfc1f8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff888038dfc1f8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.4/16195:
#0: ffff888032008460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3559 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ab/0x3170 fs/namei.c:3788
2 locks held by syz-executor.4/16196:
#0: ffff888032008460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788
2 locks held by syz-executor.4/16198:
#0: ffff888032008460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline]
#1: ffff888038df8580 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788
4 locks held by syz-executor.3/16349:
#0: ffff88802c9ba460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3884
#2: ffff888034a48920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff88801ff50138 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff88801ff50138 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.3/16376:
#0: ffff88802c9ba460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:785 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3559 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ab/0x3170 fs/namei.c:3788
2 locks held by syz-executor.3/16380:
#0: ffff88802c9ba460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788
2 locks held by syz-executor.3/16384:
#0: ffff88802c9ba460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline]
#1: ffff88801ff533c0 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3788
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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+0x2b8/0x350 kernel/kthread.c:379
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: 46 Comm: kworker/u4:3 Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_acquire+0xc4c/0x2000 kernel/locking/lockdep.c:5044
Code: 89 d8 48 c1 e8 06 48 8d 3c c5 60 72 32 90 be 08 00 00 00 e8 d6 27 78 00 48 bf 00 00 00 00 00 fc ff df 48 0f a3 1d 44 63 c7 0e <0f> 83 27 09 00 00 49 8d 9c 24 b8 0a 00 00 48 89 d8 48 c1 e8 03 48
RSP: 0018:ffffc90000b77998 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 000000000000001f RCX: ffffffff816b0f0a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000
RBP: ffff888015adc698 R08: dffffc0000000000 R09: fffffbfff2064e4d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888015adbb80
R13: 1ffff11002b5b8c5 R14: 0000000000000002 R15: ffff888015adc6b8
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00789d000 CR3: 00000000303df000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691
rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327
rcu_read_lock include/linux/rcupdate.h:773 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xc5/0x5c0 net/batman-adv/network-coding.c:719
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308