syzbot


WARNING in ovl_d_real (2)

Status: upstream: reported on 2024/04/23 08:45
Reported-by: syzbot+3dfbb79fd73a0cfc58d6@syzkaller.appspotmail.com
First crash: 175d, last: 88d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ovl_d_real overlayfs 1 1573d 1571d 0/28 auto-closed as invalid on 2020/10/23 17:22
linux-6.1 WARNING in ovl_d_real 5 131d 166d 0/3 auto-obsoleted due to no activity on 2024/09/14 07:09
linux-5.15 WARNING in ovl_d_real 1 364d 364d 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 (ffff8880624791a0/1123) not found
WARNING: CPU: 0 PID: 6197 at fs/overlayfs/super.c:115 ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Modules linked in:
CPU: 0 PID: 6197 Comm: syz.1.725 Not tainted 5.15.163-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Code: 00 45 31 ff 31 c0 48 c7 c7 40 6d bf 8a 48 c7 c6 9f e4 1a 8c 4c 89 f2 4c 89 e1 4d 89 e8 4d 89 f9 50 e8 3f 27 79 fe 48 83 c4 08 <0f> 0b 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 46 81 ad fe 49
RSP: 0018:ffffc90002f974c8 EFLAGS: 00010282
RAX: cc9fc2dcfa895100 RBX: ffff888061b28dd8 RCX: 0000000000040000
RDX: ffffc90003a8d000 RSI: 000000000000a120 RDI: 000000000000a121
RBP: dffffc0000000000 R08: ffffffff8166868c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8abf6da0
R13: 0000000000000000 R14: ffff888062479d60 R15: ffff8880624791a0
FS:  00007fe8da37d6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000202f9030 CR3: 00000000732c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 d_real include/linux/dcache.h:587 [inline]
 d_real_inode include/linux/dcache.h:602 [inline]
 process_measurement+0x1d5f/0x21c0 security/integrity/ima/ima_main.c:283
 ima_file_check+0xf3/0x180 security/integrity/ima/ima_main.c:533
 do_open fs/namei.c:3610 [inline]
 path_openat+0x2748/0x2f20 fs/namei.c:3742
 do_filp_open+0x21c/0x460 fs/namei.c:3769
 do_sys_openat2+0x13b/0x4f0 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]
 __x64_sys_openat+0x243/0x290 fs/open.c:1280
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe8db91db59
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe8da37d048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe8dbaae038 RCX: 00007fe8db91db59
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007fe8db98ce5d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fe8dbaae038 R15: 00007ffecdbe3378
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/19 07:07 linux-5.15.y 7c6d66f0266f ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/07/10 08:01 linux-5.15.y f45bea23c39c bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/05/21 08:13 linux-5.15.y 83655231580b 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/05/21 08:10 linux-5.15.y 83655231580b 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/05/14 01:32 linux-5.15.y 284087d4f7d5 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/05/01 02:51 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ovl_d_real
2024/05/25 21:25 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ovl_d_real
2024/05/15 14:05 linux-5.15.y 284087d4f7d5 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ovl_d_real
2024/04/23 08:45 linux-5.15.y c52b9710c83d 21339d7b .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.