INFO: task syz-executor:5837 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-next-20241108-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20472 pid:5837 tgid:5837 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6753 __schedule_loop kernel/sched/core.c:6830 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6845 bit_wait+0x12/0xd0 kernel/sched/wait_bit.c:237 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:77 [inline] gfs2_glock_wait+0xc7/0x2b0 fs/gfs2/glock.c:1339 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] __gfs2_lookup+0x11b/0x280 fs/gfs2/inode.c:906 __lookup_slow+0x28c/0x3f0 fs/namei.c:1791 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 ksys_umount fs/namespace.c:2033 [inline] __do_sys_umount fs/namespace.c:2041 [inline] __se_sys_umount fs/namespace.c:2039 [inline] __x64_sys_umount+0xf1/0x170 fs/namespace.c:2039 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:0x7f69a8d7fa47 RSP: 002b:00007fff5e311f48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 00007f69a8df123c RCX: 00007f69a8d7fa47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff5e312000 RBP: 00007fff5e312000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff5e3130f0 R13: 00007f69a8df123c R14: 00005555738534a8 R15: 00007fff5e3152a0 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/u9:1/5139: #0: ffff88804b088148 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88804b088148 ((wq_completion)hci6){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc9000ddffd00 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000ddffd00 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff888035244d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_open net/bluetooth/hci_core.c:410 [inline] #2: ffff888035244d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_error_reset+0x15e/0x3f0 net/bluetooth/hci_core.c:1017 2 locks held by getty/5581: #0: ffff88803548a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5837: #0: ffff88805f240148 (&type->i_mutex_dir_key#22){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:827 [inline] #0: ffff88805f240148 (&type->i_mutex_dir_key#22){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 5 locks held by kworker/1:4/5870: #0: ffff88801da80d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801da80d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900042a7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900042a7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff88814478c190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88814478c190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88806537b190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88806537b190 (&dev->mutex){....}-{4:4}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1005 #4: ffff8880454d1160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff8880454d1160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1005 2 locks held by syz-executor/6716: #0: ffff88804ecc80e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804ecc80e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804ecc80e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed584a8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/7490: #0: ffff8880622f40e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880622f40e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880622f40e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 2 locks held by syz-executor/9019: #0: ffff8880355940e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880355940e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880355940e0 (&type->s_umount_key#88){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed584a8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 3 locks held by kworker/u8:10/9440: 4 locks held by kworker/u8:11/9675: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900042c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900042c7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc3650 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:587 #3: ffffffff8fcd01a8 (rtnl_mutex){+.+.}-{4:4}, at: mpls_net_exit+0x7d/0x2a0 net/mpls/af_mpls.c:2706 1 lock held by syz-executor/9875: 4 locks held by kvm-nx-lpage-re/9994: #0: ffffffff8e973e28 (cgroup_mutex){+.+.}-{4:4}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8e973e28 (cgroup_mutex){+.+.}-{4:4}, at: cgroup_attach_task_all+0x27/0xe0 kernel/cgroup/cgroup-v1.c:67 #1: ffffffff8e7d6470 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x11/0x40 kernel/cgroup/cgroup.c:2435 #2: ffffffff8e974010 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x31/0xe0 kernel/cgroup/cgroup-v1.c:68 #3: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by syz.1.635/10002: 3 locks held by syz.5.636/10005: #0: ffff88805b7cee08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:817 [inline] #0: ffff88805b7cee08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline] #0: ffff88805b7cee08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1408 #1: ffff888021a9b6f0 (&xs->mutex){+.+.}-{4:4}, at: xsk_release+0x665/0x910 net/xdp/xsk.c:1108 #2: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-next-20241108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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+0xffb/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9440 Comm: kworker/u8:10 Not tainted 6.12.0-rc6-next-20241108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:ktime_get+0x0/0x1f0 kernel/time/timekeeping.c:801 Code: 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 92 ff 36 0a 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 e8 1d 5d 12 00 8b 1d 13 RSP: 0018:ffffc90000a188e8 EFLAGS: 00000046 RAX: 1ffff110170e596c RBX: ffff8880b872cb60 RCX: ffff88806f779e00 RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88814478a450 R08: ffffffff818c9c2b R09: fffff520001430f8 R10: dffffc0000000000 R11: ffffffff818d1ee0 R12: 0000000000000000 R13: dffffc0000000000 R14: 7fffffffffffffff R15: ffff88814478a418 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558d5905c8 CR3: 000000005aa9e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __hrtimer_start_range_ns kernel/time/hrtimer.c:1237 [inline] hrtimer_start_range_ns+0x35f/0xca0 kernel/time/hrtimer.c:1293 hrtimer_start include/linux/hrtimer.h:260 [inline] dummy_timer+0x4434/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:2006 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655 irq_exit_rcu+0x9/0x30 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 7a 52 8f 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000b7679e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920016ecf48 RCX: ffff88806f77a8d8 RDX: dffffc0000000000 RSI: ffffffff8c0aea60 RDI: ffffffff8c605b60 RBP: ffffc9000b767b40 R08: ffffffff942b8887 R09: 1ffffffff2857110 R10: dffffc0000000000 R11: fffffbfff2857111 R12: 1ffff920016ecf44 R13: dffffc0000000000 R14: ffffc9000b767a40 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244