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: 772d, last: 14h49m

Cause bisection: failed (bisect log)

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000a
R13: 00007ffdb55b92f0 R14: 00007ffdb55b9330 R15: 0000000000000000
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3600 at kernel/bpf/cgroup.c:900 bpf_cgroup_link_release+0x157/0x1b0
Modules linked in:
CPU: 1 PID: 3600 Comm: syz-executor512 Not tainted 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bpf_cgroup_link_release+0x157/0x1b0 kernel/bpf/cgroup.c:899
Code: fa de ff 48 c7 c7 00 1a b4 8c 5b 41 5c 41 5e 41 5f 5d e9 2c 84 7d 08 e8 e7 f9 de ff 5b 41 5c 41 5e 41 5f 5d c3 e8 d9 f9 de ff <0f> 0b 42 80 7c 25 00 00 0f 85 4e ff ff ff e9 51 ff ff ff 89 f9 80
RSP: 0018:ffffc90002f1fcc8 EFLAGS: 00010293
RAX: ffffffff81a71b47 RBX: ffff888024898d68 RCX: ffff88801a35d880
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: 1ffff110049131ad R08: ffffffff81a71a8d R09: fffffbfff197fc8b
R10: fffffbfff197fc8b R11: 1ffffffff197fc8a R12: dffffc0000000000
R13: ffffffff8a961ba0 R14: 00000000fffffff4 R15: ffff8880216ae000
FS:  0000555556189300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcdaa191140 CR3: 000000001bb52000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bpf_link_free kernel/bpf/syscall.c:2469 [inline]
 bpf_link_put+0x21d/0x2b0 kernel/bpf/syscall.c:2495
 bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2504
 __fput+0x3b9/0x820 fs/file_table.c:317
 task_work_run+0x146/0x1c0 kernel/task_work.c:164
 ptrace_notify+0x29f/0x350 kernel/signal.c:2361
 ptrace_report_syscall include/linux/ptrace.h:427 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:489 [inline]
 syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:249
 syscall_exit_to_user_mode_prepare+0x62/0x80 kernel/entry/common.c:276
 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline]
 syscall_exit_to_user_mode+0xa/0x70 kernel/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fcdaa11f199
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:00007ffdb55b92a8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fcdaa11f199
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000003
RBP: 00007ffdb55b92d0 R08: 0000000000000001 R09: 00007ffdb55b92e0
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000a
R13: 00007ffdb55b92f0 R14: 00007ffdb55b9330 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 (620):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
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/05/14 06:50 upstream ec7f49619d8e 107f6434 .config log report syz 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-kasan-gce-root 2021/11/19 18:48 upstream 4c388a8e740d 3a9d0024 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-kasan-gce-smack-root 2021/11/13 22:46 upstream 66f4beaa6c1d 83f5c9b5 .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-kasan-gce 2021/11/11 04:04 bpf fceb07950a7a 75b04091 .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-bpf-next-kasan-gce 2021/11/18 21:10 bpf-next 29ad850a5cae 31a30fc0 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/11/18 15:22 bpf-next dd7f091fd22b 31a30fc0 .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/11/10 04:01 bpf-next 5577f24cb04a 55fa030c .config log report info WARNING in bpf_cgroup_link_release
ci-upstream-bpf-next-kasan-gce 2021/11/08 05:36 bpf-next 5577f24cb04a 4c1be0be .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