diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2026-09-10 23:35:09 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-10 16:55:47 -0700 |
| commit | f9191460cd805e84eace0884c75c67ec719fa1d8 (patch) | |
| tree | 5d1b8850df66b0701adf2e1041da1f1d84d2e970 /tools/perf/scripts/python | |
| parent | 81c975aae375d2053fa2926ee3730f02e713140c (diff) | |
| download | linux-next-f9191460cd805e84eace0884c75c67ec719fa1d8.tar.gz linux-next-f9191460cd805e84eace0884c75c67ec719fa1d8.zip | |
bpf: Require CAP_PERFMON for untrusted read-only memory reads
Marking bpf_rdonly_cast() KF_PERFMON CAP-limits one producer of PTR_TO_MEM |
MEM_RDONLY | PTR_UNTRUSTED, but not the type itself. A global subprogram
argument tagged __arg_untrusted results in the same register with no kfunc
call.
Reported-by: STAR Labs SG <info@starlabs.sg>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20260910213510.49358-3-daniel@iogearbox.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
