INFO: task jfsCommit:113 blocked for more than 144 seconds.
Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jfsCommit state:D stack:26224 pid:113 tgid:113 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
io_schedule+0x8d/0x110 kernel/sched/core.c:7681
__lock_metapage fs/jfs/jfs_metapage.c:51 [inline]
lock_metapage+0x26a/0x450 fs/jfs/jfs_metapage.c:65
__get_metapage+0x57c/0xdc0 fs/jfs/jfs_metapage.c:640
diIAGRead+0xcb/0x140 fs/jfs/jfs_imap.c:2672
diFree+0xa7e/0x2fb0 fs/jfs/jfs_imap.c:959
jfs_evict_inode+0x32d/0x440 fs/jfs/inode.c:156
evict+0x4ea/0x9a0 fs/inode.c:796
txUpdateMap+0x931/0xb10 fs/jfs/jfs_txnmgr.c:2367
txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline]
jfs_lazycommit+0x49a/0xb80 fs/jfs/jfs_txnmgr.c:2733
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
3 locks held by kworker/u8:0/11:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc90000107d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000107d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fcb2b88 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
2 locks held by jfsCommit/113:
#0: ffff888073ed8920 (&(imap->im_aglock[index])){+.+.}-{4:4}, at: diFree+0x37c/0x2fb0 fs/jfs/jfs_imap.c:889
#1: ffff8880540c41c0 (&jfs_ip->rdwrlock/1){.+.+}-{4:4}, at: diFree+0x398/0x2fb0 fs/jfs/jfs_imap.c:894
3 locks held by kworker/u8:7/2989:
1 lock held by udevd/5199:
2 locks held by getty/5583:
#0: ffff8880342e80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900033132f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by udevd/5830:
1 lock held by syz-executor/6194:
#0: ffff8880245f60e0 (&type->s_umount_key#95){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880245f60e0 (&type->s_umount_key#95){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880245f60e0 (&type->s_umount_key#95){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
1 lock held by syz-executor/9961:
#0: ffff88806c5640e0 (&type->s_umount_key#95){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88806c5640e0 (&type->s_umount_key#95){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88806c5640e0 (&type->s_umount_key#95){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
1 lock held by syz.7.1019/11181:
#0: ffff8880245f60e0 (&type->s_umount_key#95){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880245f60e0 (&type->s_umount_key#95){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120
7 locks held by syz-executor/11188:
#0: ffff88807c506420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline]
#0: ffff88807c506420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675
#1: ffff888072406088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325
#2: ffff88814475cd28 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f55e828 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
#4: ffff888057c680e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff888057c680e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff888057c680e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293
#5: ffff888057c69250 (&devlink->lock_key#4){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675
#6: ffffffff8fcb2b88 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:816
2 locks held by syz.8.1025/11251:
#0: ffff8880281fa0e0 (&type->s_umount_key#51/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e7e3168 (wq_pool_mutex){+.+.}-{4:4}, at: apply_wqattrs_lock kernel/workqueue.c:5166 [inline]
#1: ffffffff8e7e3168 (wq_pool_mutex){+.+.}-{4:4}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5720
3 locks held by syz.5.1026/11274:
#0: ffff8880123260a0 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline]
#0: ffff8880123260a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:335 [inline]
#0: ffff8880123260a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline]
#0: ffff8880123260a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x5c/0x200 drivers/tty/tty_ldisc.c:780
#1: ffff8880123270a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:295 [inline]
#1: ffff8880123270a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:337 [inline]
#1: ffff8880123270a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline]
#1: ffff8880123270a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0x80/0x200 drivers/tty/tty_ldisc.c:780
#2: ffff888021aa50b0 (&gsm->mutex){+.+.}-{4:4}, at: gsm_cleanup_mux+0xbc/0x9a0 drivers/tty/n_gsm.c:3130
1 lock held by rm/11282:
1 lock held by syz.3.1027/11286:
#0: ffffffff8fcb2b88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb2b88 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6928
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11282 Comm: rm Not tainted 6.13.0-rc3-syzkaller-00209-g499551201b5f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__schedule+0xc1/0x4c30 kernel/sched/core.c:6652
Code: f3 f3 f3 48 89 8c 24 f8 00 00 00 4a 89 44 31 10 ba 10 00 00 00 4c 89 e7 31 f6 e8 ba 6e 3c f6 e8 b5 4e ff ff 48 63 d8 83 fb 08 <0f> 83 28 1f 00 00 48 8d 1c dd 50 5b 2e 8e 48 89 d8 48 c1 e8 03 42
RSP: 0018:ffffc900044574e0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000010 RSI: ffffffff8c5faec0 RDI: ffffffff8c5fae80
RBP: ffffc900044576f0 R08: ffffc9000445767f R09: ffffc90004457670
R10: dffffc0000000000 R11: fffff5200088aed0 R12: ffffc90004457670
R13: 1ffff9200088aee4 R14: dffffc0000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f56e83690a0 CR3: 0000000040fea000 CR4: 0000000000350ef0
Call Trace:
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_is_held_type+0x13b/0x190
Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f
RSP: 0018:ffffc90004457878 EFLAGS: 00000206
RAX: fd9153e5c94b4300 RBX: 0000000000000001 RCX: ffff888035103c00
RDX: 0000000000000000 RSI: ffffffff8c0aa960 RDI: ffffffff8c5faee0
RBP: 0000000000000000 R08: ffffffff8bc0c4fd R09: fffffbfff34fab64
R10: dffffc0000000000 R11: fffffbfff34fab64 R12: 0000000000000246
R13: ffff888035103c00 R14: 00000000ffffffff R15: ffff888029d81560
lock_is_held include/linux/lockdep.h:249 [inline]
mt_locked lib/maple_tree.c:796 [inline]
mt_slot lib/maple_tree.c:803 [inline]
mas_slot lib/maple_tree.c:836 [inline]
mas_validate_parent_slot lib/maple_tree.c:7414 [inline]
mt_validate+0x93a/0x4ac0 lib/maple_tree.c:7604
validate_mm+0xf1/0x590 mm/vma.c:584
mmap_region+0x1ea/0x2c0 mm/mmap.c:1354
do_mmap+0x8f0/0x1000 mm/mmap.c:496
vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:580
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f56e8603b74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffd8c495a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffd8c495b48 RCX: 00007f56e8603b74
RDX: 0000000000000003 RSI: 0000000000001888 RDI: 00007f56e836a000
RBP: 00007ffd8c495e70 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000000032 R11: 0000000000000246 R12: 00007f56e85e0ac0
R13: 00007ffd8c495ef8 R14: 00007f56e836b888 R15: 00007f56e836a000