Bug 572793 - SELinux is preventing /bin/ps "read" access on stat.
Summary: SELinux is preventing /bin/ps "read" access on stat.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:27476fef969...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-12 01:56 UTC by Cia Watson
Modified: 2010-03-20 03:35 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.14-3.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-20 03:35:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cia Watson 2010-03-12 01:56:28 UTC
Summary:

SELinux is preventing /bin/ps "read" access on stat.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by ps. It is not expected that this access is
required by ps and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:ipsec_mgmt_t:s0
Target Context                system_u:system_r:udev_t:s0-s0:c0.c1023
Target Objects                stat [ file ]
Source                        ps
Source Path                   /bin/ps
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           procps-3.2.8-7.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.11-1.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33-1.fc13.i686.PAE
                              #1 SMP Wed Feb 24 19:54:49 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Thu 11 Mar 2010 05:53:49 PM PST
Last Seen                     Thu 11 Mar 2010 05:53:49 PM PST
Local ID                      9e9d8e56-1b25-4332-954f-375037322d74
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268358829.454:28): avc:  denied  { read } for  pid=3125 comm="ps" name="stat" dev=proc ino=47130 scontext=system_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=AVC msg=audit(1268358829.454:28): avc:  denied  { open } for  pid=3125 comm="ps" name="stat" dev=proc ino=47130 scontext=system_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=SYSCALL msg=audit(1268358829.454:28): arch=40000003 syscall=5 success=yes exit=5 a0=a3d720 a1=0 a2=0 a3=a3d720 items=0 ppid=3078 pid=3125 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ps" exe="/bin/ps" subj=system_u:system_r:ipsec_mgmt_t:s0 key=(null)



Hash String generated from  catchall,ps,ipsec_mgmt_t,udev_t,file,read
audit2allow suggests:

#============= ipsec_mgmt_t ==============
allow ipsec_mgmt_t udev_t:file { read open };

Comment 1 Cia Watson 2010-03-12 02:02:52 UTC
I just woke the system up from hibernation and pulled up >system > admin > services and got the security alert -- a total of about 35 of them, all identical and all at the same time! I had the same alert happen on Feb. 27, but since F13 wasn't alpha then I didn't submit it and I'm not exactly sure what I did that triggered it then.

Comment 2 Daniel Walsh 2010-03-12 13:41:53 UTC
Fixed in selinux-policy-3.7.13-4.fc13.noarch

Comment 3 Fedora Update System 2010-03-12 19:44:44 UTC
selinux-policy-3.7.14-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.14-1.fc13

Comment 4 Fedora Update System 2010-03-14 13:38:41 UTC
selinux-policy-3.7.14-3.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.14-3.fc13

Comment 5 Fedora Update System 2010-03-20 03:34:49 UTC
selinux-policy-3.7.14-3.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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