Bug 2181389
| Summary: | [RHEL-9.2] avc: denied { module_request } for pid=265552 comm="rhsmcertd-worke" kmod="net-pf-10" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | PaulB <pbunyan> |
| Component: | selinux-policy | Assignee: | Nikola Knazekova <nknazeko> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 9.2 | CC: | jbastian, lvrabec, mmalik, pbunyan, zpytela |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | aarch64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-01 15:47:22 UTC | 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: | |||
It looks IPv6 was disabled at this host and adding an allow rule to SELinux would not help to resolve the underlying problem, exposing the denial actually points to the fact there is some problem. Unfortunately, disabling IPv6 via ipv6.disable=1 doesn't play well with SELinux. Please see bug 641836 for some explanations. It is recommended to disable IPv6 via the net.ipv6.conf.all.disable_ipv6 sysctl instead. Also refer to the following kbase article: How do I disable or enable the IPv6 protocol in Red Hat Enterprise Linux? https://access.redhat.com/solutions/8709 If there is no other information regarding this issue, we will proceed and close the bz. *** Bug 2181391 has been marked as a duplicate of this bug. *** *** Bug 2181392 has been marked as a duplicate of this bug. *** |
Description of problem: The following avc issue is reported when testing target system: avc: denied { module_request } for pid=265552 comm="rhsmcertd-worke" kmod="net-pf-10" Version-Release number of selected component (if applicable): distro: RHEL-9.2.0-20230321.9 kernel: 5.14.0-284.4.1.el9_2 selinux-policy: 38.1.9-1.el9_2.noarch test: https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests.tar.gz#distribution/ltp/lite (ltp-20230127) How reproducible: yes issue is reproducible Steps to Reproduce: 1. Install nvidia-bluefield2 host with RHEL-9.2.0-20230321.9 2. Install kernel 5.14.0-284.4.1.el9_2 3. Run https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests.tar.gz#distribution/ltp/lite Actual results: https://beaker.engineering.redhat.com/recipes/13606079#task157959249 https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/03/76586/7658680/13606079/157959249/738772073/avc.log ---%<-snip->%--- type=AVC msg=audit(1679607603.942:966): avc: denied { module_request } for pid=265552 comm="rhsmcertd-worke" kmod="net-pf-10" scontext=system_u:system_r:rhsmcertd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0 ---%<-snip->%--- Expected results: no ACV messages are expected Additional info: