Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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-policyAssignee: Nikola Knazekova <nknazeko>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 9.2CC: jbastian, lvrabec, mmalik, pbunyan, zpytela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
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:

Description PaulB 2023-03-24 01:00:58 UTC
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:

Comment 2 Zdenek Pytela 2023-07-14 13:38:56 UTC
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.

Comment 3 Zdenek Pytela 2023-07-14 13:40:08 UTC
*** Bug 2181391 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Pytela 2023-07-14 13:40:15 UTC
*** Bug 2181392 has been marked as a duplicate of this bug. ***