Bug 565598

Summary: SELinux is preventing /usr/libexec/plugin-scanner "execstack" access.
Product: [Fedora] Fedora Reporter: Suraj Prasad <masterofdestiny>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:c6e6c90801a53355f3953a8c2c08511f092f271bf86d51dde5573f265098ce30
Fixed In Version: selinux-policy-3.6.32-92.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-04 00:16:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suraj Prasad 2010-02-15 17:56:23 UTC
Summary:

SELinux is preventing /usr/libexec/plugin-scanner "execstack" access.

Detailed Description:

SELinux denied access requested by plugin-scanner. It is not expected that this
access is required by plugin-scanner 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                xguest_u:xguest_r:xguest_t:s0
Target Context                xguest_u:xguest_r:xguest_t:s0
Target Objects                None [ process ]
Source                        nautilus
Source Path                   /usr/bin/nautilus
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gstreamer-0.10.25.1-3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.12-174.2.3.fc12.i686 #1 SMP
                              Mon Jan 18 20:22:46 UTC 2010 i686 i686
Alert Count                   16
First Seen                    Wed 02 Dec 2009 12:36:39 AM IST
Last Seen                     Sat 13 Feb 2010 01:44:24 PM IST
Local ID                      9a8d1cf3-1eb1-4dec-92a7-87bef8e1d424
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1266048864.323:20): avc:  denied  { execstack } for  pid=1918 comm="plugin-scanner" scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=xguest_u:xguest_r:xguest_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1266048864.323:20): arch=40000003 syscall=125 success=no exit=-13 a0=bfb53000 a1=1000 a2=1000007 a3=bfb52250 items=0 ppid=1631 pid=1918 auid=502 uid=502 gid=502 euid=502 suid=502 fsuid=502 egid=502 sgid=502 fsgid=502 tty=(none) ses=1 comm="plugin-scanner" exe="/usr/libexec/plugin-scanner" subj=xguest_u:xguest_r:xguest_t:s0 key=(null)



Hash String generated from  catchall,nautilus,xguest_t,xguest_t,process,execstack
audit2allow suggests:

#============= xguest_t ==============
allow xguest_t self:process execstack;

Comment 1 Daniel Walsh 2010-02-16 16:30:09 UTC
Miroslav, could you add



tunable_policy(`allow_execstack',`
	allow xguest_t self:process execstack;
')

Comment 2 Miroslav Grepl 2010-02-16 16:52:16 UTC
Fixed in selinux-policy-3.6.32-91.fc12

Comment 3 Fedora Update System 2010-02-23 20:56:55 UTC
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12

Comment 4 Fedora Update System 2010-02-26 03:43:37 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 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/F12/FEDORA-2010-2953

Comment 5 Fedora Update System 2010-03-04 00:12:22 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.