syzbot


WARNING in ovl_d_real (3)

Status: upstream: reported on 2025/03/06 02:00
Reported-by: syzbot+58312523c02bbd13aedc@syzkaller.appspotmail.com
First crash: 8d03h, last: 8d03h
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ovl_d_real (2) 11 140d 324d 0/3 auto-obsoleted due to no activity on 2025/02/02 03:25
upstream WARNING in ovl_d_real overlayfs 1 1722d 1720d 0/28 auto-closed as invalid on 2020/10/23 17:22
linux-6.1 WARNING in ovl_d_real 5 280d 315d 0/3 auto-obsoleted due to no activity on 2024/09/14 07:09
linux-5.15 WARNING in ovl_d_real 1 514d 514d 0/3 auto-obsoleted due to no activity on 2024/01/24 23:41

Sample crash report:
------------[ cut here ]------------
ovl_d_real(/file3, loop8:15): real dentry (00000000a2999140/21) not found
WARNING: CPU: 0 PID: 7312 at fs/overlayfs/super.c:115 ovl_d_real+0x374/0x43c fs/overlayfs/super.c:112
Modules linked in:
CPU: 0 PID: 7312 Comm: syz.8.758 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ovl_d_real+0x374/0x43c fs/overlayfs/super.c:112
lr : ovl_d_real+0x374/0x43c fs/overlayfs/super.c:112
sp : ffff8000203c72d0
x29: ffff8000203c72d0 x28: 1fffe0001b7f040c x27: ffff0000dbf82000
x26: dfff800000000000 x25: ffff700004078e70 x24: dfff800000000000
x23: ffff0000de31f088 x22: 000000000000000f x21: ffff0000de0b1d60
x20: ffff0000dbf846a8 x19: ffff0000d868dd60 x18: 1fffe0003682eb8e
x17: 1fffe0003682eb8e x16: ffff800011b4e3fc x15: ffff800014c0fac0
x14: 1ffff0000296e06c x13: dfff800000000000 x12: 0000000000080000
x11: 00000000000040e6 x10: ffff80002969f000 x9 : f3660dd8da08f600
x8 : f3660dd8da08f600 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000aa0f0fc
x2 : ffff0001b4175d10 x1 : 0000000100000000 x0 : 0000000000000049
Call trace:
 ovl_d_real+0x374/0x43c fs/overlayfs/super.c:112
 d_real include/linux/dcache.h:587 [inline]
 file_dentry include/linux/fs.h:1388 [inline]
 fscrypt_file_open+0x264/0x2b8 fs/crypto/hooks.c:39
 ext4_file_open+0x144/0x540 fs/ext4/file.c:836
 do_dentry_open+0x780/0xed8 fs/open.c:826
 open_with_fake_path+0x68/0xac fs/open.c:1032
 ovl_open_realfile+0x150/0x288 fs/overlayfs/file.c:60
 ovl_open+0xdc/0x1e0 fs/overlayfs/file.c:156
 do_dentry_open+0x780/0xed8 fs/open.c:826
 vfs_open+0x7c/0x90 fs/open.c:956
 do_open fs/namei.c:3608 [inline]
 path_openat+0x1ea0/0x26cc fs/namei.c:3742
 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
irq event stamp: 160
hardirqs last  enabled at (159): [<ffff80000826ac80>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline]
hardirqs last  enabled at (159): [<ffff80000826ac80>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781
hardirqs last disabled at (160): [<ffff800011b49ab0>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (154): [<ffff8000081b6920>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (154): [<ffff8000081b6920>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (145): [<ffff8000081b6fb8>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (145): [<ffff8000081b6fb8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (145): [<ffff8000081b6fb8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (145): [<ffff8000081b6fb8>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace 88d7e3581f46f187 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/06 01:59 linux-5.15.y c16c81c81336 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ovl_d_real
* Struck through repros no longer work on HEAD.