summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-04-16 15:20:27 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-04-16 15:20:32 -0700
commit766bf026d0da242a329b402c436c8e4cfa2008d8 (patch)
treeca17da98c05eba692344987c6712f9616e13ebdb /tools/perf/scripts/python
parente5f635edd393aeaa7cad9e42831d397e6e2e1eed (diff)
parentfcd11ff8bd0e526bdd5f43f534ccf7c4e67245ad (diff)
Merge branch 'bpf-fix-null-deref-when-storing-scalar-into-kptr-slot'
Mykyta Yatsenko says: ==================== bpf: Fix NULL deref when storing scalar into kptr slot map_kptr_match_type() accesses reg->btf before confirming the register is PTR_TO_BTF_ID. A scalar store into a kptr slot has no btf, causing a NULL pointer dereference. Guard base_type() first. Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> ==================== Link: https://patch.msgid.link/20260416-kptr_crash-v1-0-5589356584b4@meta.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions