Bug 2218682
| Summary: | bpf_jit_limit hit again - copy_seccomp() fix | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Peter Hunt <pehunt> | |
| Component: | kernel | Assignee: | Viktor Malik <vmalik> | |
| kernel sub component: | BPF | QA Contact: | Ziqian SUN (Zamir) <zsun> | |
| Status: | VERIFIED --- | Docs Contact: | ||
| Severity: | unspecified | |||
| Priority: | high | CC: | acme, asavkov, bhu, cye, jbenc, jbrouer, kcarcia, ldoskova, thoiland, vmalik, wking, ykaliuta, zsun | |
| Version: | 9.2 | Keywords: | Triaged, ZStream | |
| Target Milestone: | rc | Flags: | pehunt:
needinfo-
|
|
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | kernel-5.14.0-342.el9 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2219567 2226945 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2226945 | |||
|
Description
Peter Hunt
2023-06-29 20:02:18 UTC
Hi Peter, the above patch [1] that you mention looks like it could resolve the issue. It has been recently backported to CentOS Stream 9 as a part of our regular BPF subsystem rebase and will appear in RHEL 9.3. So, in case we confirm that it is the necessary fix, we will need to backport it to 8.6 and 9.2 z-streams. I crafted a Brew build for 9.2z with [1] included, so that we can test it: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=53691694 @Peter if you or someone could use this to check if it resolves the problem, that would be great. I'll post it to the original OCP Jira issue, too. FWIW, the 5.14.0-284.16.1.el9_2 kernel also suffers from a memleak introduced by upstream commit [2]. There is a fix for it already [3], so we should backport that one to 9.2 z-stream, too. But since this issue appears on 4.18.0-372.52.1.el8_6, too, which doesn't have [2], I'm fairly confident that we'll need to backport [1] anyways. [1] https://github.com/torvalds/linux/commit/10ec8ca8ec1a2f04c4ed90897225231c58c124a7 [2] https://github.com/torvalds/linux/commit/3a15fb6ed92cb32b0a83f406aa4a96f28c9adbc3 [3] https://github.com/torvalds/linux/commit/a1140cb215fa13dcec06d12ba0c3ee105633b7c4 I also crafted a Brew build for 8.6z with the mentioned fix included, in case it helps with testing: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=53692906 Since the same issue likely affects RHEL 8, too, I created a copy of this bug for it: bz#2219567. Since this bug is for RHEL9, I'm going to use it to backport the memleak fix a1140cb215fa ("seccomp: Move copy_seccomp() to no failure path.") into 9.3.
|