syzbot


BUG: unable to handle kernel paging request in open_xa_dir

Status: upstream: reported C repro on 2024/12/10 20:35
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+33ebeba6aa23f90003e0@syzkaller.appspotmail.com
First crash: 11d, last: 11d
Bug presence (2)
Date Name Commit Repro Result
2024/12/10 linux-6.1.y (ToT) e4d90d63d385 C [report] BUG: unable to handle kernel paging request in open_xa_dir
2024/12/10 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 612d 838d 0/28 auto-obsoleted due to no activity on 2023/08/18 00:17
linux-5.15 BUG: unable to handle kernel paging request in open_xa_dir origin:upstream missing-backport C error 2 12d 244d 0/3 upstream: reported C repro on 2024/04/21 09:30
linux-6.1 general protection fault in open_xa_dir 9 150d 151d 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 991d 987d 0/28 auto-closed as invalid on 2022/07/04 17:03

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000000d
KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]
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: 4291 Comm: syz-executor401 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : d_really_is_negative include/linux/dcache.h:466 [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 : ffff8000210c71c0
x29: ffff8000210c7240 x28: 000000000000000d x27: dfff800000000000
x26: ffff700004218e38 x25: 0000000000000000 x24: 1fffe0001b3600cf
x23: 0000000000000068 x22: ffff0000e4450ed0 x21: ffff8000210c71e0
x20: 0000000000000002 x19: ffff0000d9b00678 x18: ffff8000210c7460
x17: 0000000000000000 x16: ffff800012272dc0 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: ffff700004218e3e
x11: 1ffff00004218e3c x10: 0000000000000001 x9 : 0000000000000001
x8 : 0000000000000000 x7 : 0000000000000000 x6 : ffff800008dd1b84
x5 : ffff8000210c7380 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffff8000210c71e0
Call trace:
 d_really_is_negative include/linux/dcache.h:466 [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:701
 iput_final fs/inode.c:1830 [inline]
 iput+0x7c0/0x8a4 fs/inode.c:1856
 hook_sb_delete+0x688/0xa10 security/landlock/fs.c:1021
 security_sb_delete+0x50/0x94 security/security.c:936
 generic_shutdown_super+0xac/0x328 fs/super.c:487
 kill_block_super+0x70/0xdc fs/super.c:1470
 reiserfs_kill_sb+0x134/0x14c fs/reiserfs/super.c:570
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 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: 97ee8ddc f94002e8 9101a117 d343fefc (387b6b88) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97ee8ddc 	bl	0xffffffffffba3770
   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 (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/11 01:02 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
2024/12/10 23:36 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
2024/12/10 22:38 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
2024/12/10 21:39 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
2024/12/10 20:35 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in open_xa_dir
* Struck through repros no longer work on HEAD.