[PATCH 6.6 023/267] bpf: Fix a potential use-after-free in bpf_link_free()