Bug 1571591
Summary: | sysadm_u cannot work with SCTP sockets | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.5 | CC: | lvrabec, mgrepl, mmalik, plautrba, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-205.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:03:16 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
Milos Malik
2018-04-25 07:47:15 UTC
# rpm -qa selinux\* selinux-policy-devel-3.13.1-204.el7.noarch selinux-policy-doc-3.13.1-204.el7.noarch selinux-policy-mls-3.13.1-204.el7.noarch selinux-policy-targeted-3.13.1-204.el7.noarch selinux-policy-3.13.1-204.el7.noarch selinux-policy-sandbox-3.13.1-204.el7.noarch selinux-policy-minimum-3.13.1-204.el7.noarch # ausearch -m avc -m user_avc -m selinux_err -m user_selinux_err -i -ts recent ---- type=PROCTITLE msg=audit(06/26/2018 11:08:00.149:133) : proctitle=checksctp type=SYSCALL msg=audit(06/26/2018 11:08:00.149:133) : arch=x86_64 syscall=socket success=no exit=EACCES(Permission denied) a0=inet a1=SOCK_STREAM a2=sctp a3=0x7ffe6f394560 items=0 ppid=1498 pid=1545 auid=sysadm-user uid=sysadm-user gid=sysadm-user euid=sysadm-user suid=sysadm-user fsuid=sysadm-user egid=sysadm-user sgid=sysadm-user fsgid=sysadm-user tty=tty1 ses=3 comm=checksctp exe=/usr/bin/checksctp subj=sysadm_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(06/26/2018 11:08:00.149:133) : avc: denied { create } for pid=1545 comm=checksctp scontext=sysadm_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 tcontext=sysadm_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 tclass=sctp_socket permissive=0 ---- The issue is not fixed: # sesearch -s sysadm_t -t sysadm_t -c sctp_socket -A -C -D Found 3 semantic av rules: allow sysadm_t domain : sctp_socket getattr ; dontaudit sysadm_t domain : sctp_socket getattr ; dontaudit domain domain : sctp_socket { read write } ; # Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3111 |