[v6.1] BUG: unable to handle kernel paging request in gfs2_print_dbg

4 views
Skip to first unread message

syzbot

unread,
Mar 8, 2025, 11:33:24 PM3/8/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6ae7ac5c4251 Linux 6.1.130
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14b75878580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2d41f94f7752ee8c
dashboard link: https://syzkaller.appspot.com/bug?extid=16399585d494e762960e
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e639f43a1070/disk-6ae7ac5c.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/eeca5786d4e2/vmlinux-6ae7ac5c.xz
kernel image: https://storage.googleapis.com/syzbot-assets/17f18eb81c7f/Image-6ae7ac5c.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+163995...@syzkaller.appspotmail.com

gfs2: fsid=syz:syz.0: H: s:?? f:as e:-65536 p:0 [(none)] 0xffff0001b3cf7b78
Unable to handle kernel paging request at virtual address e3ff7c0003279653
KASAN: maybe wild-memory-access in range [0x1fffe000193cb298-0x1fffe000193cb29f]
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
[e3ff7c0003279653] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 5164 Comm: syz.2.163 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 : ffff800021356880
x29: ffff800021356880 x28: ffff8000128c2ffe x27: fffffffffffffffe
x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000000
x23: 1fffe000193cb29d x22: ffffffffffffffff x21: ffff0a00ffffff04
x20: ffff800021356dd1 x19: ffff800021356d98 x18: 1fffe00036798576
x17: ffff800015afd000 x16: ffff8000084f4078 x15: 0000000000000002
x14: 0000000000000012 x13: ffff0000c9b51bc0 x12: 0000000000080000
x11: 0000000000ff0100 x10: 0000000000000002 x9 : 0000000000000005
x8 : 03fffc0003279653 x7 : 0000000000000000 x6 : ffff800021357480
x5 : ffff800021356aa0 x4 : 0000000000000000 x3 : ffff0a00ffffff04
x2 : 1fffe000193cb29d x1 : 00000000ffffffff x0 : 1fffe000193cb29d
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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Mar 9, 2025, 7:43:29 AM3/9/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 6ae7ac5c4251 Linux 6.1.130
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1495d4b7980000
kernel config: https://syzkaller.appspot.com/x/.config?x=2d41f94f7752ee8c
dashboard link: https://syzkaller.appspot.com/bug?extid=16399585d494e762960e
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=155a1fa0580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/572b1af43f04/mount_0.gz
fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=1095d4b7980000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+163995...@syzkaller.appspotmail.com

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
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages