syzbot


BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked

Status: upstream: reported C repro on 2024/08/30 03:46
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+1850d38cdeb50dbd013d@syzkaller.appspotmail.com
First crash: 104d, last: 3d07h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/08/30 upstream (ToT) fb24560f31f9 C [report] BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked origin:upstream C 2 26d 26d 0/3 upstream: reported C repro on 2024/11/16 21:56
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/04 00:45 11m retest repro linux-5.15.y report log

Sample crash report:
loop0: detected capacity change from 0 to 64
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
  ESR = 0x0000000086000006
  EC = 0x21: IABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
user pgtable: 4k pages, 48-bit VAs, pgdp=0000000107a4c000
[0000000000000000] pgd=080000010ba3b003, p4d=080000010ba3b003, pud=080000011108e003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4018 Comm: syz-executor652 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : 0x0
lr : __lookup_slow+0x250/0x388 fs/namei.c:1663
sp : ffff80001fc070c0
x29: ffff80001fc071a0 x28: 0000000010000000 x27: 1fffe000180d182f
x26: dfff800000000000 x25: ffff700003f80e1c x24: ffff80001fc07100
x23: ffff0000de784018 x22: ffff80001fc07220 x21: ffff800011d46400
x20: 0000000000000000 x19: ffff0000c068c178 x18: ffff80001fc06c20
x17: 0000000000000000 x16: ffff800011b4c298 x15: 000000000000bcce
x14: 00000000953e73d0 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000cadb0000
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff800017842ea8 x4 : 0000000000000000 x3 : ffff8000089e2334
x2 : 0000000000000000 x1 : ffff0000c068c178 x0 : ffff0000de784018
Call trace:
 0x0
 lookup_slow fs/namei.c:1680 [inline]
 lookup_one_unlocked+0x144/0x254 fs/namei.c:2779
 lookup_one_len_unlocked+0x3c/0x50 fs/namei.c:2833
 ovl_lookup_positive_unlocked fs/overlayfs/namei.c:205 [inline]
 ovl_lookup_single+0x84/0x6c4 fs/overlayfs/namei.c:230
 ovl_lookup_layer+0x368/0x454 fs/overlayfs/namei.c:314
 ovl_lookup+0x840/0x1928 fs/overlayfs/namei.c:914
 lookup_open fs/namei.c:3440 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0xd9c/0x26cc fs/namei.c:3739
 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769
 do_sys_openat2+0x128/0x3e0 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_openat fs/open.c:1285 [inline]
 __se_sys_openat fs/open.c:1280 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: bad PC value
---[ end trace 321ff6f349049f7a ]---

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/09 17:10 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/08/30 16:26 linux-5.15.y fa93fa65db6e ee2602b8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/12/09 16:19 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/12/08 13:22 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/12/08 12:37 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/12/04 21:49 linux-5.15.y 0a51d2d4527b b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/12/01 21:44 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/11/29 20:41 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/11/26 23:31 linux-5.15.y 0a51d2d4527b e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/11/23 20:49 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/11/22 16:09 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/11/10 08:01 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
2024/08/30 03:46 linux-5.15.y fa93fa65db6e 9bd464fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel NULL pointer dereference in lookup_one_unlocked
* Struck through repros no longer work on HEAD.