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: 2613d, last: 1273d
▶
▼
Last patch testing requests (1)
▶
▼
Fix bisection attempts (8)
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..
* Struck through repros no longer work on HEAD.