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 1737419 - AVC denials in abrt-upload-watch
Summary: AVC denials in abrt-upload-watch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.2
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
: 1750472 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 10:45 UTC by Martin Kyral
Modified: 2020-04-28 16:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:40:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1773 0 None None None 2020-04-28 16:41:12 UTC

Description Martin Kyral 2019-08-05 10:45:20 UTC
Description of problem:

abrt-upload-watch binary triggers 2 AVCs:

1)
type=AVC msg=audit(1565000681.906:1420): avc:  denied  { create } for  pid=8489 comm="abrt-upload-wat" scontext=system_u:system_r:abrt_upload_watch_t:s0 tcontext=system_u:system_r:abrt_upload_watch_t:s0 tclass=unix_dgram_socket permissive=0
type=SYSCALL msg=audit(1565000681.906:1420): arch=c000003e syscall=41 success=no exit=-13 a0=1 a1=80002 a2=0 a3=0 items=0 ppid=1 pid=8489 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-upload-wat" exe="/usr/sbin/abrt-upload-watch" subj=system_u:system_r:abrt_upload_watch_t:s0 key=(null)ARCH=x86_64 SYSCALL=socket AUID="unset" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"
type=PROCTITLE msg=audit(1565000681.906:1420): proctitle="/usr/sbin/abrt-upload-watch"

2)
type=AVC msg=audit(1565000678.739:1414): avc:  denied  { getattr } for  pid=8489 comm="abrt-upload-wat" path="/root/.config" dev="vda1" ino=16809580 scontext=system_u:system_r:abrt_upload_watch_t:s0 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=dir permissive=0
type=SYSCALL msg=audit(1565000678.739:1414): arch=c000003e syscall=6 success=no exit=-13 a0=7ffe0ad1f4b0 a1=7ffe0ad1f340 a2=7ffe0ad1f340 a3=0 items=0 ppid=1 pid=8489 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrt-upload-wat" exe="/usr/sbin/abrt-upload-watch" subj=system_u:system_r:abrt_upload_watch_t:s0 key=(null)ARCH=x86_64 SYSCALL=lstat AUID="unset" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"
type=PROCTITLE msg=audit(1565000678.739:1414): proctitle="/usr/sbin/abrt-upload-watch"

Version-Release number of selected component (if applicable):
selinux-policy-3.14.3-9.el8

How reproducible:
run the upload-handling test from ABRT testsuite

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Nikola Knazekova 2019-09-10 12:34:04 UTC
PR for Fedora: https://github.com/fedora-selinux/selinux-policy-contrib/pull/136

Comment 19 Lukas Vrabec 2019-11-19 10:00:39 UTC
*** Bug 1750472 has been marked as a duplicate of this bug. ***

Comment 21 errata-xmlrpc 2020-04-28 16:40:41 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-2020:1773


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