INFO: task kworker/0:10:4301 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:10 state:D stack:25448 pid: 4301 ppid: 2 flags:0x00004000
Workqueue: gfs_recovery gfs2_recover_func
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11bb/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
io_schedule+0x7c/0xd0 kernel/sched/core.c:8503
wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356
wait_on_page_locked include/linux/pagemap.h:688 [inline]
gfs2_jhead_process_page+0x24e/0xbc0 fs/gfs2/lops.c:476
gfs2_find_jhead+0xec2/0x1000 fs/gfs2/lops.c:597
gfs2_recover_func+0x663/0x1bc0 fs/gfs2/recovery.c:462
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
INFO: task syz.3.20:4399 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.20 state:D stack:24680 pid: 4399 ppid: 4331 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11bb/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
bit_wait+0xd/0xc0 kernel/sched/wait_bit.c:199
__wait_on_bit kernel/sched/wait_bit.c:49 [inline]
out_of_line_wait_on_bit+0x15e/0x200 kernel/sched/wait_bit.c:64
wait_on_bit include/linux/wait_bit.h:76 [inline]
gfs2_recover_journal+0x104/0x150 fs/gfs2/recovery.c:579
init_journal+0x1770/0x2220 fs/gfs2/ops_fstype.c:837
init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:891
gfs2_fill_super+0x1701/0x1f50 fs/gfs2/ops_fstype.c:1249
get_tree_bdev+0x3f1/0x610 fs/super.c:1325
gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x88/0x270 fs/super.c:1530
do_new_mount+0x24a/0xa40 fs/namespace.c:3034
do_mount fs/namespace.c:3377 [inline]
__do_sys_mount fs/namespace.c:3585 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f87f8bdc76a
RSP: 002b:00007f87f8249e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f87f8249ef0 RCX: 00007f87f8bdc76a
RDX: 0000200000021140 RSI: 0000200000021180 RDI: 00007f87f8249eb0
RBP: 0000200000021140 R08: 00007f87f8249ef0 R09: 0000000000008000
R10: 0000000000008000 R11: 0000000000000246 R12: 0000200000021180
R13: 00007f87f8249eb0 R14: 000000000002117d R15: 00002000000211c0
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:2/154:
1 lock held by udevd/3562:
#0: ffff88801fe5d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820
2 locks held by getty/3948:
#0: ffff88802baac098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1:
ffffc900026562e8
(&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
2 locks held by kworker/0:10/4301:
#0:
ffff88801b8f0538
(
(wq_completion)gfs_recovery
){+.+.}-{0:0}
, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1:
ffffc9000301fd00
(
(work_completion)(&jd->jd_work)
){+.+.}-{0:0}
, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
1 lock held by syz.3.20/4399:
#0:
ffff8880285fa0e0
(&type->s_umount_key
#53
/1
){+.+.}-{3:3}
, at: alloc_super+0x201/0x950 fs/super.c:229
1 lock held by udevd/4498:
#0:
ffff88801fe5d118
(
&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x157/0xa60 block/bdev.c:820
2 locks held by syz.5.272/4983:
#0: ffff88801fe5d118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff88801ff65468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
2 locks held by syz.0.274/4987:
#0: ffff88801fe44518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff888147726468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
2 locks held by syz.4.275/4989:
#0: ffff88801fe57518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff88801ff62468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
2 locks held by syz.1.276/4991:
#0: ffff88801fe46118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff88801fec9468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
2 locks held by syz.2.277/4993:
#0: ffff88801fe47d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf9/0x7d0 block/bdev.c:915
#1: ffff88801fecc468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2071
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe0f/0xe50 kernel/hung_task.c:369
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4991 Comm: syz.1.276 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:io_serial_out+0x78/0xb0 drivers/tty/serial/8250/8250_port.c:468
Code: 3f 32 fd 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 b0 a7 76 fd 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d c3 44 89 f9 80 e1 07 38 c1 7c aa 4c 89 ff
RSP: 0018:ffffc90002eff050 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: 0000000000000000 RDI: 0000000000000020
RBP: 00000000000003f9 R08: 0000000000000004 R09: 0000000000000003
R10: fffff520005dfdec R11: 1ffff920005dfdec R12: dffffc0000000000
R13: ffffffff963eb800 R14: ffffffff963eb840 R15: 0000000000000000
FS: 00007f0ecb14c6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff9e09af3c CR3: 0000000079215000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_port_out include/linux/serial_core.h:349 [inline]
serial8250_console_write+0x2b5/0xf80 drivers/tty/serial/8250/8250_port.c:-1
call_console_drivers kernel/printk/printk.c:-1 [inline]
console_unlock+0xc86/0x1200 kernel/printk/printk.c:2744
vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
_printk+0xcc/0x110 kernel/printk/printk.c:2299
dump_stack_print_info+0xc9/0x150 lib/dump_stack.c:57
__dump_stack+0x11/0x20 lib/dump_stack.c:87
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
sysfs_warn_dup fs/sysfs/dir.c:30 [inline]
sysfs_create_dir_ns+0x252/0x280 fs/sysfs/dir.c:64
create_dir lib/kobject.c:89 [inline]
kobject_add_internal+0x662/0xd00 lib/kobject.c:263
kobject_add_varg lib/kobject.c:398 [inline]
kobject_init_and_add+0x122/0x190 lib/kobject.c:481
gfs2_sys_fs_add+0x234/0x480 fs/gfs2/sys.c:727
gfs2_fill_super+0x128d/0x1f50 fs/gfs2/ops_fstype.c:1202
get_tree_bdev+0x3f1/0x610 fs/super.c:1325
gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x88/0x270 fs/super.c:1530
do_new_mount+0x24a/0xa40 fs/namespace.c:3034
do_mount fs/namespace.c:3377 [inline]
__do_sys_mount fs/namespace.c:3585 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0ecbade76a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f0ecb14be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0ecb14bef0 RCX: 00007f0ecbade76a
RDX: 0000200000021140 RSI: 0000200000021180 RDI: 00007f0ecb14beb0
RBP: 0000200000021140 R08: 00007f0ecb14bef0 R09: 0000000000008000
R10: 0000000000008000 R11: 0000000000000246 R12: 0000200000021180
R13: 00007f0ecb14beb0 R14: 000000000002117d R15: 00002000000211c0