syzbot


WARNING in ovl_create_or_link

Status: upstream: reported C repro on 2019/07/03 23:48
Reported-by: syzbot+7cdbbadfa983b60d6fa9@syzkaller.appspotmail.com
First crash: 1812d, last: 472d
Fix bisection the fix commit could be any of (bisect log):
  e3c1b27308ae Linux 4.14.132
  4139fb08c05f Linux 4.14.187
  
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/09/01 05:27 10m retest repro linux-4.14.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2020/06/29 06:19 29m (3) bisect fix linux-4.14.y job log (2)
2020/05/30 05:35 22m bisect fix linux-4.14.y job log (0) log
2020/04/30 04:33 25m bisect fix linux-4.14.y job log (0) log
2020/03/31 04:09 23m bisect fix linux-4.14.y job log (0) log
2020/03/01 03:41 24m bisect fix linux-4.14.y job log (0) log
2020/01/31 03:14 25m bisect fix linux-4.14.y job log (0) log
2020/01/01 02:51 23m bisect fix linux-4.14.y job log (0) log
2019/12/02 02:09 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
rock: corrupted directory entry. extent=32, offset=2044, size=237
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7967 at fs/overlayfs/dir.c:521 ovl_create_or_link+0xc0e/0x1200 fs/overlayfs/dir.c:521
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7967 Comm: syz-executor287 Not tainted 4.14.301-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:ovl_create_or_link+0xc0e/0x1200 fs/overlayfs/dir.c:521
RSP: 0018:ffff88809b737be0 EFLAGS: 00010297
RAX: ffff8880b4e52400 RBX: ffff88808d74b548 RCX: 1ffff11012e9ae13
RDX: 0000000000000000 RSI: ffff8880b4e52d28 RDI: ffff8880974d7098
RBP: ffff88808d74d8f0 R08: 0000000000000282 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000a16d R14: ffff88808d7488d0 R15: 1ffff110136e6f88
 ovl_link+0x14f/0x190 fs/overlayfs/dir.c:614
 vfs_link+0x6d5/0xb40 fs/namei.c:4266
 SYSC_linkat fs/namei.c:4334 [inline]
 SyS_linkat+0x3e5/0x6a0 fs/namei.c:4290
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fdfac923859
RSP: 002b:00007ffef4861008 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fdfac923859
RDX: 00007fdfac923859 RSI: 0000000020000880 RDI: 0000000020000000
RBP: 00007fdfac8e3120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdfac8e31b0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/09 05:50 linux-4.14.y 65afe34ac33d 1034e5fa .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in ovl_create_or_link
2019/07/03 22:47 linux-4.14.y e3c1b27308ae 55565fa0 .config console log report syz C ci2-linux-4-14
2023/03/04 22:42 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/04 22:00 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/04 22:00 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/04 22:00 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/04 21:59 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/02 13:17 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/02 05:08 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/03/01 01:22 linux-4.14.y 7878a41b6cc1 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/02/05 14:00 linux-4.14.y 3949d1610004 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/02/04 08:13 linux-4.14.y 3949d1610004 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2023/01/14 23:40 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2022/12/15 23:27 linux-4.14.y c4215ee4771b 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
2022/12/09 03:03 linux-4.14.y 65afe34ac33d 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in ovl_create_or_link
* Struck through repros no longer work on HEAD.