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: 516d, last: 7d14h
Fix commit to backport (bisect log) :
tree: upstream
commit fb6f20ecb121cef4d7946f834a6ee867c4e21b4a
Author: Jan Kara <jack@suse.cz>
Date: Thu Oct 17 10:28:23 2024 +0000

  reiserfs: The last commit

  
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 Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in reiserfs_get_block origin:lts-only 8 C error 11 46d 403d 0/3 upstream: reported C repro on 2024/09/10 09:00
upstream general protection fault in reiserfs_get_block fs 2 2 1016d 1013d 0/29 auto-obsoleted due to no activity on 2023/05/06 14:40
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2025/09/09 09:25 7h09m fix candidate upstream OK (1) job log
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:
REISERFS (device loop0): Using tea hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS warning (device loop0): vs-13060 reiserfs_update_sd_size: stat data of object [2 5 0x0 SD] (nlink == 1) not found (pos 2)
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: 1 PID: 4513 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 82400005 (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 : ffff800020d17120
x29: ffff800020d17640 x28: 00000000000003f4 x27: 1fffe0001d2e32b3
x26: ffff0000e0351bc8 x25: 0000000000000010 x24: 000000000000000c
x23: ffff0000cb26be00 x22: 0000000000000217 x21: dfff800000000000
x20: 0000000000000000 x19: ffff0000e9719598 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082e7b1c x15: 0000000000000000
x14: 00000000fffffffd x13: 0000000000ff0100 x12: 0000000000ff0100
x11: ff00800008c762c8 x10: 0000000000000000 x9 : ffff0000d96cb780
x8 : 0000000000000001 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 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+0x328/0x71c fs/reiserfs/inode.c:2775
 generic_perform_write+0x230/0x4b0 mm/filemap.c:3846
 __generic_file_write_iter+0x168/0x37c mm/filemap.c:3974
 generic_file_write_iter+0xb4/0x2b0 mm/filemap.c:4006
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x5ac/0x7c4 fs/read_write.c:584
 ksys_write+0x120/0x210 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __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 (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/11 09:33 linux-6.1.y 882efbdd9d34 ff1712fe .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
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/10/11 08:49 linux-6.1.y 882efbdd9d34 ff1712fe .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
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
2025/10/06 16:32 linux-6.1.y 882efbdd9d34 91305dbe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in reiserfs_get_block
* Struck through repros no longer work on HEAD.