summaryrefslogtreecommitdiff
path: root/kernel/bpf/verifier.c
AgeCommit message (Expand)AuthorFilesLines
2022-07-12bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_valsDaniel Borkmann1-49/+23
2022-07-12bpf: Fix incorrect verifier simulation around jmp32's jeq/jneDaniel Borkmann1-17/+24
2022-06-06bpf: Do write access check for kfunc and global funcKumar Kartikeya Dwivedi1-15/+29
2022-06-06bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_accessKumar Kartikeya Dwivedi1-1/+11
2022-06-06bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_accessKumar Kartikeya Dwivedi1-0/+5
2022-03-21bpf: Fix warning for cast from restricted gfp_t in verifierJoanne Koong1-2/+2
2022-03-21Revert "bpf: Add support to inline bpf_get_func_ip helper on x86"Jiri Olsa1-20/+1
2022-03-21bpf: Enable non-atomic allocations in local storageJoanne Koong1-0/+20
2022-03-18bpf: Add support to inline bpf_get_func_ip helper on x86Jiri Olsa1-1/+20
2022-03-17bpf: Fix net.core.bpf_jit_harden raceHou Tao1-2/+3
2022-03-11bpf: Use offsetofend() to simplify macro definitionYuntao Wang1-2/+1
2022-03-08bpf: Determine buf_info inside check_buffer_access()Shung-Hsi Yu1-9/+3
2022-03-06bpf: Reject programs that try to load __percpu memory.Hao Luo1-10/+14
2022-03-06bpf: Fix checking PTR_TO_BTF_ID in check_mem_accessHao Luo1-1/+2
2022-03-06bpf: Harden register offset checks for release helpers and kfuncsKumar Kartikeya Dwivedi1-3/+22
2022-03-06bpf: Disallow negative offset in check_ptr_off_regKumar Kartikeya Dwivedi1-0/+6
2022-03-06bpf: Add check_func_arg_reg_off functionKumar Kartikeya Dwivedi1-28/+41
2022-03-03bpf: Small BPF verifier log improvementsMykola Lysenko1-29/+35
2022-02-15bpf: Reject kfunc calls that overflow insn->immHou Tao1-1/+10
2022-02-08bpf: Use prog->jited_len in bpf_prog_ksym_set_addr()Song Liu1-0/+1
2022-01-27bpf: reject program if a __user tagged memory accessed in kernel wayYonghong Song1-11/+24
2022-01-25Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-67/+129
2022-01-19bpf: Fix ringbuf memory type confusion when passing to helpersDaniel Borkmann1-1/+5
2022-01-19bpf: Fix out of bounds access for ringbuf helpersDaniel Borkmann1-0/+6
2022-01-19bpf: Generally fix helper register offset checkDaniel Borkmann1-11/+28
2022-01-19bpf: Mark PTR_TO_FUNC register initially with zero offsetDaniel Borkmann1-3/+6
2022-01-19bpf: Generalize check_ctx_reg for reuse with other typesDaniel Borkmann1-10/+11
2022-01-19bpf: Add reference tracking support to kfuncKumar Kartikeya Dwivedi1-10/+42
2022-01-19bpf: Introduce mem, size argument pair support for kfuncKumar Kartikeya Dwivedi1-45/+79
2022-01-19bpf: Remove check_kfunc_call callback and old kfunc BTF ID APIKumar Kartikeya Dwivedi1-12/+8
2022-01-11bpf: Fix incorrect integer literal used for marking scratched stack.Christy Lee1-3/+3
2022-01-06bpf: Fix verifier support for validation of async callbacksKris Van Hees1-0/+1
2022-01-05bpf: Don't promote bogus looking registers after null check.Daniel Borkmann1-6/+6
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-281/+415
2021-12-30bpf: Allow bpf_local_storage to be used by sleepable programsKP Singh1-0/+3
2021-12-19bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.Hao Luo1-3/+17
2021-12-19bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM.Hao Luo1-4/+26
2021-12-19bpf: Convert PTR_TO_MEM_OR_NULL to composable types.Hao Luo1-1/+1
2021-12-19bpf: Introduce MEM_RDONLY flagHao Luo1-34/+50
2021-12-19bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULLHao Luo1-173/+125
2021-12-18bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULLHao Luo1-26/+26
2021-12-18bpf: Replace ARG_XXX_OR_NULL with ARG_XXX | PTR_MAYBE_NULLHao Luo1-25/+14
2021-12-17Only output backtracking information in log level 2Christy Lee1-3/+3
2021-12-17bpf: Right align verifier states in verifier logs.Christy Lee1-21/+36
2021-12-17bpf: Only print scratched registers and stack slots to verifier logs.Christy Lee1-14/+69
2021-12-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-17/+36
2021-12-17add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-12-16bpf: Make 32->64 bounds propagation slightly more robustDaniel Borkmann1-9/+15
2021-12-16bpf: Fix signed bounds propagation after mov32Daniel Borkmann1-0/+4
2021-12-15bpf: Fix kernel address leakage in atomic cmpxchg's r0 aux regDaniel Borkmann1-1/+8