Kernel bug: stack segment fault in gfs2_glock_dq
Subsystem: gfs2
Status: open

Crash report:
Oops: stack segment: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5545 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:gfs2_glock_dq+0x60/0xb20 fs/gfs2/glock.c:1655
Code: 4c 89 ff e8 92 3a 2d fe 4c 89 64 24 28 4c 89 7c 24 30 4d 8b 2f 4d 8d 7d 10 4c 89 fd 48 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <80> 7c 05 00 00 74 08 4c 89 ff e8 61 3a 2d fe 49 8b 45 10 48 89 44
RSP: 0018:ffffc90002c7fc20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffff88803609c880
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90002c7fd00
RBP: 0000000000000002 R08: ffff888059d48023 R09: 1ffff1100b3a9004
R10: dffffc0000000000 R11: ffffed100b3a9005 R12: 1ffff9200058ffa2
R13: 0000000000000000 R14: ffffc90002c7fd00 R15: 0000000000000010
FS:  00007fc993e406c0(0000) GS:ffff88808d009000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe63f3f37b0 CR3: 00000000595fe000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 gfs2_glock_dq_uninit+0x25/0xb0 fs/gfs2/glock.c:1721
 gfs2_seek_hole+0x16c/0x240 fs/gfs2/inode.c:2230
 gfs2_llseek+0xfa/0x240 fs/gfs2/file.c:79
 vfs_llseek fs/read_write.c:389 [inline]
 ksys_lseek fs/read_write.c:402 [inline]
 __do_sys_lseek fs/read_write.c:412 [inline]
 __se_sys_lseek fs/read_write.c:410 [inline]
 __x64_sys_lseek+0x14f/0x1e0 fs/read_write.c:410
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc992f8ec29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc993e40038 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007fc9931d6090 RCX: 00007fc992f8ec29
RDX: 0000000000000004 RSI: 0000000000000f13 RDI: 0000000000000007
RBP: 00007fc993011e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc9931d6128 R14: 00007fc9931d6090 R15: 00007fff8e210c58
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_glock_dq+0x60/0xb20 fs/gfs2/glock.c:1655
Code: 4c 89 ff e8 92 3a 2d fe 4c 89 64 24 28 4c 89 7c 24 30 4d 8b 2f 4d 8d 7d 10 4c 89 fd 48 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <80> 7c 05 00 00 74 08 4c 89 ff e8 61 3a 2d fe 49 8b 45 10 48 89 44
RSP: 0018:ffffc90002c7fc20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffff88803609c880
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90002c7fd00
RBP: 0000000000000002 R08: ffff888059d48023 R09: 1ffff1100b3a9004
R10: dffffc0000000000 R11: ffffed100b3a9005 R12: 1ffff9200058ffa2
R13: 0000000000000000 R14: ffffc90002c7fd00 R15: 0000000000000010
FS:  00007fc993e406c0(0000) GS:ffff88808d009000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe298e6e54 CR3: 00000000595fe000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	4c 89 ff             	mov    %r15,%rdi
   3:	e8 92 3a 2d fe       	call   0xfe2d3a9a
   8:	4c 89 64 24 28       	mov    %r12,0x28(%rsp)
   d:	4c 89 7c 24 30       	mov    %r15,0x30(%rsp)
  12:	4d 8b 2f             	mov    (%r15),%r13
  15:	4d 8d 7d 10          	lea    0x10(%r13),%r15
  19:	4c 89 fd             	mov    %r15,%rbp
  1c:	48 c1 ed 03          	shr    $0x3,%rbp
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	80 7c 05 00 00       	cmpb   $0x0,0x0(%rbp,%rax,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 61 3a 2d fe       	call   0xfe2d3a9a
  39:	49 8b 45 10          	mov    0x10(%r13),%rax
  3d:	48                   	rex.W
  3e:	89                   	.byte 0x89
  3f:	44                   	rex.R