fix BPF backports
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Fix backport of "bpf: restrict unknown scalars of mixed signed bounds for unprivileged"kernel/ | +7 | 0 replies | |
| 2/2 | bpf: fix up selftests after backports were fixedtools/ | +12 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Frank van der Linden | Ethan Chen | Yonghong Song |
|---|---|---|---|
| 1/2 | R-b | R-b | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 4.14 0/2] fix BPF backports
These are the first two patches in https://lore.kernel.org/stable/[email protected]/
I will re-send the rest of that series as soon as the other bpf backports hit the 4.19 branch.
This fixes errors in earlier bpf 4.14 backports. The verifier fix was sent in earlier to bpf@ by Sam, and acked. I added the selftests fix.
Essentially, together with the previous backports that had errors, this produces correct backports of:
9d7eceede76 ("bpf: restrict unknown scalars of mixed signed bounds for unprivileged")80c9b2fae87b ("bpf: add various test cases to selftests")
Commits:
<4.14 only> ("bpf: Fix backport of "bpf: restrict unknown scalars of mixed signed bounds for unprivileged")
This was sent in by Sam to bpf@ earlier, and acked by Yonghong Song,
https://lore.kernel.org/bpf/[email protected]/T/#u
I am including it so that it is 'formally' submitted it to -stable.
<4.14 only> ("bpf: fix up selftests after backports were fixed")
This is a follow-up to the previous by me, to fix selftests. It's from 80c9b2fae87b ("bpf: add various test cases to selftests"), but since that one was already partially added to the 4.14 branch in 03f11a51a196 ("bpf: Fix selftests are changes for CVE 2019-7308"), it's not a "backport" as such. To avoid confusion, I created a separate commit for it, referencing the original commit in the message. I examined each individual changed test, and went through the history to see that the error message was indeed as expected.