diff options
| author | 2026-10-20 00:15:54 +0000 | |
|---|---|---|
| committer | 2026-10-20 00:15:55 +0000 | |
| commit | 2ad9c9142d59f5748cce5da44ec46a14fdb66467 (patch) | |
| tree | a3469e8e8c787fbe0df8357b721fe7fc4beee4fa /scripts/Makefile.thinlto | |
| parent | Merge branch 'bpf-fix-builds-broken-by-fatal-resolve_btfids-warnings' (diff) | |
| parent | selftests/bpf: Test that a signed program with CO-RE relocations is refused (diff) | |
Merge branch 'refuse-co-re-relocations-for-a-signed-program'
Kumar Kartikeya Dwivedi says:
====================
Refuse CO-RE relocations for a signed program
The signature of a BPF program is checked over the insns as submitted,
but the loader may also hand in CO-RE relocation records, which the
kernel applies to those insns afterwards with values the loader picks
through its BTF. Whoever holds a signed program can so change its
constants once the signature has passed. Refuse relocations on a signed
load, before the signature is examined, and test it.
Found by Sashiko on the "Fix some arena paper cuts" series:
https://lore.kernel.org/bpf/sashiko-outbox-176588@kernel.org/
====================
Link: https://patch.msgid.link/20261019144851.4052056-1-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
