INFO: task syz-executor:3648 blocked for more than 143 seconds. Not tainted 6.1.112-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19800 pid:3648 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 jfs_umount+0x298/0x370 fs/jfs/jfs_umount.c:116 jfs_put_super+0x86/0x180 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1470 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6ee177f327 RSP: 002b:00007ffc6ee3f0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f6ee17f0134 RCX: 00007f6ee177f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc6ee3f1b0 RBP: 00007ffc6ee3f1b0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc6ee40230 R13: 00007f6ee17f0134 R14: 000000000002f479 R15: 00007ffc6ee40270 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by kworker/u4:3/46: 2 locks held by kworker/u4:4/63: 4 locks held by kworker/0:2/945: #0: ffff888143ee1538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900045efd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888027a08190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888027a08190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5801 #3: ffff88801fb2c190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff88801fb2c190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xfa/0x8c0 drivers/usb/core/hub.c:2266 2 locks held by getty/3399: #0: ffff88814ba33098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 2 locks held by syz-executor/3646: #0: ffff8880641460e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d713068 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/3648: #0: ffff88806804c0e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d713068 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by kworker/0:6/3695: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90003fdfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 2 locks held by kworker/0:7/3706: 5 locks held by kworker/1:15/4665: #0: ffff888143ee1538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900053afd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8881453e0190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff8881453e0190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5801 #3: ffff888078956190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff888078956190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #4: ffff888078955118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff888078955118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 1 lock held by syz.3.1536/8210: #0: ffff8880641460e0 (&type->s_umount_key#69){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 2 locks held by syz.0.1680/8613: #0: ffff8880785740e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffffffff8d713068 (jfs_log_mutex){+.+.}-{3:3}, at: open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] #1: ffffffff8d713068 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogOpen+0x1a6/0x1030 fs/jfs/jfs_logmgr.c:1066 1 lock held by syz.2.1706/8672: #0: ffff8880641460e0 (&type->s_umount_key#69){++++}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:889 1 lock held by syz.3.1769/8838: #0: ffff88806804c0e0 (&type->s_umount_key#69){++++}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:889 1 lock held by syz.2.2011/9425: #0: ffff8880641460e0 (&type->s_umount_key#69){++++}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:889 1 lock held by syz.0.2163/9775: #0: ffff8880785740e0 (&type->s_umount_key#69){++++}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:889 1 lock held by syz.4.2307/10260: #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3912 Comm: kworker/1:13 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:lock_acquire+0x1ef/0x5a0 kernel/locking/lockdep.c:5662 Code: 31 c9 41 f7 c7 00 02 00 00 41 0f 94 c1 48 8b 7c 24 20 44 89 f6 8b 54 24 1c 48 8b 4c 24 30 4c 8b 44 24 38 6a 00 6a 00 ff 75 10 74 24 40 e8 e8 04 00 00 48 83 c4 20 48 c7 c7 c0 14 0c 8b e8 c8 RSP: 0018:ffffc90004f178a8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffc90004f17920 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802ba41318 RBP: ffffc90004f17a08 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920009e2f20 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9c68a00111 CR3: 000000002eef3000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] read_mems_allowed_begin include/linux/cpuset.h:153 [inline] get_any_partial mm/slub.c:2287 [inline] get_partial mm/slub.c:2329 [inline] ___slab_alloc+0xb89/0x1270 mm/slub.c:3175 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] kmem_cache_alloc_node+0x1cf/0x310 mm/slub.c:3443 __alloc_skb+0xde/0x670 net/core/skbuff.c:505 alloc_skb include/linux/skbuff.h:1271 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x24c/0xa90 drivers/net/netdevsim/dev.c:850 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295