syzbot


general protection fault in cgroup_kill_sb

Status: upstream: reported C repro on 2019/04/18 07:38
Reported-by: syzbot+0611b66a8c93f334c4e1@syzkaller.appspotmail.com
First crash: 2079d, last: 1730d
Fix bisection: failed (error log, bisect log)
  
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/10 16:31 11m retest repro linux-4.14.y report log
2022/08/28 11:27 10m retest repro linux-4.14.y report log

Sample crash report:
RBP: 00007ffd6dee33a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 6817 Comm: syz-executor305 Not tainted 4.14.141 #37
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880763ac740 task.stack: ffff888084fc0000
RIP: 0010:cgroup_root_from_kf kernel/cgroup/cgroup.c:1178 [inline]
RIP: 0010:cgroup_kill_sb+0x2e/0x330 kernel/cgroup/cgroup.c:2035
RSP: 0018:ffff888084fc7ac0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff8778f720 RDI: ffff888090020eb0
RBP: ffff888084fc7ae0 R08: ffff8880763ac740 R09: ffff8880763acfe0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090020e80
R13: ffffffff877add80 R14: ffff888090020e80 R15: dffffc0000000000
FS:  0000000000ad5880(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000300 CR3: 000000009bc47000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 deactivate_locked_super+0x74/0xe0 fs/super.c:319
 sget_userns+0x9d9/0xc30 fs/super.c:537
 kernfs_mount_ns+0xe9/0x790 fs/kernfs/mount.c:324
 kernfs_mount include/linux/kernfs.h:543 [inline]
 cgroup_do_mount+0x9e/0x270 kernel/cgroup/cgroup.c:1952
 cgroup_mount+0x789/0x8b0 kernel/cgroup/cgroup.c:2019
 mount_fs+0x97/0x2a1 fs/super.c:1237
 vfs_kern_mount.part.0+0x5e/0x3d0 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2549 [inline]
 do_mount+0x417/0x27d0 fs/namespace.c:2879
 SYSC_mount fs/namespace.c:3095 [inline]
 SyS_mount+0xab/0x120 fs/namespace.c:3072
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441129
RSP: 002b:00007ffd6dee3388 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441129
RDX: 00000000200002c0 RSI: 0000000020000200 RDI: 0000000000000000
RBP: 00007ffd6dee33a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
Code: e5 41 55 41 54 49 89 fc 53 48 83 ec 08 e8 7b 2a 06 00 4c 89 e7 e8 f3 f3 52 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 c4 02 00 00 48 8b 18 48 b8 00 00 00 00 00 fc 
RIP: cgroup_root_from_kf kernel/cgroup/cgroup.c:1178 [inline] RSP: ffff888084fc7ac0
RIP: cgroup_kill_sb+0x2e/0x330 kernel/cgroup/cgroup.c:2035 RSP: ffff888084fc7ac0
---[ end trace 207d3c26eed271f0 ]---

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/30 17:22 linux-4.14.y 01fd1694b93c 9adfa876 .config console log report syz C ci2-linux-4-14
2020/04/01 19:48 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report ci2-linux-4-14
2020/03/21 02:51 linux-4.14.y 01364dad1d45 2c31c529 .config console log report ci2-linux-4-14
2020/03/17 09:00 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/03/09 10:49 linux-4.14.y 78d697fc93f9 2e9971bb .config console log report ci2-linux-4-14
2020/02/12 04:17 linux-4.14.y e0f8b8a65a47 4d1ab643 .config console log report ci2-linux-4-14
2020/02/06 07:30 linux-4.14.y e0f8b8a65a47 662cf49a .config console log report ci2-linux-4-14
2020/02/04 15:00 linux-4.14.y 9fa690a2a016 93e5e335 .config console log report ci2-linux-4-14
2020/01/29 13:23 linux-4.14.y 9a95f25269bd c8e81ce4 .config console log report ci2-linux-4-14
2020/01/14 04:45 linux-4.14.y 6d0c334a400d 32881205 .config console log report ci2-linux-4-14
2020/01/08 21:03 linux-4.14.y 84f5ad468100 ddc3e859 .config console log report ci2-linux-4-14
2020/01/03 14:44 linux-4.14.y 4c5bf01e16a7 9dcc1191 .config console log report ci2-linux-4-14
2019/12/21 17:21 linux-4.14.y e1f7d50ae3a3 bc586918 .config console log report ci2-linux-4-14
2019/12/19 16:28 linux-4.14.y bfb9e5c03076 36650b4b .config console log report ci2-linux-4-14
2019/12/08 15:30 linux-4.14.y a844dc4c5442 1508f453 .config console log report ci2-linux-4-14
2019/11/30 14:17 linux-4.14.y 43598c571e7e 3a75be00 .config console log report ci2-linux-4-14
2019/11/17 10:46 linux-4.14.y 775d01b65b5d d5696d51 .config console log report ci2-linux-4-14
2019/11/13 07:33 linux-4.14.y 4762bcd451a9 048f2d49 .config console log report ci2-linux-4-14
2019/10/11 08:33 linux-4.14.y 42327896f194 1a3bad90 .config console log report ci2-linux-4-14
2019/09/30 17:41 linux-4.14.y f6e27dbb1afa c7a4fb99 .config console log report ci2-linux-4-14
2019/08/30 17:00 linux-4.14.y 01fd1694b93c 9adfa876 .config console log report ci2-linux-4-14
2019/08/30 03:41 linux-4.14.y 01fd1694b93c cd626f3b .config console log report ci2-linux-4-14
2019/08/25 01:47 linux-4.14.y 45f092f9e9cb d21c5d9d .config console log report ci2-linux-4-14
2019/08/19 20:54 linux-4.14.y 45f092f9e9cb ae348fb7 .config console log report ci2-linux-4-14
2019/04/18 06:37 linux-4.14.y 58b454ebf81e b0e8efcb .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.