syzbot


WARNING in ovl_d_real

Status: auto-obsoleted due to no activity on 2024/01/24 23:41
Reported-by: syzbot+e716afa9f936026f06ea@syzkaller.appspotmail.com
First crash: 199d, last: 199d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ovl_d_real (2) 2 2d03h 9d21h 0/3 upstream: reported on 2024/04/23 08:45
upstream WARNING in ovl_d_real overlayfs 1 1407d 1405d 0/26 auto-closed as invalid on 2020/10/23 17:22
linux-6.1 WARNING in ovl_d_real 1 7h58m 7h57m 0/3 upstream: reported on 2024/05/02 22:16

Sample crash report:
------------[ cut here ]------------
ovl_d_real(/file2, overlay:2068): real dentry (ffff888018f86bc0/2040) not found
WARNING: CPU: 0 PID: 23570 at fs/overlayfs/super.c:115 ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Modules linked in:
CPU: 0 PID: 23570 Comm: syz-executor.5 Not tainted 5.15.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Code: 00 45 31 ff 31 c0 48 c7 c7 80 f4 be 8a 48 c7 c6 3f d6 19 8c 4c 89 f2 4c 89 e1 4d 89 e8 4d 89 f9 50 e8 1f b2 7a fe 48 83 c4 08 <0f> 0b 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 06 f7 ae fe 49
RSP: 0018:ffffc90002eaf688 EFLAGS: 00010286
RAX: 68f1d0055ed9a300 RBX: ffff8880763f96d0 RCX: 0000000000040000
RDX: ffffc90003a31000 RSI: 0000000000017f07 RDI: 0000000000017f08
RBP: dffffc0000000000 R08: ffffffff8166587c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888032f2c6a8
R13: 0000000000000814 R14: ffff888018f49608 R15: ffff888018f86bc0
FS:  00007f4d8b5396c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce4508a000 CR3: 000000003ed59000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 d_real include/linux/dcache.h:587 [inline]
 file_dentry include/linux/fs.h:1362 [inline]
 ovl_open+0x196/0x200 fs/overlayfs/file.c:149
 do_dentry_open+0x807/0xfb0 fs/open.c:826
 open_with_fake_path+0x53/0x90 fs/open.c:990
 ovl_open_realfile+0x16d/0x2c0 fs/overlayfs/file.c:60
 ovl_open+0xe7/0x200 fs/overlayfs/file.c:156
 do_dentry_open+0x807/0xfb0 fs/open.c:826
 do_open fs/namei.c:3538 [inline]
 path_openat+0x2702/0x2f20 fs/namei.c:3672
 do_filp_open+0x21c/0x460 fs/namei.c:3699
 do_sys_openat2+0x13b/0x500 fs/open.c:1211
 do_sys_open fs/open.c:1227 [inline]
 __do_sys_open fs/open.c:1235 [inline]
 __se_sys_open fs/open.c:1231 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1231
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f4d8cfd8ae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4d8b5390c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f4d8d0f8050 RCX: 00007f4d8cfd8ae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280
RBP: 00007f4d8d02447a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f4d8d0f8050 R15: 00007ffdcacf7858
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/16 23:40 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
* Struck through repros no longer work on HEAD.