Files
android_kernel_fxtec_sm6115/include/linux
Leon Hwang 5998a4b90d UPSTREAM: bpf: Fix tr dereferencing
[ Upstream commit b724a6418f1f853bcb39c8923bf14a50c7bdbd07 ]

Fix 'tr' dereferencing bug when CONFIG_BPF_JIT is turned off.

When CONFIG_BPF_JIT is turned off, 'bpf_trampoline_get()' returns NULL,
which is same as the cases when CONFIG_BPF_JIT is turned on.

Closes: https://lore.kernel.org/r/202309131936.5Nc8eUD0-lkp@intel.com/
Fixes: f7b12b6fea00 ("bpf: verifier: refactor check_attach_btf_id()")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Change-Id: I1ebe345cdf32b82921166658bfd4a5f229f85c63
Signed-off-by: Leon Hwang <hffilwlqm@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230917153846.88732-1-hffilwlqm@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 03:28:54 +03:00
..
2025-08-28 03:28:54 +03:00
2024-06-09 02:32:30 +03:00
2024-07-06 10:19:40 +00:00
2025-08-28 03:26:18 +03:00
2023-10-25 11:16:20 +02:00
2024-02-23 08:12:39 +01:00