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: 12d, last: 5d05h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ovl_d_real overlayfs 1 1410d 1409d 0/26 auto-closed as invalid on 2020/10/23 17:22
linux-6.1 WARNING in ovl_d_real 1 3d09h 3d09h 0/3 upstream: reported on 2024/05/02 22:16
linux-5.15 WARNING in ovl_d_real 1 202d 202d 0/3 auto-obsoleted due to no activity on 2024/01/24 23:41

Sample crash report:
------------[ cut here ]------------
ovl_d_real(/bus, NULL:0): real dentry (ffff888075f99028/1971) not found
WARNING: CPU: 1 PID: 5684 at fs/overlayfs/super.c:115 ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Modules linked in:
CPU: 1 PID: 5684 Comm: syz-executor.3 Not tainted 5.15.157-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ovl_d_real+0x215/0x480 fs/overlayfs/super.c:112
Code: 00 45 31 ff 31 c0 48 c7 c7 80 6b bf 8a 48 c7 c6 1f b4 1a 8c 4c 89 f2 4c 89 e1 4d 89 e8 4d 89 f9 50 e8 1f 2f 79 fe 48 83 c4 08 <0f> 0b 4c 89 f0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 d6 86 ad fe 49
RSP: 0018:ffffc900035e74c8 EFLAGS: 00010282
RAX: 2945a1e1db470900 RBX: ffff888061483eb0 RCX: 0000000000040000
RDX: ffffc9000f402000 RSI: 0000000000007832 RDI: 0000000000007833
RBP: dffffc0000000000 R08: ffffffff8166862c R09: ffffed10173667a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8abf6be0
R13: 0000000000000000 R14: ffff88806172e5e0 R15: ffff888075f99028
FS:  00007fb0201086c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd968e3b000 CR3: 00000000199d0000 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/0x500 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1273
 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:0x7fb021bb6ea9
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:00007fb0201080c8 EFLAGS: 00000246
 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fb021ce5050 RCX: 00007fb021bb6ea9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007fb021c034a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fb021ce5050 R15: 00007ffc2f139008
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.