syzbot


WARNING in bpf_cgroup_link_release

Status: upstream: reported C repro on 2020/04/15 06:55
Reported-by: syzbot+8a5dadc5c0b1d7055945@syzkaller.appspotmail.com
First crash: 809d, last: 21h39m

Cause bisection: failed (bisect log)

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3607 at kernel/bpf/cgroup.c:938 bpf_cgroup_link_release.part.0+0x147/0x180 kernel/bpf/cgroup.c:938
Modules linked in:
CPU: 0 PID: 3607 Comm: syz-executor518 Not tainted 5.19.0-rc4-syzkaller-00125-ga175eca0f3d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:bpf_cgroup_link_release.part.0+0x147/0x180 kernel/bpf/cgroup.c:938
Code: ff ff 5b 5d 41 5c e9 58 e3 e1 ff e8 53 e3 e1 ff 48 c7 c7 20 b8 dc 8b e8 57 b5 e0 07 5b 5d 41 5c e9 3e e3 e1 ff e8 39 e3 e1 ff <0f> 0b e9 45 ff ff ff e8 7d a7 2e 00 e9 18 ff ff ff e8 73 a7 2e 00
RSP: 0018:ffffc90002e9fdb8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888025315700 RCX: 0000000000000000
RDX: ffff88807ed39d80 RSI: ffffffff81988377 RDI: 0000000000000005
RBP: 00000000fffffff4 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff888025315768
R13: ffff888025315718 R14: ffffc90000aee000 R15: ffff88813fe4d3a0
FS:  00005555565ca300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056420463a000 CR3: 0000000070b79000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 bpf_cgroup_link_release+0x38/0x50 kernel/bpf/cgroup.c:927
 bpf_link_free+0xe6/0x1b0 kernel/bpf/syscall.c:2693
 bpf_link_put+0x161/0x1b0 kernel/bpf/syscall.c:2719
 bpf_link_release+0x33/0x40 kernel/bpf/syscall.c:2728
 __fput+0x277/0x9d0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 ptrace_notify+0x114/0x140 kernel/signal.c:2353
 ptrace_report_syscall include/linux/ptrace.h:420 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline]
 syscall_exit_work kernel/entry/common.c:249 [inline]
 syscall_exit_to_user_mode_prepare+0xdb/0x230 kernel/entry/common.c:276
 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline]
 syscall_exit_to_user_mode+0x9/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f5eab12a1a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc2abf9238 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f5eab12a1a9
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000003
RBP: 00007ffc2abf9260 R08: 0000000000000001 R09: 00007ffc2abf9270
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000a
R13: 00007ffc2abf9280 R14: 00007ffc2abf92c0 R15: 0000000000000000
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2022/03/24 10:28 net f92fcb5c00dc d5a3ae1f .config log report syz C
Crashes (626):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/07/02 01:17 upstream a175eca0f3d7 1434eec0 .config log report syz C WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-smack-root 2022/06/26 01:42 upstream 8c23f235a6a8 a371c43c .config log report syz C WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-smack-root 2022/05/12 05:06 upstream feb9c5e19e91 beb0b407 .config log report syz C WARNING in bpf_cgroup_link_release
ci-upstream-net-this-kasan-gce 2020/09/01 02:57 net bb8872a1e6bc d5a3ae1f .config log report syz C
ci-upstream-kasan-gce-root 2022/06/25 16:30 upstream 6a0a17e6c6d1 a371c43c .config log report syz WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2022/05/14 06:50 upstream ec7f49619d8e 107f6434 .config log report syz WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-selinux-root 2022/06/17 20:59 upstream f0ec9c65a8d6 cb58b3b2 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2022/05/26 16:42 upstream 7e062cda7d90 3037caa9 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-smack-root 2022/05/12 04:43 upstream feb9c5e19e91 beb0b407 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2022/04/12 15:08 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2022/04/11 06:04 upstream 1862a69c9174 e22c3da3 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-smack-root 2022/02/12 10:01 upstream 1d41d2e82623 8b9ca619 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-selinux-root 2021/12/30 02:54 upstream e7c124bd0463 6cc879d4 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-selinux-root 2021/12/22 09:55 upstream 2f47a9a4dfa3 6caa12e4 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2021/12/19 20:03 upstream 3f667b5d4053 44068e19 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2021/12/03 03:04 upstream a51e3ac43ddb 61f86278 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-root 2021/12/01 03:54 upstream f080815fdb3e 80270552 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2022/07/02 07:59 bpf a49b8ce7306c 1434eec0 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2022/06/23 21:07 bpf a2b1a5d40bd1 912f5df7 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2022/01/15 19:08 bpf 343e53754b21 723cfaf0 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/16 10:21 bpf e523102cb719 572bcb40 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/15 00:08 bpf 0be2516f865f d018dd31 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/13 02:56 bpf 0be2516f865f 49ca1f59 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/11 02:29 bpf 0be2516f865f 49ca1f59 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/08 22:23 bpf b560b21f71eb a4a2a501 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-net-this-kasan-gce 2021/12/07 05:13 net 4dbb0dad8e63 0230ba3e .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/06 12:40 bpf 2fa7d94afc1a 579a8754 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/03 16:44 bpf 7d9b3ad424f4 c7c20675 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/02 00:09 bpf 099f83aa2d06 61f86278 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/12/01 02:04 bpf 79364031c5b4 80270552 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/11/29 19:12 bpf c0d95d3380ee d0830353 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-kasan-gce 2021/11/25 18:43 bpf c0d95d3380ee 63eeac02 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/02/22 06:21 bpf-next e5313968c41b 6e821dbf .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/02/08 03:15 bpf-next e91d280c840f a7dab638 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/27 21:36 bpf-next 8033c6c2fed2 64a8e201 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/26 06:17 bpf-next 451c4260443a 2cbffd88 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/21 22:21 bpf-next 820e6e227c40 214351e1 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/19 09:21 bpf-next eaa266d83a37 0620189b .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/17 04:39 bpf-next e80f2a0d1946 723cfaf0 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2022/01/13 07:18 bpf-next 86c7ecad3bf8 44d1319a .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/31 18:04 bpf-next e63a02348958 36bd2e48 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/28 04:41 bpf-next 4b443bc1785f 6b3c5e64 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/15 21:07 bpf-next 4b443bc1785f 572bcb40 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/10 20:33 bpf-next 666af7064562 49ca1f59 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/09 20:51 bpf-next 73b6eae583f4 b54aa474 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/08 16:51 bpf-next fda684fb5ec9 a4a2a501 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/07 21:03 bpf-next fda684fb5ec9 0230ba3e .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/06 16:44 bpf-next db52f57211b4 579a8754 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/06 15:20 bpf-next db52f57211b4 579a8754 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/05 06:15 bpf-next 866de4074443 a617004c .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/12/03 04:41 bpf-next 080a70b21f47 61f86278 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/11/27 04:20 bpf-next e32cb12ff52a 63eeac02 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/11/26 16:26 bpf-next 8f6f41f39348 63eeac02 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-net-kasan-gce 2021/11/01 21:21 net-next c07c6e8eb4b3 098b5d53 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-linux-next-kasan-gce-root 2022/02/11 14:33 linux-next ef6b35306dd8 0b33604d .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/01/16 09:36 bpf-next eed6a9a9571b 65a7a854 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/04/14 20:11 bpf-next 1a323ea5356e 3f3c5574 .config log report