INFO: task kworker/0:4:3579 blocked for more than 143 seconds. Not tainted 5.15.152-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:4 state:D stack:21624 pid: 3579 ppid: 2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 io_schedule+0x88/0x100 kernel/sched/core.c:8484 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 wait_on_page_locked include/linux/pagemap.h:688 [inline] gfs2_jhead_process_page+0x25e/0xbf0 fs/gfs2/lops.c:476 gfs2_find_jhead+0xa5c/0x10c0 fs/gfs2/lops.c:586 gfs2_recover_func+0x6ce/0x1f00 fs/gfs2/recovery.c:462 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 INFO: task syz-executor.0:26907 blocked for more than 143 seconds. Not tainted 5.15.152-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23712 pid:26907 ppid: 23180 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xb9/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d0/0x250 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0x110/0x160 fs/gfs2/recovery.c:579 init_journal+0x1804/0x23c0 fs/gfs2/ops_fstype.c:837 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1c2c/0x2750 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x3fe/0x620 fs/super.c:1312 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1517 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb50e6434aa RSP: 002b:00007fb50cbc1ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb50cbc1f80 RCX: 00007fb50e6434aa RDX: 000000002001f680 RSI: 000000002001f6c0 RDI: 00007fb50cbc1f40 RBP: 000000002001f680 R08: 00007fb50cbc1f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f6c0 R13: 00007fb50cbc1f40 R14: 000000000001f6c6 R15: 000000002001f700 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:1/144: 2 locks held by acpid/2949: #0: ffff88808ac33110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_close_device drivers/input/evdev.c:411 [inline] #0: ffff88808ac33110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x6cc/0x7c0 drivers/input/evdev.c:456 #1: ffff8880968202c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4a/0x1d0 drivers/input/input.c:690 2 locks held by getty/3259: #0: ffff88807f4f0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:4/3579: #0: ffff888145d8ed38 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900031d7d20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 4 locks held by kworker/u4:6/3627: #0: ffff888011dcd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003d67d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9cfe50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #3: ffffffff8c923ce8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 3 locks held by kworker/0:0/9837: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004ae7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888089e14240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1478 5 locks held by kworker/0:2/21565: #0: ffff8881423a2538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000320fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888147a22220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147a22220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5759 #3: ffff88808c452220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88808c452220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #4: ffff88807307e1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff88807307e1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 2 locks held by kworker/0:5/21704: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900057a7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz-executor.1/24709: 1 lock held by syz-executor.0/26907: #0: ffff88807bef60e0 (&type->s_umount_key#94/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 1 lock held by syz-executor.0/27621: #0: ffff88807bef60e0 (&type->s_umount_key#119){.+.+}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:837 1 lock held by syz-executor.0/29465: 1 lock held by syz-executor.4/29553: 5 locks held by syz-executor.2/29561: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 24709 Comm: syz-executor.1 Not tainted 5.15.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:mark_held_locks kernel/locking/lockdep.c:4193 [inline] RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4211 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x287/0x7a0 kernel/locking/lockdep.c:4278 Code: 00 00 04 00 74 2c 31 d2 a9 00 00 03 00 0f 94 c2 83 f2 03 48 8b 7c 24 10 48 89 de e8 63 a2 00 00 48 ba 00 00 00 00 00 fc ff df <85> c0 0f 84 9d 01 00 00 49 ff c5 41 0f b6 04 17 84 c0 75 33 49 63 RSP: 0018:ffffc90002e36e00 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffff88801b5c0af0 RCX: ffffffff8162f928 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8fbcf140 RBP: ffffc90002e36ec0 R08: dffffc0000000000 R09: fffffbfff1f79e29 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801b5c0b10 R13: 0000000000000000 R14: ffff88801b5c0ae8 R15: 1ffff110036b815d FS: 00005555574f1480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdac8d67198 CR3: 0000000078c8b000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49 free_unref_page+0x1c2/0x2d0 mm/page_alloc.c:3417 __vunmap+0x8d4/0xa20 mm/vmalloc.c:2621 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:867 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1023 [inline] do_ipt_get_ctl+0x11d4/0x1880 net/ipv4/netfilter/ip_tables.c:1661 nf_getsockopt+0x28e/0x2b0 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x136c/0x1ec0 net/ipv4/ip_sockglue.c:1787 tcp_getsockopt+0x26e/0x7170 net/ipv4/tcp.c:4304 __sys_getsockopt+0x2a6/0x550 net/socket.c:2242 __do_sys_getsockopt net/socket.c:2257 [inline] __se_sys_getsockopt net/socket.c:2254 [inline] __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2254 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdac8c6d94a Code: c4 c1 e0 1a 0d 00 00 04 00 89 01 e9 e0 fe ff ff e8 3b 05 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 RSP: 002b:00007ffc98f9ce78 EFLAGS: 00000216 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffc98f9cf00 RCX: 00007fdac8c6d94a RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007ffc98f9ce9c R09: 00007ffc98f9d2b7 R10: 00007ffc98f9cf00 R11: 0000000000000216 R12: 00007fdac8d6ad00 R13: 00007ffc98f9ce9c R14: 0000000000000000 R15: 00007fdac8d6cec0