INFO: task jfsCommit:105 blocked for more than 143 seconds.
Not tainted 6.2.0-next-20230303-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jfsCommit state:D stack:27568 pid:105 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5305 [inline]
__schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623
schedule+0xde/0x1a0 kernel/sched/core.c:6699
io_schedule+0xbe/0x130 kernel/sched/core.c:8885
__lock_metapage fs/jfs/jfs_metapage.c:50 [inline]
lock_metapage+0x235/0x4d0 fs/jfs/jfs_metapage.c:64
__get_metapage+0x3f4/0x1170 fs/jfs/jfs_metapage.c:639
diIAGRead.isra.0+0xcd/0x140 fs/jfs/jfs_imap.c:2662
diFree+0xa12/0x26b0 fs/jfs/jfs_imap.c:955
jfs_evict_inode+0x3de/0x4c0 fs/jfs/inode.c:156
evict+0x2ed/0x6b0 fs/inode.c:665
iput_final fs/inode.c:1748 [inline]
iput fs/inode.c:1774 [inline]
iput+0x52b/0x8e0 fs/inode.c:1760
txUpdateMap+0xab1/0xcd0 fs/jfs/jfs_txnmgr.c:2362
txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline]
jfs_lazycommit+0x5d6/0xb10 fs/jfs/jfs_txnmgr.c:2727
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c7964f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c7961f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c797040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6495
2 locks held by jfsCommit/105:
#0: ffff888075810920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x28f/0x26b0 fs/jfs/jfs_imap.c:885
#1: ffff88807778a638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2ac/0x26b0 fs/jfs/jfs_imap.c:890
2 locks held by getty/4758:
#0: ffff88802c574098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
2 locks held by syz-executor624/5930:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-next-20230303-syzkaller #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+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x3a7/0x460 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+0xe94/0x11e0 kernel/hung_task.c:379
kthread+0x2e8/0x3a0 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: 5930 Comm: syz-executor624 Not tainted 6.2.0-next-20230303-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline]
RIP: 0010:kasan_check_range+0xe2/0x190 mm/kasan/generic.c:187
Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c
RSP: 0018:ffffc90004ba76a0 EFLAGS: 00000046
RAX: fffff94000382bd8 RBX: fffff94000382bd9 RCX: ffffffff81b3c04b
RDX: fffff94000382bd9 RSI: 0000000000000008 RDI: ffffea0001c15ec0
RBP: fffff94000382bd8 R08: 0000000000000001 R09: ffffea0001c15ec7
R10: fffff94000382bd8 R11: 0000000000000000 R12: ffff888016692000
R13: 00fff40000080016 R14: ffffc90004ba7728 R15: 00fff00000080016
FS: 00005555571e4300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1d2c6f1f00 CR3: 0000000072f2f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_write include/linux/instrumented.h:87 [inline]
lru_gen_del_folio.constprop.0+0x23b/0xa70 include/linux/mm_inline.h:279
lruvec_del_folio include/linux/mm_inline.h:351 [inline]
release_pages+0x7c4/0x1380 mm/swap.c:1020
__pagevec_release+0x77/0xe0 mm/swap.c:1062
pagevec_release include/linux/pagevec.h:63 [inline]
folio_batch_release include/linux/pagevec.h:132 [inline]
shmem_undo_range+0x595/0x1340 mm/shmem.c:949
shmem_truncate_range mm/shmem.c:1044 [inline]
shmem_evict_inode+0x32f/0xb60 mm/shmem.c:1159
evict+0x2ed/0x6b0 fs/inode.c:665
iput_final fs/inode.c:1748 [inline]
iput fs/inode.c:1774 [inline]
iput+0x52b/0x8e0 fs/inode.c:1760
dentry_unlink_inode+0x2b1/0x460 fs/dcache.c:401
__dentry_kill+0x3c0/0x640 fs/dcache.c:607
dentry_kill fs/dcache.c:733 [inline]
dput+0x865/0xe10 fs/dcache.c:913
__fput+0x3cc/0xa90 fs/file_table.c:329
task_work_run+0x16f/0x270 kernel/task_work.c:179
ptrace_notify+0x118/0x140 kernel/signal.c:2354
ptrace_report_syscall include/linux/ptrace.h:411 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
syscall_exit_work kernel/entry/common.c:251 [inline]
syscall_exit_to_user_mode_prepare+0x129/0x290 kernel/entry/common.c:278
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0xd/0x50 kernel/entry/common.c:296
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1d2c67a1a3
Code: c7 c2 c0 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb ba 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8
RSP: 002b:00007ffe3c883888 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f1d2c67a1a3
RDX: 0000000000000010 RSI: 0000000000004c00 RDI: 0000000000000003
RBP: 00007ffe3c8838a0 R08: 0000000000005ea8 R09: 0000000000005ea4
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00005555571e42c0 R14: 000000000020c082 R15: 00007ffe3c8838e0
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.611 msecs