Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1520897 - /dev/drm_dp_aux* devices should have a more specific label than device_t
/dev/drm_dp_aux* devices should have a more specific label than device_t
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy (Show other bugs)
7.5
All Linux
unspecified Severity medium
: rc
: ---
Assigned To: Lukas Vrabec
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-05 07:31 EST by Zdenek Pytela
Modified: 2018-04-10 08:48 EDT (History)
6 users (show)

See Also:
Fixed In Version: selinux-policy-3.13.1-182.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 08:47:26 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 Knowledge Base (Solution) 3260541 None None None 2017-12-05 07:45 EST
Red Hat Product Errata RHBA-2018:0763 None None None 2018-04-10 08:48 EDT

  None (edit)
Description Zdenek Pytela 2017-12-05 07:31:36 EST
Description of problem:
The RHEL7 STIG requires that all device files in /dev have specific SELinux file types other than the device_t type:

http://rhel7stig.readthedocs.io/en/latest/medium.html#v-72039-all-system-device-files-must-be-correctly-labeled-to-prevent-unauthorized-modification-rhel-07-020900

As the /dev/drm_dp_aux* files have the generic device_t file type, conformance to the RHEL-07-020900 STIG rule on hosts with Intel Corporation HD Graphics 630 controllers fails.

Version-Release number of selected component (if applicable):


How reproducible:
Always with this hardware or a similar one

Steps to Reproduce:
1. restorecon -Rv /dev
2. find /dev -context '*:device_t:*' \( -type c -o -type b \) -print0 | xargs -0 ls -lsaZ


Actual results:
crw-------. root root system_u:object_r:device_t:s0    /dev/drm_dp_aux0
crw-------. root root system_u:object_r:device_t:s0    /dev/drm_dp_aux1
crw-------. root root system_u:object_r:device_t:s0    /dev/drm_dp_aux2


Expected results:
<no files with device_t labels>

Additional info:
Comment 10 errata-xmlrpc 2018-04-10 08:47:26 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.