Bug 1289274
Summary: | SELinux prevents dmidecode from reading /dev/urandom | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Vasu Kulkarni <vakulkar> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde, vakulkar |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.13.1-60.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 02:25:45 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
Vasu Kulkarni
2015-12-07 19:43:59 UTC
# rpm -qa selinux-policy\* selinux-policy-sandbox-3.13.1-60.el7.noarch selinux-policy-mls-3.13.1-60.el7.noarch selinux-policy-3.13.1-60.el7.noarch selinux-policy-minimum-3.13.1-60.el7.noarch selinux-policy-devel-3.13.1-60.el7.noarch selinux-policy-doc-3.13.1-60.el7.noarch selinux-policy-targeted-3.13.1-60.el7.noarch # sesearch -s dmidecode_t -t urandom_device_t -c chr_file -A -C -p read Found 2 semantic av rules: allow domain urandom_device_t : chr_file { ioctl read getattr lock open } ; DT allow domain urandom_device_t : chr_file { ioctl read getattr lock open } ; [ global_ssp ] # Which version of selinux-policy was installed on that machine? Following version is installed [ubuntu@magna031 cd]$ rpm -qa selinux-policy\* selinux-policy-3.13.1-60.el7.noarch selinux-policy-targeted-3.13.1-60.el7.noarch #============= dmidecode_t ============== #!!!! This avc is allowed in the current policy allow dmidecode_t urandom_device_t:chr_file read; [root@bkr-hv10-guest16 ~]# rpm -q selinux-policy selinux-policy-3.13.1-60.el7_2.3.noarch [root@bkr-hv10-guest16 ~]# sesearch -s dmidecode_t -t urandom_device_t -c chr_file -A -C -p read Found 2 semantic av rules: allow domain urandom_device_t : chr_file { ioctl read getattr lock open } ; DT allow domain urandom_device_t : chr_file { ioctl read getattr lock open } ; [ global_ssp ] selinux-policy-3.13.1-60.el7.noarch looks fine. 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://rhn.redhat.com/errata/RHBA-2016-2283.html The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |