syzbot


WARNING in ovl_create_real

Status: fixed on 2022/03/08 16:11
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+75eab84fd0af9e8bf66b@syzkaller.appspotmail.com
Fix commit: 1f5573cfe7a7 ovl: fix warning in ovl_create_real()
First crash: 1169d, last: 1068d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit b9fc8b4a591811546fec2dbef7e9f809362100c9
Author: Grant Seltzer <grantseltzer@gmail.com>
Date: Mon Feb 22 19:58:46 2021 +0000

  bpf: Add kernel/modules BTF presence checks to bpftool feature command

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 4.19 00/56] 4.19.222-rc1 review 66 (66) 2021/12/22 07:54
[PATCH 5.15 000/177] 5.15.11-rc1 review 183 (183) 2021/12/21 23:14
[PATCH 5.10 00/99] 5.10.88-rc1 review 106 (106) 2021/12/21 23:13
[PATCH 5.4 00/71] 5.4.168-rc1 review 78 (78) 2021/12/21 23:13
[syzbot] WARNING in ovl_create_real 2 (5) 2021/09/08 08:26
Last patch testing requests (2)
Created Duration User Patch Repo Result
2021/09/08 08:05 19m miklos@szeredi.hu patch upstream OK
2021/09/07 14:04 11m miklos@szeredi.hu patch upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6576 at fs/overlayfs/dir.c:212 ovl_create_real+0x272/0x520 fs/overlayfs/dir.c:212
Modules linked in:
CPU: 1 PID: 6576 Comm: syz-executor088 Not tainted 5.14.0-rc3-next-20210729-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ovl_create_real+0x272/0x520 fs/overlayfs/dir.c:212
Code: 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 02 00 00 49 83 7c 24 68 00 0f 85 7a fe ff ff e8 de b6 c3 fe <0f> 0b 4c 89 e5 49 c7 c4 fb ff ff ff e9 57 fe ff ff 66 81 eb 00 10
RSP: 0018:ffffc90002bef958 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000004000 RCX: 0000000000000000
RDX: ffff88807b10b900 RSI: ffffffff82b20102 RDI: ffff88806f971208
RBP: ffff88806f9711a0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff82b2018b R11: 0000000000000000 R12: ffff88806f9711a0
R13: 0000000000004000 R14: ffff8880715c8a20 R15: ffff8880715c8b00
FS:  00007fe7eef6d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f49bbacf000 CR3: 000000001eea6000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ovl_workdir_create+0x3a9/0x5b0 fs/overlayfs/super.c:790
 ovl_make_workdir fs/overlayfs/super.c:1364 [inline]
 ovl_get_workdir fs/overlayfs/super.c:1511 [inline]
 ovl_fill_super+0x199a/0x5fb0 fs/overlayfs/super.c:2067
 mount_nodev+0x60/0x110 fs/super.c:1414
 legacy_get_tree+0x105/0x220 fs/fs_context.c:610
 vfs_get_tree+0x89/0x2f0 fs/super.c:1498
 do_new_mount fs/namespace.c:2978 [inline]
 path_mount+0x132a/0x1fa0 fs/namespace.c:3308
 do_mount fs/namespace.c:3321 [inline]
 __do_sys_mount fs/namespace.c:3529 [inline]
 __se_sys_mount fs/namespace.c:3506 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3506
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4458d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe7eef6d2f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000004ca400 RCX: 00000000004458d9
RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 000000000040000d
RBP: 000000000049a074 R08: 0000000020000100 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 0079616c7265766f R14: 003270756f726763 R15: 00000000004ca408

Crashes (164):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/30 08:11 linux-next 4ccc9e2db7ac c585c7b0 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/11/07 08:17 upstream 512b7931ad05 4c1be0be .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ovl_create_real
2021/11/06 09:58 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/11/06 03:45 upstream fe91c4725aee 4c1be0be .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/11/06 01:06 upstream fe91c4725aee 4c1be0be .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/11/06 00:16 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/11/05 17:33 upstream d4439a1189f9 4c1be0be .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ovl_create_real
2021/11/03 02:01 upstream cc0356d6a02e 17f3edd2 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/10/20 21:03 upstream 8e37395c3a5d 418a00eb .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/10/20 09:42 upstream d9abdee5fd5a 466b7db1 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/10/18 13:08 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/10/18 11:56 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/10/10 07:01 upstream 7fd2bf83d59a 838e7e2c .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/10/07 13:53 upstream 5af4055fa813 62ee0987 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/09/18 19:37 upstream 4357f03d6611 70b76c1d .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/09/16 10:22 upstream b7213ffa0e58 07e953c1 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ovl_create_real
2021/09/13 08:53 upstream f306b90c69ce 5ae8508a .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/11 15:05 upstream 926de8c4326c 5ae8508a .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/09 13:18 upstream 730bf31b8fc8 e2776ee4 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/07 04:17 upstream 27151f177827 6ca60148 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/06 08:50 upstream 0319b848b155 d236a457 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/05 16:00 upstream 49624efa65ac d236a457 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/05 04:54 upstream f1583cb1be35 d236a457 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/03 00:13 upstream 4ac6d90867a4 15cea0a3 .config console log report info ci-upstream-kasan-gce-root WARNING in ovl_create_real
2021/09/02 22:26 upstream 4ac6d90867a4 15cea0a3 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ovl_create_real
2021/09/02 08:41 upstream 835d31d319d9 7eb7e152 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ovl_create_real
2021/10/20 19:20 linux-next 51dba6e335ff 418a00eb .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/10/18 08:55 linux-next 7c832d2f9b95 0c5d9412 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/10/16 23:35 linux-next 7c832d2f9b95 0c5d9412 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/10/10 07:01 linux-next 683f29b781ae 838e7e2c .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/10/07 04:30 linux-next 0dda5ee37364 62ee0987 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/10/03 18:57 linux-next a25006a77348 db0f5787 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/25 13:11 linux-next 5a5d008887b4 8cac236e .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/16 04:03 linux-next 70ced02f322f 07e953c1 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/13 14:34 linux-next 24a36d3171e4 3ce60af8 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/12 04:50 linux-next aa14a3016182 5ae8508a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/11 22:11 linux-next aa14a3016182 5ae8508a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/09/11 22:01 linux-next aa14a3016182 5ae8508a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/31 14:54 linux-next 52c7b727581f 8f58a0ef .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/29 06:06 linux-next 5e63226c7228 be2c130d .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 09:35 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 07:44 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 06:36 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 04:46 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 03:20 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/23 00:49 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/22 12:20 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/22 12:10 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/08/21 19:39 linux-next 86ed57fd8c93 b599f2fc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
2021/07/29 17:07 linux-next 4ccc9e2db7ac b44001ce .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ovl_create_real
* Struck through repros no longer work on HEAD.