syzbot


BUG: unable to handle kernel paging request in open_xa_dir

Status: upstream: reported C repro on 2024/04/21 09:30
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+11a171f65960379e24eb@syzkaller.appspotmail.com
First crash: 391d, last: 21d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/12/09 linux-5.15.y (ToT) 0a51d2d4527b C [report] BUG: unable to handle kernel paging request in open_xa_dir
2024/04/21 upstream (ToT) 977b1ef51866 C [report] BUG: unable to handle kernel paging request in open_xa_dir
2024/12/09 upstream (ToT) 7cb1b4663150 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in open_xa_dir reiserfs C 82 758d 985d 0/28 auto-obsoleted due to no activity on 2023/08/18 00:17
linux-6.1 BUG: unable to handle kernel paging request in open_xa_dir origin:lts-only C error 6 75d 157d 0/3 upstream: reported C repro on 2024/12/10 20:35
linux-6.1 general protection fault in open_xa_dir 9 297d 297d 0/3 auto-obsoleted due to no activity on 2024/11/01 02:44
upstream general protection fault in open_xa_dir (2) reiserfs 1 1137d 1133d 0/28 auto-closed as invalid on 2022/07/04 17:03
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/04/26 02:46 17m retest repro linux-5.15.y report log
2025/02/18 02:07 10m retest repro linux-5.15.y report log
2024/10/12 17:55 11m retest repro linux-5.15.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/04/20 21:34 1m fix candidate upstream error job log
2025/01/08 10:07 2m fix candidate upstream error job log
2024/05/24 23:41 0m bisect fix linux-5.15.y error job log

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000000d
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
[dfff80000000000d] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4023 Comm: syz-executor896 Not tainted 5.15.180-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : d_really_is_negative include/linux/dcache.h:476 [inline]
pc : open_xa_root fs/reiserfs/xattr.c:124 [inline]
pc : open_xa_dir+0xf8/0x578 fs/reiserfs/xattr.c:152
lr : open_xa_dir+0x9c/0x578 fs/reiserfs/xattr.c:150
sp : ffff80001d757200
x29: ffff80001d757280 x28: 000000000000000d x27: dfff800000000000
x26: ffff700003aeae40 x25: 0000000000000000 x24: 1fffe000197b50cf
x23: 0000000000000068 x22: ffff0000de6b0ed0 x21: ffff80001d757220
x20: 0000000000000002 x19: ffff0000cbda8678 x18: ffff80001d757480
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: ffff700003aeae46
x11: 1ffff00003aeae44 x10: 0000000000000001 x9 : 0000000000000001
x8 : 0000000000000000 x7 : 0000000000000000 x6 : ffff800008d186cc
x5 : ffff80001d7573c0 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff80001d757220
Call trace:
 d_really_is_negative include/linux/dcache.h:476 [inline]
 open_xa_root fs/reiserfs/xattr.c:124 [inline]
 open_xa_dir+0xf8/0x578 fs/reiserfs/xattr.c:152
 reiserfs_for_each_xattr+0x16c/0x8d8 fs/reiserfs/xattr.c:252
 reiserfs_delete_xattrs+0x2c/0xa4 fs/reiserfs/xattr.c:364
 reiserfs_evict_inode+0x1dc/0x3f0 fs/reiserfs/inode.c:53
 evict+0x418/0x894 fs/inode.c:647
 iput_final fs/inode.c:1769 [inline]
 iput+0x744/0x824 fs/inode.c:1795
 hook_sb_delete+0x688/0xa14 security/landlock/fs.c:516
 security_sb_delete+0x50/0x94 security/security.c:921
 generic_shutdown_super+0xac/0x2f0 fs/super.c:461
 kill_block_super+0x70/0xdc fs/super.c:1427
 reiserfs_kill_sb+0x134/0x14c fs/reiserfs/super.c:570
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0x108/0x128 fs/super.c:366
 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x130/0x1e4 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline]
 el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609
 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: 97ef05bc f94002e8 9101a117 d343fefc (387b6b88) 
---[ end trace c8adbc98cdf0fa0c ]---
----------------
Code disassembly (best guess):
   0:	97ef05bc 	bl	0xffffffffffbc16f0
   4:	f94002e8 	ldr	x8, [x23]
   8:	9101a117 	add	x23, x8, #0x68
   c:	d343fefc 	lsr	x28, x23, #3
* 10:	387b6b88 	ldrb	w8, [x28, x27] <-- trapping instruction

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/11 18:16 linux-5.15.y f7347f400572 94486846 .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 open_xa_dir
2024/04/21 10:25 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
2024/04/21 09:29 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
* Struck through repros no longer work on HEAD.