syzbot


general protection fault in gfs2_print_dbg (2)

Status: auto-obsoleted due to no activity on 2023/07/29 23:54
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+f236a4da5a1d0afe53e8@syzkaller.appspotmail.com
First crash: 333d, last: 333d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in gfs2_print_dbg gfs2 1 487d 486d 0/26 auto-obsoleted due to no activity on 2023/03/27 21:40

Sample crash report:
general protection fault, probably for non-canonical address 0xec2e8a640768ea1a: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x617473203b4750d0-0x617473203b4750d7]
CPU: 0 PID: 9688 Comm: syz-executor.5 Not tainted 6.3.0-syzkaller-12049-g58390c8ce1bd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:string_nocheck lib/vsprintf.c:644 [inline]
RIP: 0010:string+0x1a5/0x2b0 lib/vsprintf.c:726
Code: 85 c0 0f 84 db 00 00 00 4c 89 7c 24 08 49 89 c7 49 ff cf 31 db 49 8d 3c 1c 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 75 5d 4c 8d 6c 1d 00 41 0f b6 2c 1c 31 ff 89 ee
RSP: 0000:ffffc90005836e90 EFLAGS: 00010002
RAX: 0c2e8e640768ea1a RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffff888020aebb80 RSI: ffffffffffffffff RDI: 617473203b4750d1
RBP: ffffc900058373a5 R08: ffffffff8aa943c7 R09: ffffffff8aa90a9f
R10: 0000000000000012 R11: ffff888020aebb80 R12: 617473203b4750d1
R13: 0000000000000000 R14: ffffc900058373a5 R15: fffffffffffffffe
FS:  00007f7fd5569700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd3e058e000 CR3: 000000002a161000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vsnprintf+0x10fc/0x1d80 lib/vsprintf.c:2817
 va_format lib/vsprintf.c:1681 [inline]
 pointer+0xa39/0x1200 lib/vsprintf.c:2448
 vsnprintf+0xdab/0x1d80 lib/vsprintf.c:2821
 vprintk_store+0x47f/0x1160 kernel/printk/printk.c:2191
 vprintk_emit+0x9e/0x1f0 kernel/printk/printk.c:2288
 _printk+0xd5/0x120 kernel/printk/printk.c:2328
 gfs2_print_dbg+0x198/0x1b0 fs/gfs2/glock.c:1449
 dump_holder fs/gfs2/glock.c:2275 [inline]
 gfs2_dump_glock+0x1415/0x1ad0 fs/gfs2/glock.c:2382
 gfs2_consist_inode_i+0xf5/0x110 fs/gfs2/util.c:465
 gfs2_dirent_scan+0x512/0x640 fs/gfs2/dir.c:602
 gfs2_dir_read+0x82f/0x1af0 fs/gfs2/dir.c:1599
 gfs2_readdir+0x14e/0x1b0 fs/gfs2/file.c:116
 iterate_dir+0x228/0x570
 __do_sys_getdents64 fs/readdir.c:369 [inline]
 __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:354
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f7fd488c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7fd5569168 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f7fd49abf80 RCX: 00007f7fd488c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f7fd48e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff5e89ffaf R14: 00007f7fd5569300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:string_nocheck lib/vsprintf.c:644 [inline]
RIP: 0010:string+0x1a5/0x2b0 lib/vsprintf.c:726
Code: 85 c0 0f 84 db 00 00 00 4c 89 7c 24 08 49 89 c7 49 ff cf 31 db 49 8d 3c 1c 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 75 5d 4c 8d 6c 1d 00 41 0f b6 2c 1c 31 ff 89 ee
RSP: 0000:ffffc90005836e90 EFLAGS: 00010002
RAX: 0c2e8e640768ea1a RBX: 0000000000000000 RCX: dffffc0000000000
RDX: ffff888020aebb80 RSI: ffffffffffffffff RDI: 617473203b4750d1
RBP: ffffc900058373a5 R08: ffffffff8aa943c7 R09: ffffffff8aa90a9f
R10: 0000000000000012 R11: ffff888020aebb80 R12: 617473203b4750d1
R13: 0000000000000000 R14: ffffc900058373a5 R15: fffffffffffffffe
FS:  00007f7fd5569700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd3e058e000 CR3: 000000002a161000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	85 c0                	test   %eax,%eax
   2:	0f 84 db 00 00 00    	je     0xe3
   8:	4c 89 7c 24 08       	mov    %r15,0x8(%rsp)
   d:	49 89 c7             	mov    %rax,%r15
  10:	49 ff cf             	dec    %r15
  13:	31 db                	xor    %ebx,%ebx
  15:	49 8d 3c 1c          	lea    (%r12,%rbx,1),%rdi
  19:	48 89 f8             	mov    %rdi,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	0f b6 04 08          	movzbl (%rax,%rcx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	75 5d                	jne    0x8f
  32:	4c 8d 6c 1d 00       	lea    0x0(%rbp,%rbx,1),%r13
  37:	41 0f b6 2c 1c       	movzbl (%r12,%rbx,1),%ebp
  3c:	31 ff                	xor    %edi,%edi
  3e:	89 ee                	mov    %ebp,%esi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/30 23:53 upstream 58390c8ce1bd 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in gfs2_print_dbg
* Struck through repros no longer work on HEAD.