syzbot


BUG: unable to handle kernel paging request in prepare_error_buf

Status: upstream: reported C repro on 2024/07/17 12:15
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+54e4e9fcfedf78aadea9@syzkaller.appspotmail.com
First crash: 85d, last: 1d03h
Bug presence (1)
Date Name Commit Repro Result
2024/07/19 upstream (ToT) 720261cfc732 C [report] BUG: unable to handle kernel paging request in prepare_error_buf
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel paging request in prepare_error_buf 5 17d 53d 0/3 upstream: reported on 2024/08/17 17:42

Sample crash report:
REISERFS (device loop0): Using tea hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
===================================================================
Unable to handle kernel paging request at virtual address dfff800000000048
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
[dfff800000000048] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3968 Comm: syz-executor536 Not tainted 5.15.162-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : scnprintf_block_head fs/reiserfs/prints.c:152 [inline]
pc : prepare_error_buf+0xe84/0x1580 fs/reiserfs/prints.c:245
lr : prepare_error_buf+0x660/0x1580 fs/reiserfs/prints.c:246
sp : ffff80001ca26c20
x29: ffff80001ca26da0 x28: ffff800018579959 x27: ffff800018578a59
x26: ffff80001ca26eb8 x25: ffff80001ca26ea0 x24: ffff80001ca26d00
x23: ffff800018578a40 x22: 0000000000000400 x21: ffff80001ca26ea8
x20: 0000000000000241 x19: dfff800000000000 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800008cc3dd0 x15: 000000000000007a
x14: ffff0000d785b680 x13: 0000000000ff0100 x12: ffffffffffffffff
x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000d785b680
x8 : 0000000000000048 x7 : 20736e6961746e6f x6 : 6961746e6f632029
x5 : ffff800018578a59 x4 : ffff800018579959 x3 : ffff80000ab7c634
x2 : 000000000000000b x1 : 00000000ffffffc8 x0 : 00000000fffffff9
Call trace:
 scnprintf_block_head fs/reiserfs/prints.c:152 [inline]
 prepare_error_buf+0xe84/0x1580 fs/reiserfs/prints.c:245
 reiserfs_printk+0xdc/0x134 fs/reiserfs/prints.c:312
 print_leaf fs/reiserfs/prints.c:496 [inline]
 print_block+0x34c/0x1508 fs/reiserfs/prints.c:626
 reiserfs_cut_from_item+0x18f0/0x1c84 fs/reiserfs/stree.c:1726
 reiserfs_do_truncate+0x89c/0x11c8 fs/reiserfs/stree.c:1973
 reiserfs_truncate_file+0x3ac/0x6f0 fs/reiserfs/inode.c:2318
 reiserfs_file_release+0x710/0x884 fs/reiserfs/file.c:109
 __fput+0x30c/0x7f0 fs/file_table.c:280
 ____fput+0x20/0x30 fs/file_table.c:308
 task_work_run+0x130/0x1e4 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x670/0x20bc kernel/exit.c:872
 do_group_exit+0x110/0x268 kernel/exit.c:994
 __do_sys_exit_group kernel/exit.c:1005 [inline]
 __se_sys_exit_group kernel/exit.c:1003 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1003
 __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: 97f02a39 f9400288 9100a114 d343fe88 (38736908) 
---[ end trace e05a34e9a1f3284a ]---
----------------
Code disassembly (best guess):
   0:	97f02a39 	bl	0xffffffffffc0a8e4
   4:	f9400288 	ldr	x8, [x20]
   8:	9100a114 	add	x20, x8, #0x28
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38736908 	ldrb	w8, [x8, x19] <-- trapping instruction

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/17 14:10 linux-5.15.y f45bea23c39c 215bec2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/07/17 13:11 linux-5.15.y f45bea23c39c 215bec2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/09 10:02 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/09 10:00 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/09 09:59 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/09 09:57 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/09 09:57 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/07 19:05 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/06 02:52 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/05 12:46 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/10/05 07:40 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/30 08:10 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/27 09:48 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/24 01:14 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/23 08:26 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/22 06:37 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/19 16:02 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/19 03:21 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/07 09:28 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/09/02 01:48 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/26 02:22 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/25 12:37 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/25 11:55 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/25 06:10 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/18 00:59 linux-5.15.y 7e89efd3ae1c dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/17 12:09 linux-5.15.y 7e89efd3ae1c dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/07/18 03:59 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/07/17 18:45 linux-5.15.y f45bea23c39c 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/07/17 12:14 linux-5.15.y f45bea23c39c 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in prepare_error_buf
2024/08/26 02:20 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 KASAN: user-memory-access Read in prepare_error_buf
* Struck through repros no longer work on HEAD.