diff options
| author | 2026-11-02 00:04:29 +0000 | |
|---|---|---|
| committer | 2026-11-02 00:04:29 +0000 | |
| commit | 1d55411e8b677c67de7a20618d95dc114796de26 (patch) | |
| tree | bcbb7c40adc716331549337b23e38a95dae110b4 /scripts/Makefile.thinlto | |
| parent | Merge branch 'bpf-keep-the-valid-bytes-of-a-packet-pointer-in-scalar-evolution' (diff) | |
| parent | selftests/bpf: Test bpf_throw() in a prog with a private stack (diff) | |
Merge branch 'bpf-x86-fix-bpf_throw-in-a-prog-with-a-private-stack'
Alexei Starovoitov says:
====================
bpf, x86: Fix bpf_throw() in a prog with a private stack
From: Alexei Starovoitov <ast@kernel.org>
On x86-64 a prog whose main prog has a private stack and that calls
bpf_throw() returns to the kernel with wrong callee saved registers. The
kernel crashes. A tracepoint prog or an fentry prog with more than 48 bytes
of stack is sufficient.
Patch 1 is the fix. Patch 2 has the tests. The existing tests of this
combination are loaded, but they never run.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
====================
Link: https://patch.msgid.link/20261031050558.2410721-1-alexei.starovoitov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
