syzbot


general protection fault in reiserfs_get_block

Status: upstream: reported C repro on 2024/09/10 09:00
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+00744e88a7f1a64cea41@syzkaller.appspotmail.com
First crash: 223d, last: 36d
Bug presence (2)
Date Name Commit Repro Result
2025/03/16 linux-5.15.y (ToT) 0c935c049b5c C [report] BUG: unable to handle kernel paging request in reiserfs_get_block
2025/03/16 upstream (ToT) d1275e99d1c4 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in reiserfs_get_block reiserfs 2 836d 833d 0/28 auto-obsoleted due to no activity on 2023/05/06 14:40
linux-6.1 BUG: unable to handle kernel paging request in reiserfs_get_block origin:upstream missing-backport C error 2 123d 336d 0/3 upstream: reported C repro on 2024/05/20 22:59
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/03/02 03:49 1h05m retest repro linux-5.15.y report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/04/03 18:03 2h24m fix candidate upstream error job 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
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: 4021 Comm: syz-executor209 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : reiserfs_get_block+0x12d4/0x3fd0 fs/reiserfs/inode.c:1060
lr : reiserfs_get_block+0x1298/0x3fd0 fs/reiserfs/inode.c:1055
sp : ffff80001fce6f00
x29: ffff80001fce7580 x28: 1fffe0001c283a0b x27: ffffffffffffffff
x26: 00000000000003f4 x25: 000000000000000c x24: 0000000000000005
x23: 0000000000000000 x22: 0000000000000010 x21: 0000000000000217
x20: ffff0000ddb61598 x19: dfff800000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800008c9ad98 x15: 00000000fffffffd
x14: ffff0000dc3cd1c0 x13: 0000000000ff0100 x12: 0000000000000004
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000003
x8 : 0000000000000001 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020
x2 : 0000000000000000 x1 : 00000000000003f4 x0 : 0000000000000000
Call trace:
 reiserfs_get_block+0x12d4/0x3fd0 fs/reiserfs/inode.c:1060
 __block_write_begin_int+0x3ec/0x1608 fs/buffer.c:2012
 __block_write_begin+0x40/0x54 fs/buffer.c:2062
 reiserfs_write_begin+0x3c8/0x654 fs/reiserfs/inode.c:2790
 generic_perform_write+0x24c/0x520 mm/filemap.c:3785
 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912
 generic_file_write_iter+0xb4/0x1b8 mm/filemap.c:3944
 call_write_iter include/linux/fs.h:2174 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x884/0xb44 fs/read_write.c:594
 ksys_write+0x15c/0x26c fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:656
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 35006a48 8b1b0ad9 b94483f5 d343ff28 (38f36908) 
---[ end trace 793567ddd578ba4c ]---
----------------
Code disassembly (best guess):
   0:	35006a48 	cbnz	w8, 0xd48
   4:	8b1b0ad9 	add	x25, x22, x27, lsl #2
   8:	b94483f5 	ldr	w21, [sp, #1152]
   c:	d343ff28 	lsr	x8, x25, #3
* 10:	38f36908 	ldrsb	w8, [x8, x19] <-- trapping instruction

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/15 22:55 linux-5.15.y c16c81c81336 40a34ec9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2024/09/10 08:59 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in reiserfs_get_block
2025/02/15 21:51 linux-5.15.y c16c81c81336 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
2024/11/19 14:32 linux-5.15.y 0a51d2d4527b 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in reiserfs_get_block
* Struck through repros no longer work on HEAD.