INFO: task jfsCommit:114 blocked for more than 144 seconds. Not tainted 6.14.0-rc3-next-20250218-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:25792 pid:114 tgid:114 ppid:2 task_flags:0x200040 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5373 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6760 __schedule_loop kernel/sched/core.c:6837 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6852 io_schedule+0x8d/0x110 kernel/sched/core.c:7687 __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+0x4e8/0x9a0 fs/inode.c:806 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+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK> Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 2 locks held by jfsCommit/114: #0: ffff888028498920 (&(imap->im_aglock[index])){+.+.}-{4:4}, at: diFree+0x37c/0x2fb0 fs/jfs/jfs_imap.c:889 #1: ffff888051863888 (&jfs_ip->rdwrlock/1){.+.+}-{4:4}, at: diFree+0x398/0x2fb0 fs/jfs/jfs_imap.c:894 2 locks held by getty/5586: #0: ffff88814d73c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211 7 locks held by kworker/0:4/5883: #0: ffff888144acfd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888144acfd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90004987c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90004987c60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff888028f98190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #2: ffff888028f98190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5861 #3: ffff888021ad5190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #3: ffff888021ad5190 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x103/0x950 drivers/usb/core/hub.c:2307 #4: ffff88805ec8f160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline] #4: ffff88805ec8f160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88805ec8f160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffffffff8f973908 (input_mutex){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:201 [inline] #5: ffffffff8f973908 (input_mutex){+.+.}-{4:4}, at: __input_unregister_device+0x2f3/0x620 drivers/input/input.c:2221 #6: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #6: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x820 kernel/rcu/tree_exp.h:998 1 lock held by syz.6.1093/11005: #0: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:998 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc3-next-20250218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: <TASK> __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:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK> Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 11022 Comm: syz.6.1093 Not tainted 6.14.0-rc3-next-20250218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:vsnprintf+0x0/0x1220 lib/vsprintf.c:2761 Code: b8 f5 b8 f0 ff ff ff 5b 41 5e 5d c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 RSP: 0018:ffffc900156fea98 EFLAGS: 00000246 RAX: ffffc900156feab0 RBX: 1ffff92002adfd5c RCX: ffffc900156feb00 RDX: ffffffff8c2b60e0 RSI: 000000007fffffff RDI: ffffc900156fece0 RBP: ffffc900156feb90 R08: ffffc900156feb17 R09: 0000000000000000 R10: ffffc900156feb00 R11: fffff52002adfd63 R12: ffffc900156fece0 R13: dffffc0000000000 R14: ffffffff8c2b60e0 R15: ffffc900156feb00 FS: 00007f3d0a9fa6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000400000003480 CR3: 000000002eea4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <TASK> sprintf+0xda/0x120 lib/vsprintf.c:3006 print_time kernel/printk/printk.c:1381 [inline] info_print_prefix+0x16b/0x310 kernel/printk/printk.c:1407 record_print_text+0x14a/0x440 kernel/printk/printk.c:1456 printk_get_next_message+0x657/0x8b0 kernel/printk/printk.c:3008 console_emit_next_record kernel/printk/printk.c:3076 [inline] console_flush_all+0x569/0xeb0 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3309 vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2432 _printk+0xd5/0x120 kernel/printk/printk.c:2457 hashlimit_mt_check_common+0x596/0xa40 net/netfilter/xt_hashlimit.c:854 hashlimit_mt_check_v1+0x2ea/0x540 net/netfilter/xt_hashlimit.c:928 xt_check_match+0x368/0xa40 net/netfilter/x_tables.c:523 check_match net/ipv6/netfilter/ip6_tables.c:488 [inline] find_check_match net/ipv6/netfilter/ip6_tables.c:505 [inline] find_check_entry net/ipv6/netfilter/ip6_tables.c:556 [inline] translate_table+0x1704/0x2490 net/ipv6/netfilter/ip6_tables.c:733 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0xe4c/0x1270 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 rawv6_setsockopt+0x2b6/0x6a0 net/ipv6/raw.c:1055 do_sock_setsockopt+0x3af/0x720 net/socket.c:2303 __sys_setsockopt net/socket.c:2328 [inline] __do_sys_setsockopt net/socket.c:2334 [inline] __se_sys_setsockopt net/socket.c:2331 [inline] __x64_sys_setsockopt+0x1ee/0x280 net/socket.c:2331 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:0x7f3d09b8d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3d0a9fa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f3d09da6080 RCX: 00007f3d09b8d169 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000007 RBP: 00007f3d09c0e2a0 R08: 00000000000004c0 R09: 0000000000000000 R10: 00004000000004c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3d09da6080 R15: 00007fffe1377568 </TASK>