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 1593728 - SELinux prevents abrt-hook-ccpp from mmap()-ing /usr/bin/strace file
Summary: SELinux prevents abrt-hook-ccpp from mmap()-ing /usr/bin/strace file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-21 13:02 UTC by Edjunior Barbosa Machado
Modified: 2018-10-30 10:06 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-205.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:05:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
AVC logs from RHEL-7.6-20180614.n.0 x86_64 tests (175.70 KB, text/plain)
2018-06-21 13:02 UTC, Edjunior Barbosa Machado
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3111 0 None None None 2018-10-30 10:06:45 UTC

Description Edjunior Barbosa Machado 2018-06-21 13:02:32 UTC
Created attachment 1453445 [details]
AVC logs from RHEL-7.6-20180614.n.0 x86_64 tests

Description of problem:

Info: Searching AVC errors produced since 1529409759.46 (Tue Jun 19 08:02:39 2018)
Searching logs...
Running '/usr/bin/env LC_ALL=en_US.UTF-8 /sbin/ausearch -m AVC -m USER_AVC -m SELINUX_ERR -ts 06/19/2018 08:02:39 < /dev/null >/mnt/testarea/tmp.rhts-db-submit-result.8D_gOL 2>&1'
----
time->Tue Jun 19 08:02:40 2018
type=PROCTITLE msg=audit(1529409760.410:788): proctitle=2F7573722F6C6962657865632F616272742D686F6F6B2D6363707000360030003138303237003000300031353239343039373630006500313830323700313830323700616D642D70656E63652D30322E6C61622E626F732E7265646861742E636F6D
type=SYSCALL msg=audit(1529409760.410:788): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=9dc20 a2=1 a3=2 items=0 ppid=9597 pid=18071 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-hook-ccpp" exe="/usr/libexec/abrt-hook-ccpp" subj=system_u:system_r:abrt_dump_oops_t:s0 key=(null)
type=AVC msg=audit(1529409760.410:788): avc:  denied  { map } for  pid=18071 comm="abrt-hook-ccpp" path="/usr/bin/strace" dev="dm-0" ino=68716391 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0
----
time->Tue Jun 19 08:02:40 2018
type=PROCTITLE msg=audit(1529409760.411:789): proctitle=2F7573722F6C6962657865632F616272742D686F6F6B2D6363707000360030003138303237003000300031353239343039373630006500313830323700313830323700616D642D70656E63652D30322E6C61622E626F732E7265646861742E636F6D
type=SYSCALL msg=audit(1529409760.411:789): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=9dc20 a2=3 a3=2 items=0 ppid=9597 pid=18071 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-hook-ccpp" exe="/usr/libexec/abrt-hook-ccpp" subj=system_u:system_r:abrt_dump_oops_t:s0 key=(null)
type=AVC msg=audit(1529409760.411:789): avc:  denied  { map } for  pid=18071 comm="abrt-hook-ccpp" path="/usr/bin/strace" dev="dm-0" ino=68716391 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0
----
time->Tue Jun 19 08:02:41 2018
type=PROCTITLE msg=audit(1529409761.234:793): proctitle=2F7573722F6C6962657865632F616272742D686F6F6B2D6363707000360030003138303734003000300031353239343039373631006500313830373400313830373400616D642D70656E63652D30322E6C61622E626F732E7265646861742E636F6D
type=SYSCALL msg=audit(1529409761.234:793): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=9dc20 a2=1 a3=2 items=0 ppid=9597 pid=18113 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-hook-ccpp" exe="/usr/libexec/abrt-hook-ccpp" subj=system_u:system_r:abrt_dump_oops_t:s0 key=(null)
type=AVC msg=audit(1529409761.234:793): avc:  denied  { map } for  pid=18113 comm="abrt-hook-ccpp" path="/usr/bin/strace" dev="dm-0" ino=68716391 scontext=system_u:system_r:abrt_dump_oops_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0
----
(...)
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
Max kernel policy version:      31
Running 'rpm -q selinux-policy || true'
selinux-policy-3.13.1-203.el7.noarch

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-203.el7.noarch

How reproducible:
Often seen in all tested archs (x86_64, s390x, ppc64 and ppc64le)

Steps to Reproduce:
1. reproducible in Toolchain Tiers
2.
3.

Actual results:
complete log from x86_64 attached

Expected results:
no AVCs

Additional info:
RHEL-7.6-20180614.n.0

Comment 5 errata-xmlrpc 2018-10-30 10:05:46 UTC
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


Note You need to log in before you can comment on or make changes to this bug.