syzbot


BUG: unable to handle kernel paging request in gfs2_print_dbg

Status: upstream: reported syz repro on 2025/03/09 04:33
Reported-by: syzbot+16399585d494e762960e@syzkaller.appspotmail.com
First crash: 3d07h, last: 3d00h
Bug presence (1)
Date Name Commit Repro Result
2025/03/09 upstream (ToT) [unknown] C Failed due to an error; will retry later
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in gfs2_print_dbg (2) gfs2 1 681d 680d 0/28 auto-obsoleted due to no activity on 2023/07/29 23:54
upstream general protection fault in gfs2_print_dbg gfs2 1 835d 835d 0/28 auto-obsoleted due to no activity on 2023/03/27 21:40

Sample crash report:
gfs2: fsid=syz:syz.0:  H: s:?? f:aEWs e:-65536 p:0 [(none)] 0xffff0001b3cd6b78
Unable to handle kernel paging request at virtual address e3ff7c00034e80da
KASAN: maybe wild-memory-access in range [0x1fffe0001a7406d0-0x1fffe0001a7406d7]
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004
  CM = 0, WnR = 0
[e3ff7c00034e80da] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4813 Comm: syz.3.103 Not tainted 6.1.130-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : string_nocheck lib/vsprintf.c:643 [inline]
pc : string+0x16c/0x264 lib/vsprintf.c:725
lr : string_nocheck lib/vsprintf.c:642 [inline]
lr : string+0x14c/0x264 lib/vsprintf.c:725
sp : ffff800022aa6880
x29: ffff800022aa6880 x28: ffff8000128c2ffe x27: fffffffffffffffe
x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000
x23: 1fffe0001a7406d5 x22: ffffffffffffffff x21: ffff0a00ffffff04
x20: ffff800022aa6dd0 x19: ffff800022aa6d98 x18: ffff800022aa6620
x17: 66667830205d2965 x16: ffff8000084f4078 x15: 0000000000000000
x14: 0000000000000012 x13: ffff0000d1099bc0 x12: 0000000000ff0100
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 0000000000000005
x8 : 03fffc00034e80da x7 : 0000000000000000 x6 : ffff800022aa7480
x5 : ffff800022aa6aa0 x4 : 0000000000000000 x3 : ffff0a00ffffff04
x2 : 1fffe0001a7406d5 x1 : 00000000ffffffff x0 : 1fffe0001a7406d5
Call trace:
 string_nocheck lib/vsprintf.c:643 [inline]
 string+0x16c/0x264 lib/vsprintf.c:725
 vsnprintf+0xe9c/0x1a8c lib/vsprintf.c:2805
 va_format lib/vsprintf.c:1685 [inline]
 pointer+0x7b0/0xdc8 lib/vsprintf.c:2436
 vsnprintf+0xef8/0x1a8c lib/vsprintf.c:2809
 vprintk_store+0x3ec/0xea8 kernel/printk/printk.c:2187
 vprintk_emit+0x110/0x2e8 kernel/printk/printk.c:2284
 vprintk_default+0xa0/0xe4 kernel/printk/printk.c:2318
 vprintk+0x200/0x2d4 kernel/printk/printk_safe.c:45
 _printk+0xdc/0x128 kernel/printk/printk.c:2328
 gfs2_print_dbg+0x198/0x1a0 fs/gfs2/glock.c:1458
 dump_holder fs/gfs2/glock.c:2335 [inline]
 gfs2_dump_glock+0xf3c/0x1558 fs/gfs2/glock.c:2440
 gfs2_consist_inode_i+0xe8/0x10c fs/gfs2/util.c:467
 gfs2_dirent_scan+0x458/0x584 fs/gfs2/dir.c:602
 gfs2_dir_read+0x6b4/0x1624 fs/gfs2/dir.c:1599
 gfs2_readdir+0x164/0x1c4 fs/gfs2/file.c:115
 iterate_dir+0x1f4/0x4ec
 __do_sys_getdents64 fs/readdir.c:369 [inline]
 __se_sys_getdents64 fs/readdir.c:354 [inline]
 __arm64_sys_getdents64+0x1c4/0x4a0 fs/readdir.c:354
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: d10006db 8b1902e0 d343fc08 12000809 (38fa6908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	d10006db 	sub	x27, x22, #0x1
   4:	8b1902e0 	add	x0, x23, x25
   8:	d343fc08 	lsr	x8, x0, #3
   c:	12000809 	and	w9, w0, #0x7
* 10:	38fa6908 	ldrsb	w8, [x8, x26] <-- trapping instruction

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/09 11:42 linux-6.1.y 6ae7ac5c4251 163f510d .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in gfs2_print_dbg
2025/03/09 04:32 linux-6.1.y 6ae7ac5c4251 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in gfs2_print_dbg
* Struck through repros no longer work on HEAD.