bpf: Fix arm64 KASAN false positive after bpf_throw - #13234
bpf: Fix arm64 KASAN false positive after bpf_throw#13234kernel-patches-daemon-bpf[bot] wants to merge 2 commits into
Conversation
|
Upstream branch: 07cb86a |
3bf3eae to
2f9c9e0
Compare
|
Upstream branch: 611a9f0 |
c175b0f to
bfbb13c
Compare
2f9c9e0 to
239ce7e
Compare
|
Upstream branch: 3a59f11 |
bfbb13c to
17d06b5
Compare
|
Upstream branch: 3a59f11 |
17d06b5 to
85e1a9e
Compare
239ce7e to
f9ee2fe
Compare
|
Upstream branch: 3a59f11 |
85e1a9e to
555d2ee
Compare
f9ee2fe to
7bfbd95
Compare
|
Upstream branch: 108d440 |
555d2ee to
11c3184
Compare
7bfbd95 to
f3e34e7
Compare
|
Upstream branch: a88dbe1 |
11c3184 to
870513a
Compare
f3e34e7 to
5182577
Compare
|
Upstream branch: 7c3e54c |
870513a to
c5990eb
Compare
5182577 to
673b1f0
Compare
|
Upstream branch: 6f03361 |
c5990eb to
e3854b9
Compare
673b1f0 to
dd132f6
Compare
|
Upstream branch: 9786d42 |
e3854b9 to
6ddb450
Compare
dd132f6 to
6220a54
Compare
|
Upstream branch: 806c1a1 |
6ddb450 to
228d1a1
Compare
6220a54 to
fa81f18
Compare
|
Upstream branch: aacd13e |
228d1a1 to
18bf931
Compare
fa81f18 to
fdd9d75
Compare
|
Upstream branch: 259d60f |
18bf931 to
9e5090d
Compare
fdd9d75 to
c66e1e2
Compare
|
Upstream branch: 4d9551b |
9e5090d to
591393f
Compare
c66e1e2 to
114cb6a
Compare
arm64 passes zero as the stack pointer while walking BPF frames, so bpf_throw() leaves stale KASAN stack poison after jumping to the exception callback. Use the frame pointer as the fallback stack watermark. Fixes: e74cb1b ("arm64: stacktrace: Implement arch_bpf_stack_walk() for the BPF JIT") Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Tested-by: Ihor Solodrai <ihor.solodrai@linux.dev>
|
Upstream branch: 409a9bd |
591393f to
88d1d39
Compare
114cb6a to
ddff495
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1144802 irrelevant now. Closing PR. |
Pull request for series with
subject: bpf: Fix arm64 KASAN false positive after bpf_throw
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1144802