Bug 2036614

Summary: [RHEL-9] default installation avc denial { create } for comm="ModemManager"
Product: Red Hat Enterprise Linux 9 Reporter: Petr Zatko <pzatko>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: lvrabec, mmalik, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-03 12:06:13 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:
Bug Depends On:    
Bug Blocks: 1898842    

Description Petr Zatko 2022-01-03 12:00:49 UTC
Description of problem:
There are avc denials during default installation of RHEL-9 on all archs

Version-Release number of selected component (if applicable):
selinux-policy-34.1.20-1.el9
RHEL-9.0.0-20220102.3

How reproducible:
Always

Steps to Reproduce:
1. Do a default rhel-9 installation

Actual results:
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33
selinux-policy-34.1.20-1.el9.noarch
----
time->Mon Jan  3 11:43:28 2022
type=PROCTITLE msg=audit(1641228208.745:42): proctitle="/usr/sbin/ModemManager"
type=SYSCALL msg=audit(1641228208.745:42): arch=c000003e syscall=41 success=no exit=-13 a0=2a a1=2 a2=0 a3=10 items=0 ppid=1 pid=839 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ModemManager" exe="/usr/sbin/ModemManager" subj=system_u:system_r:modemmanager_t:s0 key=(null)
type=AVC msg=audit(1641228208.745:42): avc:  denied  { create } for  pid=839 comm="ModemManager" scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:system_r:modemmanager_t:s0 tclass=qipcrtr_socket permissive=0

Expected results:
No AVC

Additional info:
Beaker jobs
https://beaker.engineering.redhat.com//recipes/11235612#task137482454
https://beaker.engineering.redhat.com//recipes/11235634#task137482563
https://beaker.engineering.redhat.com//recipes/11235618#task137482501
https://beaker.engineering.redhat.com//recipes/11235606#task137482491

Comment 1 Petr Zatko 2022-01-03 12:06:13 UTC

*** This bug has been marked as a duplicate of bug 2036582 ***