------------[ cut here ]------------ WARNING: CPU: 1 PID: 3803 at kernel/bpf/cgroup.c:899 bpf_cgroup_link_release.part.0+0x147/0x180 kernel/bpf/cgroup.c:899 Modules linked in: CPU: 1 PID: 3803 Comm: syz-executor.3 Not tainted 5.18.0-rc6-syzkaller-00148-gec7f49619d8e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bpf_cgroup_link_release.part.0+0x147/0x180 kernel/bpf/cgroup.c:899 Code: ff ff 5b 5d 41 5c e9 a8 95 e2 ff e8 a3 95 e2 ff 48 c7 c7 40 63 dc 8b e8 d7 92 d8 07 5b 5d 41 5c e9 8e 95 e2 ff e8 89 95 e2 ff <0f> 0b e9 45 ff ff ff e8 5d 26 2e 00 e9 18 ff ff ff e8 53 26 2e 00 RSP: 0018:ffffc9000380fdd0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806e9a3a00 RCX: 0000000000000000 RDX: ffff88801bfa9d80 RSI: ffffffff8196ab27 RDI: 0000000000000003 RBP: 00000000fffffff4 R08: 0000000000000000 R09: ffffffff8bedb273 R10: ffffffff8196aa6b R11: 0000000000000000 R12: ffff88806e9a3a68 R13: ffff88806e9a3a18 R14: ffffc900036f3000 R15: ffff88814527a620 FS: 00007f83affb1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00064b000 CR3: 0000000079807000 CR4: 0000000000350ef0 Call Trace: bpf_cgroup_link_release+0x38/0x50 kernel/bpf/cgroup.c:888 bpf_link_free+0xe6/0x1b0 kernel/bpf/syscall.c:2469 bpf_link_put+0x161/0x1b0 kernel/bpf/syscall.c:2495 bpf_link_release+0x33/0x40 kernel/bpf/syscall.c:2504 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f83aee890e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f83affb1168 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f83aef9bf60 RCX: 00007f83aee890e9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f83affb11d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc29849bdf R14: 00007f83affb1300 R15: 0000000000022000