INFO: task kworker/1:7:4292 blocked for more than 143 seconds. Not tainted 5.15.178-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:7 state:D stack:22584 pid: 4292 ppid: 2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 io_schedule+0x88/0x100 kernel/sched/core.c:8481 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+0xef9/0x10c0 fs/gfs2/lops.c:597 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task syz.3.91:4794 blocked for more than 144 seconds. Not tainted 5.15.178-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.91 state:D stack:22448 pid: 4794 ppid: 4171 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 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:1325 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f479012790a RSP: 002b:00007f478df8ee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f478df8eef0 RCX: 00007f479012790a RDX: 0000400000037f40 RSI: 0000400000037f80 RDI: 00007f478df8eeb0 RBP: 0000400000037f40 R08: 00007f478df8eef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000400000037f80 R13: 00007f478df8eeb0 R14: 000000000003803a R15: 00004000000000c0 INFO: task syz.4.98:4821 blocked for more than 144 seconds. Not tainted 5.15.178-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.98 state:D stack:22656 pid: 4821 ppid: 4180 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 iterate_supers+0xac/0x1e0 fs/super.c:716 ksys_sync+0xb9/0x1c0 fs/sync.c:102 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f65de15e169 RSP: 002b:00007f65dbfc7038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f65de376fa0 RCX: 00007f65de15e169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f65de376fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f65de376fa0 R15: 00007ffebc2088b8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1fce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3928: #0: ffff88814cd3c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ce32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:7/4292: #0: ffff888146870938 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000397fd20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by syz.3.91/4794: #0: ffff88807af940e0 (&type->s_umount_key#80/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 1 lock held by syz.4.98/4821: #0: ffff88807af940e0 (&type->s_umount_key#100){.+.+}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:716 1 lock held by syz-executor/5059: #0: ffff88802109d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 3 locks held by kworker/1:17/5246: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004b1fd20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8cb241b0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 3 locks held by kworker/u4:15/5338: #0: ffff8880175cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000336fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8cb241b0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 2 locks held by udevd/5774: #0: ffff88802109d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff8881477bb468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 1 lock held by syz.5.361/6214: #0: ffff88807af940e0 (&type->s_umount_key#100){.+.+}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:716 1 lock held by syz.5.361/6249: #0: ffff88807af940e0 (&type->s_umount_key#100){.+.+}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:716 1 lock held by syz.1.490/6829: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6829 Comm: syz.1.490 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:loop3+0x40/0x37d Code: 63 7b f0 f2 06 41 21 d7 45 31 f5 c4 63 7b f0 e0 0d 45 31 d7 c4 63 7b f0 f0 16 89 c6 45 31 e6 c4 63 7b f0 e0 02 44 03 5c 3c 10 <09> ce 45 31 e6 41 89 c4 21 de 41 21 cc 45 01 ef 45 01 d8 44 09 e6 RSP: 0018:ffffc90002e0eb60 EFLAGS: 00000216 RAX: 000000009da9dcca RBX: 000000005602e130 RCX: 000000007fcbf8ce RDX: 00000000fe31e953 RSI: 000000009da9dcca RDI: 0000000000000180 RBP: ffffc90002e0ed88 R08: 0000000084b2b6b5 R09: 000000003752238f R10: 000000002ce10367 R11: 000000007d255c11 R12: 00000000a76a7732 R13: 000000007d73a867 R14: 000000004127c738 R15: 0000000036d02327 FS: 00007f8ba0a956c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1435bdab8 CR3: 0000000047bb3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sha256_base_do_update include/crypto/sha256_base.h:65 [inline] _sha256_update arch/x86/crypto/sha256_ssse3_glue.c:71 [inline] sha256_avx2_update+0x1d2/0x1f0 arch/x86/crypto/sha256_ssse3_glue.c:237 crypto_shash_update+0x1db/0x2a0 crypto/shash.c:131 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:496 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa96/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x323/0x820 security/integrity/ima/ima_api.c:255 process_measurement+0x1363/0x21c0 security/integrity/ima/ima_main.c:351 ima_file_check+0xf3/0x180 security/integrity/ima/ima_main.c:533 do_open fs/namei.c:3610 [inline] path_openat+0x2748/0x2f20 fs/namei.c:3742 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8ba2c2aad0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 49 94 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 9c 94 02 00 8b 44 RSP: 002b:00007f8ba0a94f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f8ba2c2aad0 RDX: 0000000000000002 RSI: 00007f8ba0a94fa0 RDI: 00000000ffffff9c RBP: 00007f8ba0a94fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8ba2e44fa0 R15: 00007ffe3a3abb38