INFO: task syz-executor.5:11735 blocked for more than 143 seconds.
Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:25224 pid:11735 ppid:5123 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_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4074
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:0x7f36da48c0f9
RSP: 002b:00007f36db14e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f36da5abf80 RCX: 00007f36da48c0f9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000005
RBP: 00007f36da4e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe144855ef R14: 00007f36db14e300 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/4752:
#0: ffff888149fb4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
3 locks held by syz-executor.3/5118:
1 lock held by syz-executor.0/5125:
#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
2 locks held by kworker/1:14/5688:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc900067b7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
4 locks held by syz-executor.5/11735:
#0: ffff888034636460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880776ff480 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff8880776ff480 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff888033b00920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff8880776f9cf8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff8880776f9cf8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
4 locks held by syz-executor.4/11815:
#0: ffff88807dbba460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff88803571bd00 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff88803571bd00 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff888031938920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x3c7/0x1720
#3: ffff88803571d478 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1910 [inline]
#3: ffff88803571d478 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2bd/0x1e50 fs/jfs/jfs_imap.c:1662
2 locks held by syz-executor.5/12754:
2 locks held by syz-executor.2/12758:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #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: 12769 Comm: syz-executor.4 Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:rcu_is_watching+0x44/0xb0 kernel/rcu/tree.c:694
Code: 73 76 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd a0 78 a1 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 8c d8 6c 00 <48> c7 c3 88 6a 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38
RSP: 0018:ffffc9000b2ef580 EFLAGS: 00000046
RAX: 1ffffffff1942f14 RBX: 0000000000000000 RCX: ffffffff8190ec7c
RDX: 0000000000000000 RSI: ffffffff8b37fe60 RDI: ffffffff8b37fe20
RBP: ffffc9000b2ef670 R08: dffffc0000000000 R09: fffffbfff1ca70e6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd40002739d0
R13: ffffea000139ce80 R14: ffffffff8ca178a0 R15: dffffc0000000000
FS: 00007f134a0d8700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13409fe000 CR3: 000000008d6b5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_irq_enable+0x3b/0xf0 include/trace/events/preemptirq.h:40
trace_hardirqs_on+0x18/0x40 kernel/trace/trace_preemptirq.c:56
charge_memcg+0x2a4/0x3f0 mm/memcontrol.c:6970
__mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:6981
mem_cgroup_charge include/linux/memcontrol.h:678 [inline]
shmem_add_to_page_cache+0xaaa/0x1ea0 mm/shmem.c:713
shmem_get_folio_gfp+0x1728/0x36b0 mm/shmem.c:1967
shmem_get_folio mm/shmem.c:2068 [inline]
shmem_write_begin+0x172/0x4f0 mm/shmem.c:2561
generic_perform_write+0x300/0x5e0 mm/filemap.c:3926
__generic_file_write_iter+0x17a/0x400 mm/filemap.c:4054
generic_file_write_iter+0xaf/0x310 mm/filemap.c:4086
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
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:0x7f134923de7f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007f134a0d7f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f134923de7f
RDX: 0000000001000000 RSI: 00007f133f9ff000 RDI: 0000000000000003
RBP: 00007f133f9ff000 R08: 0000000000000000 R09: 00000000000050e9
R10: 0000000001000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f134a0d7fdc R14: 00007f134a0d7fe0 R15: 000000002000a2c2