diff options
| author | Alexei Starovoitov <[email protected]> | 2024-12-12 19:40:18 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-12-12 19:40:18 +0000 |
| commit | e4c80f69758e5088e8aae48f3d6abb41c6da7812 (patch) | |
| tree | a591b746733c6fa2a23328c9d5aae365dc4a49a4 /drivers/platform/x86/intel/vsec.c | |
| parent | selftests/bpf: extend changes_pkt_data with cases w/o subprograms (diff) | |
| parent | selftests/bpf: Add test for narrow ctx load for pointer args (diff) | |
| download | kernel-e4c80f69758e5088e8aae48f3d6abb41c6da7812.tar.gz kernel-e4c80f69758e5088e8aae48f3d6abb41c6da7812.zip | |
Merge branch 'add-missing-size-check-for-btf-based-ctx-access'
Kumar Kartikeya Dwivedi says:
====================
Add missing size check for BTF-based ctx access
This set fixes a issue reported for tracing and struct ops programs
using btf_ctx_access for ctx checks, where loading a pointer argument
from the ctx doesn't enforce a BPF_DW access size check. The original
report is at link [0]. Also add a regression test along with the fix.
[0]: https://lore.kernel.org/bpf/51338.1732985814@localhost
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
