syzbot


WARNING in ovl_d_real

Status: upstream: reported on 2024/05/02 22:16
Reported-by: syzbot+00169ed4e2d939105d45@syzkaller.appspotmail.com
First crash: 53d, last: 18d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ovl_d_real (2) 7 30d 62d 0/3 upstream: reported on 2024/04/23 08:45
upstream WARNING in ovl_d_real overlayfs 1 1460d 1458d 0/27 auto-closed as invalid on 2020/10/23 17:22
linux-5.15 WARNING in ovl_d_real 1 251d 251d 0/3 auto-obsoleted due to no activity on 2024/01/24 23:41

Sample crash report:
------------[ cut here ]------------
ovl_d_real(/file3, NULL:0): real dentry (ffff888070f0b318/1967) not found
WARNING: CPU: 1 PID: 6543 at fs/overlayfs/super.c:116 ovl_d_real+0x215/0x480 fs/overlayfs/super.c:113
Modules linked in:
CPU: 1 PID: 6543 Comm: syz-executor.4 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:ovl_d_real+0x215/0x480 fs/overlayfs/super.c:113
Code: 00 45 31 ff 31 c0 48 c7 c7 80 d5 22 8b 48 c7 c6 db 0b 95 8c 4c 89 f2 4c 89 e1 4d 89 e8 4d 89 f9 50 e8 ef 63 5c fe 48 83 c4 08 <0f> 0b 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d6 64 94 fe 49
RSP: 0018:ffffc900033af4c8 EFLAGS: 00010282
RAX: 4bad0d6684430400 RBX: ffff888053883518 RCX: 0000000000040000
RDX: ffffc90004859000 RSI: 000000000000a5b8 RDI: 000000000000a5b9
RBP: dffffc0000000000 R08: ffffffff81528ede R09: fffffbfff2093879
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8b22d5e0
R13: 0000000000000000 R14: ffff888070f0a468 R15: ffff888070f0b318
FS:  00007f99f07d56c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4ce0c64bc6 CR3: 000000007c84c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 d_real include/linux/dcache.h:577 [inline]
 d_real_inode include/linux/dcache.h:592 [inline]
 process_measurement+0x1d4b/0x21b0 security/integrity/ima/ima_main.c:283
 ima_file_check+0xed/0x170 security/integrity/ima/ima_main.c:534
 do_open fs/namei.c:3630 [inline]
 path_openat+0x2687/0x2e60 fs/namei.c:3785
 do_filp_open+0x230/0x480 fs/namei.c:3812
 do_sys_openat2+0x13b/0x500 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1345
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f99f1c7cf69
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:00007f99f07d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f99f1db4050 RCX: 00007f99f1c7cf69
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007f99f1cda6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f99f1db4050 R15: 00007ffde2d68718
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/06 07:08 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ovl_d_real
2024/05/28 23:53 linux-6.1.y 88690811da69 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ovl_d_real
2024/05/24 12:00 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ovl_d_real
2024/05/21 16:07 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ovl_d_real
2024/05/02 22:16 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ovl_d_real
* Struck through repros no longer work on HEAD.