[v5.15] WARNING in ovl_d_real (2)

2 views
Skip to first unread message

syzbot

unread,
Apr 23, 2024, 4:45:20 AM (13 days ago) Apr 23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c52b9710c83d Linux 5.15.156
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=164483fd180000
kernel config: https://syzkaller.appspot.com/x/.config?x=41e09ec50c6bb4e4
dashboard link: https://syzkaller.appspot.com/bug?extid=3dfbb79fd73a0cfc58d6
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/586695cf1548/disk-c52b9710.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/10a68b27874f/vmlinux-c52b9710.xz
kernel image: https://storage.googleapis.com/syzbot-assets/610e1be513a8/Image-c52b9710.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3dfbb7...@syzkaller.appspotmail.com

------------[ cut here ]------------
ovl_d_real(/file3, nvme0n1p2:1769): real dentry (000000007987ea96/1779) not found
WARNING: CPU: 1 PID: 7021 at fs/overlayfs/super.c:115 ovl_d_real+0x374/0x43c fs/overlayfs/super.c:112
Modules linked in:
CPU: 1 PID: 7021 Comm: syz-executor.4 Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
pstate: 60401005 (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 : ffff80001e8e72d0
x29: ffff80001e8e72d0 x28: 1fffe0001a7ed4cf x27: ffff0000d3f6c000
x26: dfff800000000000 x25: ffff700003d1ce70 x24: dfff800000000000
x23: ffff0000ea56b4b8 x22: 00000000000006e9 x21: ffff0000daf0a000
x20: ffff0000d3f6a6a8 x19: ffff0000daf0b608 x18: 1fffe0003690198e
x17: 1fffe0003690198e x16: ffff8000119967f4 x15: ffff8000149dec20
x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000040000
x11: 000000000000405e x10: ffff80001e299000 x9 : 54b3f36009ca4200
x8 : 54b3f36009ca4200 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a974cc0
x2 : ffff0001b480cd10 x1 : 0000000100000000 x0 : 0000000000000051
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:857
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/0x3d8 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: 162
hardirqs last enabled at (161): [<ffff800008269adc>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline]
hardirqs last enabled at (161): [<ffff800008269adc>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784
hardirqs last disabled at (162): [<ffff800011991e80>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last enabled at (156): [<ffff800008021c64>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last enabled at (156): [<ffff800008021c64>] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587
softirqs last disabled at (131): [<ffff8000081b6568>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (131): [<ffff8000081b6568>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (131): [<ffff8000081b6568>] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637
---[ end trace 97fca1e59244a321 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages