gfs2: fsid=syz:syz.0: Error -5 writing to journal, jid=0
CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
gfs2_withdraw+0xc3/0x1b0 fs/gfs2/util.c:249
gfs2_end_log_write+0xcd/0x6c0 fs/gfs2/lops.c:212
gfs2_log_submit_write+0x7e/0xb0 fs/gfs2/lops.c:245
gfs2_write_log_header+0x775/0x950 fs/gfs2/log.c:894
log_write_header+0x3d4/0x5f0 fs/gfs2/log.c:918
gfs2_log_shutdown+0xbb/0x2b0 fs/gfs2/log.c:1325
__gfs2_log_flush+0x16f9/0x1d90 fs/gfs2/log.c:1174
gfs2_log_flush+0x34/0x50 fs/gfs2/log.c:1216
gfs2_make_fs_ro+0x185/0x320 fs/gfs2/super.c:561
gfs2_put_super+0x235/0x870 fs/gfs2/super.c:603
generic_shutdown_super+0x13d/0x2d0 fs/super.c:755
kill_block_super+0x44/0xa0 fs/super.c:1904
deactivate_locked_super+0xbc/0x110 fs/super.c:589
cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb289f9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd855fc778 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd855fc860 RCX: 00007fb289f9e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00000000000172b8 R08: 0000000000000001 R09: 0000000000000000
R10: 00007fb289dff02c R11: 0000000000000246 R12: 00007ffd855fc8a0
R13: 00007fb28a225fac R14: 0000000000017644 R15: 00007fb28a225fa0
gfs2: fsid=syz:syz.0: about to withdraw this file system
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88803f9d8598 object type: work_struct hint: gfs2_withdraw_func+0x0/0x440 fs/gfs2/util.c:-1
WARNING: lib/debugobjects.c:632 at debug_print_object+0xec/0x230 lib/debugobjects.c:629, CPU#0: syz.0.0/5320
Modules linked in:
CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:debug_print_object+0x18a/0x230 lib/debugobjects.c:629
Code: f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 3d ff 4c fd 4d 8b 0f 4c 89 ef 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f0 ff 34 24 <67> 48 0f b9 3a 48 83 c4 08 ff 05 d3 19 8e 0b 48 83 c4 10 5b 41 5c
RSP: 0018:ffffc9000f867bb0 EFLAGS: 00010246
RAX: 1ffffffff1816f44 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffffffff8c6dd340 RSI: ffffffff8c6dcdc0 RDI: ffffffff908599d0
RBP: ffffffff8c6dd340 R08: ffff88803f9d8598 R09: ffffffff8c0b8c40
R10: dffffc0000000000 R11: ffffffff818f5ef0 R12: 0000000000000000
R13: ffffffff908599d0 R14: ffff88803f9d8598 R15: ffffffff8c0b7a20
FS: 000055556660d540(0000) GS:ffff88808c2c2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb2863f2f20 CR3: 00000000438de000 CR4: 0000000000352ef0
Call Trace:
__debug_check_no_obj_freed lib/debugobjects.c:1171 [inline]
debug_check_no_obj_freed+0x2e3/0x450 lib/debugobjects.c:1201
slab_free_hook mm/slub.c:2679 [inline]
slab_free mm/slub.c:6508 [inline]
kfree+0x13e/0x650 mm/slub.c:6801
generic_shutdown_super+0x13d/0x2d0 fs/super.c:755
kill_block_super+0x44/0xa0 fs/super.c:1904
deactivate_locked_super+0xbc/0x110 fs/super.c:589
cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb289f9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd855fc778 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd855fc860 RCX: 00007fb289f9e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00000000000172b8 R08: 0000000000000001 R09: 0000000000000000
R10: 00007fb289dff02c R11: 0000000000000246 R12: 00007ffd855fc8a0
R13: 00007fb28a225fac R14: 0000000000017644 R15: 00007fb28a225fa0
----------------
Code disassembly (best guess):
0: f8 clc
1: 48 c1 e8 03 shr $0x3,%rax
5: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
9: 74 08 je 0x13
b: 4c 89 ff mov %r15,%rdi
e: e8 3d ff 4c fd call 0xfd4cff50
13: 4d 8b 0f mov (%r15),%r9
16: 4c 89 ef mov %r13,%rdi
19: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
1e: 48 89 ea mov %rbp,%rdx
21: 44 89 e1 mov %r12d,%ecx
24: 4d 89 f0 mov %r14,%r8
27: ff 34 24 push (%rsp)
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: 48 83 c4 08 add $0x8,%rsp
33: ff 05 d3 19 8e 0b incl 0xb8e19d3(%rip) # 0xb8e1a0c
39: 48 83 c4 10 add $0x10,%rsp
3d: 5b pop %rbx
3e: 41 5c pop %r12