syzbot


BUG: unable to handle kernel paging request in reiserfs_get_block

Status: upstream: reported C repro on 2024/05/20 22:59
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+1c65fc19961d9c5eff47@syzkaller.appspotmail.com
First crash: 399d, last: 10h21m
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/12/19 linux-6.1.y (ToT) 52f863f820fd C [report] BUG: unable to handle kernel paging request in reiserfs_get_block
2024/05/21 upstream (ToT) 8f6a15f095a6 C [report] BUG: unable to handle kernel paging request in reiserfs_get_block
2024/12/19 upstream (ToT) eabcdba3ad40 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in reiserfs_get_block origin:lts-only C error 6 6d03h 286d 0/3 upstream: reported C repro on 2024/09/10 09:00
upstream general protection fault in reiserfs_get_block reiserfs 2 899d 896d 0/29 auto-obsoleted due to no activity on 2023/05/06 14:40
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/03/02 21:39 13m fix candidate upstream error job log
2024/08/09 10:50 1h38m bisect fix linux-6.1.y error job log
2024/06/29 08:55 1h41m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000001
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4400 Comm: syz-executor312 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : reiserfs_get_block+0xff8/0x3524 fs/reiserfs/inode.c:1052
lr : reiserfs_get_block+0xfc4/0x3524 fs/reiserfs/inode.c:1047
sp : ffff800020ef6de0
x29: ffff800020ef7300 x28: 00000000000003f4 x27: 1fffe0001cbcd6d7
x26: ffff0000dff481d0 x25: 0000000000000010 x24: 000000000000000c
x23: ffff800020ef77a0 x22: 000000000000021e x21: dfff800000000000
x20: 0000000000000000 x19: ffff0000e5e6b6b8 x18: 0000000000000013
x17: 0000001f00090028 x16: ffff8000082d0750 x15: 0000000000000000
x14: 00000000fffffffd x13: 0000000000ff0100 x12: 0000000000ff0100
x11: ff00800008c74b10 x10: 0000000000000000 x9 : ffff0000c34ed340
x8 : 0000000000000001 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000000 x3 : 0000000000000020
x2 : 0000000000000000 x1 : 00000000000003f4 x0 : 0000000000000000
Call trace:
 reiserfs_get_block+0xff8/0x3524 fs/reiserfs/inode.c:1052
 __block_write_begin_int+0x34c/0x13b8 fs/buffer.c:1991
 __block_write_begin+0x7c/0xa0 fs/buffer.c:2041
 __reiserfs_write_begin+0x348/0x56c fs/reiserfs/inode.c:2835
 reiserfs_xattr_set_handle+0x448/0xd94 fs/reiserfs/xattr.c:571
 reiserfs_xattr_set+0x388/0x4a8 fs/reiserfs/xattr.c:633
 security_set+0x9c/0xd8 fs/reiserfs/xattr_security.c:32
 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182
 __vfs_setxattr_noperm+0x120/0x564 fs/xattr.c:216
 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277
 vfs_setxattr+0x158/0x2ac fs/xattr.c:309
 do_setxattr fs/xattr.c:594 [inline]
 setxattr+0x228/0x28c fs/xattr.c:617
 __do_sys_fsetxattr fs/xattr.c:673 [inline]
 __se_sys_fsetxattr fs/xattr.c:662 [inline]
 __arm64_sys_fsetxattr+0x1a8/0x224 fs/xattr.c:662
 __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/0x138 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: 8b140b28 b94323f6 d1001118 d343ff08 (38f56908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	8b140b28 	add	x8, x25, x20, lsl #2
   4:	b94323f6 	ldr	w22, [sp, #800]
   8:	d1001118 	sub	x24, x8, #0x4
   c:	d343ff08 	lsr	x8, x24, #3
* 10:	38f56908 	ldrsb	w8, [x8, x21] <-- trapping instruction

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/22 23:51 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2024/05/20 23:54 linux-6.1.y 4078fa637fcd c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2025/06/23 15:00 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2024/05/20 22:58 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
* Struck through repros no longer work on HEAD.