View Issue Details

IDProjectCategoryView StatusLast Update
0016731CentOS-8selinux-policypublic2019-11-14 16:11
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016731: SELinux is preventing /usr/bin/ps from sys_ptrace access on the cap_userns labeled ksmtuned_t.
Descriptioni installed fresh centos8 with KVM and a 2 VMs one windows one linux. it is popping up when i have them open.


SELinux is preventing /usr/bin/ps from sys_ptrace access on the cap_userns labeled ksmtuned_t.

***** Plugin catchall (100. confidence) suggests **************************

If you believe that ps should be allowed sys_ptrace access on cap_userns labeled ksmtuned_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'ps' --raw | audit2allow -M my-ps
# semodule -X 300 -i my-ps.pp

Additional Information:
Source Context system_u:system_r:ksmtuned_t:s0
Target Context system_u:system_r:ksmtuned_t:s0
Target Objects Unknown [ cap_userns ]
Source ps
Source Path /usr/bin/ps
Port <Unknown>
Host storm.lab.local
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.14.1-61.el8_0.2.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name storm.lab.local
Platform Linux storm.lab.local 4.18.0-80.11.2.el8_0.x86_64
                              #1 SMP Tue Sep 24 11:32:19 UTC 2019 x86_64 x86_64
Alert Count 11985
First Seen 2019-11-13 10:23:59 EST
Last Seen 2019-11-14 10:57:44 EST
Local ID 6bd41b70-474b-42ba-9c5b-95e14c2ea928

Raw Audit Messages
type=AVC msg=audit(1573747064.377:12927): avc: denied { sys_ptrace } for pid=122737 comm="ps" capability=19 scontext=system_u:system_r:ksmtuned_t:s0 tcontext=system_u:system_r:ksmtuned_t:s0 tclass=cap_userns permissive=0

Hash: ps,ksmtuned_t,ksmtuned_t,cap_userns,sys_ptrace
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-11-14 16:11 shpetim.aliaj New Issue