syzbot


BUG: unable to handle kernel paging request in __d_add

Status: auto-obsoleted due to no activity on 2023/08/21 13:23
Reported-by: syzbot+3c9cd6872f3e5d701461@syzkaller.appspotmail.com
First crash: 341d, last: 340d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in __d_add 2 371d 378d 0/3 auto-obsoleted due to no activity on 2023/07/21 00:17
upstream general protection fault in __d_add ntfs3 C error 16 479d 535d 22/26 fixed on 2023/06/08 14:41

Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000001
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
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
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 7880 Comm: syz-executor.5 Not tainted 6.1.25-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : d_flags_for_inode fs/dcache.c:1980 [inline]
pc : __d_add+0x490/0x644 fs/dcache.c:2787
lr : d_flags_for_inode fs/dcache.c:1979 [inline]
lr : __d_add+0xe8/0x644 fs/dcache.c:2787
sp : ffff80001f7e7620
x29: ffff80001f7e7640
 x28: 1fffe0001b9bd5d6 x27: dfff800000000000
x26: 0000000000000008 x25: 0000000000008000 x24: ffff00012b310252
x23: 0000000000000002
 x22: 1fffe0002566204a
 x21: ffff0000dcdeaeb0

x20: ffff0000dcdeaf40
 x19: ffff00012b310250
 x18: ffff80001f7e7320

x17: ffff800008a5ef3c
 x16: ffff80001202aac0
 x15: 0000000000037dc1

x14: 00000000ffffffff
 x13: dfff800000000000
 x12: 0000000000000002

x11: ff80800008a96aa8
 x10: 0000000000000002
 x9 : 0000000000000001

x8 : 0000000000000008
 x7 : 0000000000000000
 x6 : 0000000000000000

x5 : 0000000000000020 x4 : 0000000000000008 x3 : 0000000000000000
x2 : 0000000000000008 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 d_flags_for_inode fs/dcache.c:1980 [inline]
 __d_add+0x490/0x644 fs/dcache.c:2787
 d_splice_alias+0xfc/0x310 fs/dcache.c:3182
 ntfs_lookup+0x15c/0x1a4 fs/ntfs3/namei.c:89
 lookup_open fs/namei.c:3391 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0xd3c/0x2548 fs/namei.c:3711
 do_filp_open+0x1bc/0x3cc fs/namei.c:3741
 do_sys_openat2+0x128/0x3d8 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+0x1f0/0x240 fs/open.c:1337
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: f94003e8 f9400108 91002108 d343fd09 (387b6929) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	f94003e8 	ldr	x8, [sp]
   4:	f9400108 	ldr	x8, [x8]
   8:	91002108 	add	x8, x8, #0x8
   c:	d343fd09 	lsr	x9, x8, #3
* 10:	387b6929 	ldrb	w9, [x9, x27] <-- trapping instruction

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/23 13:22 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in __d_add
2023/04/22 19:47 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in __d_add
* Struck through repros no longer work on HEAD.