Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1421075 - allow rules exist which circumvent the deny_ptrace boolean
allow rules exist which circumvent the deny_ptrace boolean
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy (Show other bugs)
7.4
All Linux
medium Severity medium
: rc
: ---
Assigned To: Lukas Vrabec
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-10 04:58 EST by Milos Malik
Modified: 2018-04-10 08:26 EDT (History)
6 users (show)

See Also:
Fixed In Version: selinux-policy-3.13.1-175.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 08:26:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0763 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2018-04-10 08:08:10 EDT

  None (edit)
Description Milos Malik 2017-02-10 04:58:13 EST
Description of problem:
All rules which allow the ptrace operation should be controlled via the deny_ptrace boolean.
* https://fedoraproject.org/wiki/Features/SELinuxDenyPtrace

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

How reproducible:
* always

Steps to Reproduce:
# sesearch --allow -C -p ptrace | grep -v deny_ptrace | grep allow
   allow sysadm_t hwloc_dhwd_t : process { transition sigchld sigkill sigstop signull signal ptrace getattr } ; 
   allow abrt_dump_oops_t domain : process { signull ptrace getattr } ; 
#

Actual results:
* the output of above-mentioned command contains 2 allow rules

Expected results:
* the output of above-mentioned command is empty
Comment 9 errata-xmlrpc 2018-04-10 08:26:56 EDT
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:0763

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