Lines Matching full:reference

111 __description("reference tracking: leak potential reference")
112 __failure __msg("Unreleased reference")
117 " r6 = r0; /* leak reference */ \ in reference_tracking_leak_potential_reference()
126 __description("reference tracking: leak potential reference to sock_common")
127 __failure __msg("Unreleased reference")
132 " r6 = r0; /* leak reference */ \ in potential_reference_to_sock_common_1()
141 __description("reference tracking: leak potential reference on stack")
142 __failure __msg("Unreleased reference")
159 __description("reference tracking: leak potential reference on stack 2")
160 __failure __msg("Unreleased reference")
179 __description("reference tracking: zero potential reference")
180 __failure __msg("Unreleased reference")
185 " r0 = 0; /* leak reference */ \ in reference_tracking_zero_potential_reference()
194 __description("reference tracking: zero potential reference to sock_common")
195 __failure __msg("Unreleased reference")
200 " r0 = 0; /* leak reference */ \ in potential_reference_to_sock_common_2()
209 __description("reference tracking: copy and zero potential references")
210 __failure __msg("Unreleased reference")
217 r7 = 0; /* leak reference */ \ in copy_and_zero_potential_references()
226 __description("reference tracking: acquire/release user key reference")
246 __description("reference tracking: acquire/release system key reference")
265 __description("reference tracking: release user key reference without check")
284 __description("reference tracking: release system key reference without check")
302 __description("reference tracking: release with NULL key pointer")
317 __description("reference tracking: leak potential reference to user key")
318 __failure __msg("Unreleased reference")
332 __description("reference tracking: leak potential reference to system key")
333 __failure __msg("Unreleased reference")
346 __description("reference tracking: release reference without check")
352 " /* reference in r0 may be NULL */ \ in tracking_release_reference_without_check()
365 __description("reference tracking: release reference to sock_common without check")
371 " /* reference in r0 may be NULL */ \ in to_sock_common_without_check()
384 __description("reference tracking: release reference")
402 __description("reference tracking: release reference to sock_common")
420 __description("reference tracking: release reference 2")
439 __description("reference tracking: release reference twice")
460 __description("reference tracking: release reference twice inside branch")
481 __description("reference tracking: alloc, check, free in one subbranch")
482 __failure __msg("Unreleased reference")
497 /* Leak reference in R0 */ \ in __flag()
514 __description("reference tracking: alloc, check, free in both subbranches")
548 __description("reference tracking in call: free reference in subprog")
554 " r1 = r0; /* unchecked reference */ \ in call_free_reference_in_subprog()
579 __description("reference tracking in call: free reference in subprog and outside")
585 " r1 = r0; /* unchecked reference */ \ in reference_in_subprog_and_outside()
613 __description("reference tracking in call: alloc & leak reference in subprog")
614 __failure __msg("Unreleased reference")
645 __description("reference tracking in call: alloc in subprog, release outside")
675 __description("reference tracking in call: sk_ptr leak into caller stack")
676 __failure __msg("Unreleased reference")
720 __description("reference tracking in call: sk_ptr spill into caller stack")
748 /* now the sk_ptr is verified, free the reference */\ in ptr_spill_into_caller_stack__1()
771 __description("reference tracking: allow LD_ABS")
793 __description("reference tracking: forbid LD_ABS while holding reference")
815 __description("reference tracking: allow LD_IND")
838 __description("reference tracking: forbid LD_IND while holding reference")
862 __description("reference tracking: check reference or tail call")
891 __description("reference tracking: release reference then tail call")
919 __description("reference tracking: leak possible reference over tail call")
920 __failure __msg("tail_call would lead to reference leak")
949 __description("reference tracking: leak checked reference over tail call")
950 __failure __msg("tail_call would lead to reference leak")
979 __description("reference tracking: mangle and release sock_or_null")
998 __description("reference tracking: mangle and release sock")
1017 __description("reference tracking: access member")
1037 __description("reference tracking: write to member")
1061 __description("reference tracking: invalid 64-bit access of member")
1081 __description("reference tracking: access after release")
1100 __description("reference tracking: direct access for lookup")
1132 __description("reference tracking: use ptr from bpf_tcp_sock() after release")
1163 __description("reference tracking: use ptr from bpf_sk_fullsock() after release")
1194 __description("reference tracking: use ptr from bpf_sk_fullsock(tp) after release")
1230 __description("reference tracking: use sk after bpf_sk_release(tp)")
1260 __description("reference tracking: use ptr from bpf_get_listener_sock() after bpf_sk_release(sk)")
1290 __description("reference tracking: bpf_sk_release(listen_sk)")
1322 __description("reference tracking: tp->snd_cwnd after bpf_sk_fullsock(sk) and bpf_tcp_sock(sk)")
1356 __description("reference tracking: branch tracking valid pointer null comparison")
1378 __description("reference tracking: branch tracking valid pointer value comparison")
1379 __failure __msg("Unreleased reference")
1400 __description("reference tracking: bpf_sk_release(btf_tcp_sock)")
1428 __description("reference tracking: use ptr from bpf_skc_to_tcp_sock() after release")
1457 __description("reference tracking: try to leak released ptr reg")