syzbot


BUG: unable to handle kernel paging request in do_dentry_open

Status: moderation: reported on 2025/03/29 03:49
Subsystems: fs efi
[Documentation on labels]
Reported-by: syzbot+792fb76785fcdf91ed35@syzkaller.appspotmail.com
First crash: 7d20h, last: 7d20h

Sample crash report:
efivarfs: resyncing variable state
Unable to handle kernel paging request at virtual address dfff80000000000d
KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[dfff80000000000d] address between user and kernel address ranges
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 7314 Comm: syz.1.136 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : do_dentry_open+0x60/0x1538 fs/open.c:898
lr : do_dentry_open+0x38/0x1538 fs/open.c:896
sp : ffff80009f4b74e0
x29: ffff80009f4b7550 x28: ffff0000d679f040 x27: 1fffe000199912f1
x26: ffff0000d679f048 x25: ffff700013e96ec0 x24: 0000000000000000
x23: ffff80009f4b7628 x22: dfff800000000000 x21: 1fffe0001acf3e09
x20: 0000000000000068 x19: ffff0000d679efc0 x18: ffff0000d436c240
x17: 00000000000359bb x16: ffff80008b7285ac x15: 0000000000000002
x14: 1fffe0001acf3e08 x13: 0000000000000000 x12: 0000000000000000
x11: ffff60001acf3e0a x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 000000000000000d x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff0000d679f050 x4 : ffff80009f4b7630 x3 : ffff800080ceb730
x2 : 0000000000000010 x1 : 0000000000000000 x0 : ffff0000d679efc0
Call trace:
 do_dentry_open+0x60/0x1538 fs/open.c:898 (P)
 kernel_file_open+0x6c/0x308 fs/open.c:1200
 efivarfs_pm_notify+0x228/0x350 fs/efivarfs/super.c:505
 notifier_call_chain+0x1c4/0x550 kernel/notifier.c:85
 blocking_notifier_call_chain+0x70/0xa0 kernel/notifier.c:380
 pm_notifier_call_chain+0x2c/0x3c kernel/power/main.c:109
 snapshot_release+0x128/0x1b8 kernel/power/user.c:125
 __fput+0x340/0x760 fs/file_table.c:464
 ____fput+0x20/0x30 fs/file_table.c:492
 task_work_run+0x230/0x2e0 kernel/task_work.c:227
 get_signal+0x1324/0x1500 kernel/signal.c:2809
 do_signal+0x22c/0x3a04 arch/arm64/kernel/signal.c:1658
 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: 97fc3963 f9400348 9101a114 d343fe88 (38766908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97fc3963 	bl	0xfffffffffff0e58c
   4:	f9400348 	ldr	x8, [x26]
   8:	9101a114 	add	x20, x8, #0x68
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38766908 	ldrb	w8, [x8, x22] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/25 03:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in do_dentry_open
* Struck through repros no longer work on HEAD.