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
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+54e4e9fcfedf78aadea9@syzkaller.appspotmail.com
First crash: 156d, last: 2d07h
Bug presence (3)
Date Name Commit Repro Result
2024/12/04 linux-5.15.y (ToT) 0a51d2d4527b C [report] BUG: unable to handle kernel paging request in prepare_error_buf
2024/07/19 upstream (ToT) 720261cfc732 C [report] BUG: unable to handle kernel paging request in prepare_error_buf
2024/12/04 upstream (ToT) feffde684ac2 C Didn't crash
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 origin:upstream missing-backport C 22 8d13h 125d 0/3 upstream: reported C repro on 2024/08/17 17:42
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/12/19 04:13 11m retest repro linux-5.15.y report log
2024/12/19 04:13 11m retest repro linux-5.15.y report log
2024/10/24 01:49 11m retest repro linux-5.15.y report log
2024/10/24 01:49 11m retest repro linux-5.15.y report log

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: 4024 Comm: syz-executor134 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 : ffff80001fe16c20
x29: ffff80001fe16da0 x28: ffff80001b84e919 x27: ffff80001b84da19
x26: ffff80001fe16eb8 x25: ffff80001fe16ea0 x24: ffff80001fe16d00
x23: ffff80001b84da00 x22: 0000000000000400 x21: ffff80001fe16ea8
x20: 0000000000000241 x19: dfff800000000000 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800008ccb4f0 x15: 000000000000007a
x14: ffff0000cadcd1c0 x13: 0000000000ff0100 x12: ffffffffffffffff
x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000cadcd1c0
x8 : 0000000000000048 x7 : 20736e6961746e6f x6 : 6961746e6f632029
x5 : ffff80001b84da19 x4 : ffff80001b84e919 x3 : ffff80000ab863d4
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+0x1c4/0x800 fs/file_table.c:280
 ____fput+0x20/0x30 fs/file_table.c:308
 task_work_run+0x130/0x1e4 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x670/0x20bc kernel/exit.c:874
 do_group_exit+0x110/0x268 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1005
 __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: 97f02639 f9400288 9100a114 d343fe88 (38736908) 
---[ end trace 0f404ac5049e5a91 ]---
----------------
Code disassembly (best guess):
   0:	97f02639 	bl	0xffffffffffc098e4
   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 (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/19 15:27 linux-5.15.y 0a51d2d4527b 571351cb .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/11/05 09:17 linux-5.15.y 72244eab0dad 509da429 .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 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/11/30 16:15 linux-5.15.y 0a51d2d4527b 68914665 .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/11/29 16:50 linux-5.15.y 0a51d2d4527b 5df23865 .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/11/29 01:39 linux-5.15.y 0a51d2d4527b 5df23865 .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/11/28 12:28 linux-5.15.y 0a51d2d4527b 5df23865 .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/11/23 23:39 linux-5.15.y 0a51d2d4527b 68da6d95 .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/11/19 12:35 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 prepare_error_buf
2024/11/16 09:30 linux-5.15.y d98fd109f827 cfe3a04a .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/11/11 04:19 linux-5.15.y 3c17fc483905 6b856513 .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/11/10 20:35 linux-5.15.y 3c17fc483905 6b856513 .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/11/10 03:43 linux-5.15.y 3c17fc483905 6b856513 .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/11/05 09:13 linux-5.15.y 72244eab0dad 509da429 .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/11/05 09:11 linux-5.15.y 72244eab0dad 509da429 .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/11/05 08:07 linux-5.15.y 72244eab0dad 509da429 .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: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.