------------[ cut here ]------------ WARNING: CPU: 1 PID: 3613 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: 3613 Comm: syz-executor416 Not tainted 5.19.0-rc8-syzkaller-00025-g6e7765cb477a #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 88 f7 e1 ff e8 83 f7 e1 ff 48 c7 c7 00 9d dc 8b e8 07 67 e1 07 5b 5d 41 5c e9 6e f7 e1 ff e8 69 f7 e1 ff <0f> 0b e9 45 ff ff ff e8 7d 33 2e 00 e9 18 ff ff ff e8 73 33 2e 00 RSP: 0018:ffffc90002f9fdb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88801eb20b00 RCX: 0000000000000000 RDX: ffff88801e162200 RSI: ffffffff8197a3b7 RDI: 0000000000000005 RBP: 00000000fffffff4 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff88801eb20b68 R13: ffff88801eb20b18 R14: ffffc90000386000 R15: ffff8881401d27e0 FS: 0000555557038300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55bc6d44e0 CR3: 0000000074a1f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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+0x63/0xcd RIP: 0033:0x7f55bc69e269 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:00007fff4cd7d488 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f55bc69e269 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000003 RBP: 00007fff4cd7d4b0 R08: 0000000000000001 R09: 00007fff4cd7d4c0 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000a R13: 00007fff4cd7d4d0 R14: 00007fff4cd7d510 R15: 0000000000000000