syzbot


BUG: unable to handle kernel NULL pointer dereference in udf_rename

Status: auto-obsoleted due to no activity on 2023/05/19 17:29
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+17fcf98a689ff64f669b@syzkaller.appspotmail.com
First crash: 762d, last: 686d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] udf: fix NULL pointer dereference in udf_rename() 1 (1) 2022/11/08 02:27
[syzbot] BUG: unable to handle kernel NULL pointer dereference in udf_rename 0 (1) 2022/11/05 16:07
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/29 17:41 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log

Sample crash report:
loop0: detected capacity change from 0 to 2048
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/09/12 12:00 (1000)
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020
Mem abort info:
  ESR = 0x0000000096000046
  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 = 0x00000046
  CM = 0, WnR = 1
user pgtable: 4k pages, 48-bit VAs, pgdp=0000000109085000
[0000000000000020] pgd=0800000106b68003, p4d=0800000106b68003, pud=0800000106b69003, pmd=0000000000000000
Internal error: Oops: 0000000096000046 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3036 Comm: syz-executor863 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #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 : __memset+0x84/0x188 arch/arm64/lib/memset.S:100
lr : udf_write_fi+0x268/0x4e0
sp : ffff800012a53a50
x29: ffff800012a53a70 x28: 00000000000000d6 x27: 00000000000000d6
x26: 00000000fffffff0 x25: 0000000000000000 x24: 0000000000000006
x23: 00000000ffffffd4 x22: fffffffffffffff4 x21: ffff800012a53b40
x20: ffff800012a53b00 x19: 0000000000000003 x18: 0000000000000021
x17: 0000000000000000 x16: ffff80000db49158 x15: ffff0000c6401a80
x14: 0000000000000010 x13: 0000000000000000 x12: ffff0000c6401a80
x11: ff80800008d1bd1c x10: 0000000000000000 x9 : ffff800008d1bd1c
x8 : 0000000000000020 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010
x2 : ffffffffffffffd4 x1 : 0000000000000000 x0 : 0000000000000020
Call trace:
 __memset+0x84/0x188 arch/arm64/lib/memset.S:98
 udf_delete_entry fs/udf/namei.c:577 [inline]
 udf_rename+0x47c/0x6d0 fs/udf/namei.c:1173
 vfs_rename+0x59c/0x7f8 fs/namei.c:4756
 do_renameat2+0x490/0x758 fs/namei.c:4907
 __do_sys_renameat2 fs/namei.c:4940 [inline]
 __se_sys_renameat2 fs/namei.c:4937 [inline]
 __arm64_sys_renameat2+0x6c/0x88 fs/namei.c:4937
 __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:636
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: 54000060 5400006b a8811d07 a8811d07 (a8811d07) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	54000060 	b.eq	0xc  // b.none
   4:	5400006b 	b.lt	0x10  // b.tstop
   8:	a8811d07 	stp	x7, x7, [x8], #16
   c:	a8811d07 	stp	x7, x7, [x8], #16
* 10:	a8811d07 	stp	x7, x7, [x8], #16 <-- trapping instruction

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/05 06:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2023/01/19 17:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 1b826a2f .config console log report info ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2023/01/12 09:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/12/25 18:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/12/09 22:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/12/07 19:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/12/07 00:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/12/02 01:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/11/30 19:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/11/26 05:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
2022/11/05 06:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in udf_rename
* Struck through repros no longer work on HEAD.