[SRU][R][PATCH 0/1] Revert mistakenly-picked bpf commit from upstream
Alice C. Munduruca
alice.munduruca at canonical.com
Tue Sep 1 16:18:26 UTC 2026
BugLink: https://bugs.launchpad.net/bugs/2165872
[ Impact ]
Upstream stable linux-7.1.y picked up a commit from the sleepable tracepoint
patchset [1] in order to adjust the context for a BPF verifier fix commit:
5b038319be44 ("bpf: Reject sleepable BPF_LSM_CGROUP programs at load time").
The other changes in the patchset were not included (except for adding sleepable
tracepoint selftests later in v7.1.9) which causes bugs when attaching a tracepoint
BPF program on faultable tracepoints.
[ Fix ]
As a result, resolute will revert the changes from commit 2946e2f49e86d
("bpf: Verifier support for sleepable tracepoint programs") while keeping
the check for BPF_LSM_CGROUP which is the significant part of the fix commit
mentionned above.
[ Test Plan ]
The patch has been compiled on CBD and booted locally.
[ What could go wrong ]
Changes are limited to the BPF verifier. Although unlikely since the revert is quite
clean, it is possible that some non-conformant BPF programs may be accepted and run
due to the changes.
[ Extra Information ]
[1]: https://lore.kernel.org/all/20260421-sleepable_tracepoints-v11-0-d8ff138d6f05@meta.com/
Alice C. Munduruca (1):
UBUNTU: SAUCE: Revert "bpf: Verifier support for sleepable tracepoint
programs"
kernel/bpf/syscall.c | 5 -----
kernel/bpf/verifier.c | 13 ++-----------
2 files changed, 2 insertions(+), 16 deletions(-)
--
2.53.0
More information about the kernel-team
mailing list