You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpf: Generalize check_ctx_reg for reuse with other types
jira VULN-140
pre-cve CVE-2022-23222
commit-author Daniel Borkmann <daniel@iogearbox.net>
commit be80a1d
upstream-diff A merge confict arised because 3363bd0 ("bpf: Extend
kfunc with PTR_TO_CTX, PTR_TO_MEM argument support") does not exist
in our tree
Generalize the check_ctx_reg() helper function into a more generic named one
so that it can be reused for other register types as well to check whether
their offset is non-zero. No functional change.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
(cherry picked from commit be80a1d)
Signed-off-by: Pratham Patel <ppatel@ciq.com>
0 commit comments