syzbot


BUG: unable to handle kernel paging request in open_xa_dir

Status: upstream: reported C repro on 2022/09/05 08:53
Reported-by: syzbot+3c530d01065fbfab6070@syzkaller.appspotmail.com
First crash: 95d, last: 7d07h
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in open_xa_dir (2) 1 242d 238d 0/24 auto-closed as invalid on 2022/07/04 17:03
upstream general protection fault in open_xa_dir C done 3 783d 795d 17/24 fixed on 2020/11/16 12:12
linux-4.14 general protection fault in open_xa_dir C done 1 803d 803d 1/1 fixed on 2020/10/22 20:19
linux-4.19 general protection fault in open_xa_dir C unreliable 1 795d 795d 0/1 upstream: reported C repro on 2020/09/30 05:05

Sample crash report:
REISERFS (device loop0): Using tea hash to sort names
REISERFS warning (device loop0): jdm-20006 create_privroot: xattrs/ACLs enabled and couldn't find/create .reiserfs_priv. Failing mount.
loop0: detected capacity change from 0 to 32768
Unable to handle kernel paging request at virtual address dead4ead00000068
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004
  CM = 0, WnR = 0
[dead4ead00000068] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3114 Comm: syz-executor354 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 80400005 (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+0x48/0x2a8 fs/reiserfs/xattr.c:152
lr : open_xa_dir+0x34/0x2a8 fs/reiserfs/xattr.c:148
sp : ffff80000fc6b850
x29: ffff80000fc6b870 x28: 0000000000000030 x27: ffff0000c71289c0
x26: 0000000000000000 x25: 0000000000000000 x24: dead4ead00000000
x23: 0000000000000000 x22: 0000000000000002 x21: ffff0000caf387b8
x20: 0000000000000002 x19: ffff0000c9dd6000 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000008000 x12: ffff80000d4fdd40
x11: ff8080000879c764 x10: 0000000000000000 x9 : ffff80000879c764
x8 : ffff0000c6bd2d00 x7 : ffff8000086b4590 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff0000caf387b8
Call trace:
 open_xa_root fs/reiserfs/xattr.c:121 [inline]
 open_xa_dir+0x48/0x2a8 fs/reiserfs/xattr.c:152
 xattr_lookup+0x34/0x198 fs/reiserfs/xattr.c:395
 reiserfs_xattr_get+0x8c/0x6a8 fs/reiserfs/xattr.c:677
 reiserfs_get_acl+0x84/0x1ac fs/reiserfs/xattr_acl.c:214
 get_acl+0x104/0x398 fs/posix_acl.c:153
 check_acl+0x40/0x178 fs/namei.c:306
 acl_permission_check fs/namei.c:351 [inline]
 generic_permission+0x270/0x32c fs/namei.c:404
 reiserfs_permission+0x4c/0x6c fs/reiserfs/xattr.c:954
 do_inode_permission fs/namei.c:458 [inline]
 inode_permission+0x128/0x244 fs/namei.c:525
 may_open+0x1e4/0x2bc fs/namei.c:3185
 do_open fs/namei.c:3555 [inline]
 path_openat+0xdd0/0x11c4 fs/namei.c:3713
 do_filp_open+0xdc/0x1b8 fs/namei.c:3740
 do_sys_openat2+0xb8/0x22c fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __arm64_sys_openat+0xb0/0xe0 fs/open.c:1337
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
Code: 390043ff a9007fff f9433e68 f942cd18 (f9403708) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	390043ff 	strb	wzr, [sp, #16]
   4:	a9007fff 	stp	xzr, xzr, [sp]
   8:	f9433e68 	ldr	x8, [x19, #1656]
   c:	f942cd18 	ldr	x24, [x8, #1432]
* 10:	f9403708 	ldr	x8, [x24, #104] <-- trapping instruction

Crashes (55):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-arm64 2022/11/23 13:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 75740b3f .config log report syz C BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/27 07:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/23 09:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 75740b3f .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/21 18:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 1c576c23 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/21 13:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/18 10:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/18 05:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/16 20:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/14 18:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 943f4cb8 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/13 00:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/12 08:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/10 04:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 b2488a87 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/05 23:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/03 20:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/03 11:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 7a2ebf95 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/11/02 15:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 08977f5d .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/30 13:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/27 01:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/25 14:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/24 12:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 23bf86af .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/23 20:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 23bf86af .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/19 23:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 b31320fc .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/17 23:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/10 06:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/07 17:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 0de35f24 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/06 16:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 131b38ac .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/10/01 02:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/09/30 13:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5911b92626df 1d385642 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/09/27 11:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 87840e00 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/09/03 02:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 85413d1e802e 49e94a20 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/09/03 02:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 85413d1e802e 49e94a20 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-gce-arm64 2022/08/30 15:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d 4a380809 .config log report info BUG: unable to handle kernel paging request in open_xa_dir
ci-upstream-kasan-gce-smack-root 2022/10/31 07:39 upstream b229b6ca5abb 2a71366b .config log report info general protection fault in open_xa_dir
ci2-upstream-fs 2022/10/31 07:01 upstream b229b6ca5abb 2a71366b .config log report info general protection fault in open_xa_dir
ci2-upstream-fs 2022/10/28 21:16 upstream b229b6ca5abb 8168b69e .config log report info KASAN: user-memory-access Write in open_xa_dir
ci2-upstream-fs 2022/10/16 01:26 upstream 493ffd6605b2 67cb024c .config log report info general protection fault in open_xa_dir
ci-upstream-gce-arm64 2022/11/19 01:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/18 14:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/16 12:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/14 21:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 943f4cb8 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/13 04:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/12 12:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/08 04:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3577a7611842 881db35d .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/11/01 16:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 a1d8560a .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/31 03:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/24 17:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 ff2fe65d .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/23 08:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 c0b80a55 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/22 23:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 c0b80a55 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/21 23:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 4bfd3c27 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/17 23:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 754863b4 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/16 18:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/15 05:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 67cb024c .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/10/12 02:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 16a9c9e0 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
ci-upstream-gce-arm64 2022/09/27 22:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 87840e00 .config log report info BUG: unable to handle kernel NULL pointer dereference in open_xa_dir
* Struck through repros no longer work on HEAD.