Bug 632643

Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "getattr" access on /tmp/FlashXXzbK8Dq.
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:860af1d8d58f699f69d416c6897f8fbd355e712282e3b3db142ea0d5785b8fa5
Fixed In Version: selinux-policy-3.9.3-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-23 12:46:35 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 Kjartan Maraas 2010-09-10 15:51:31 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "getattr" access
on /tmp/FlashXXzbK8Dq.

Detailed Description:

[plugin-containe has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe 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                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:tmp_t:s0
Target Objects                /tmp/FlashXXzbK8Dq [ file ]
Source                        plugin-containe
Source Path                   /usr/lib/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.7-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.i686.PAE #1
                              SMP Fri Aug 27 07:47:26 UTC 2010 i686 i686
Alert Count                   5
First Seen                    fr. 03. sep. 2010 kl. 14.31 +0000
Last Seen                     ti. 07. sep. 2010 kl. 22.56 +0000
Local ID                      8e3caa22-ae67-4a6f-a21e-c7d2a7d08c88
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283892972.842:134): avc:  denied  { getattr } for  pid=27361 comm="plugin-containe" path="/tmp/FlashXXzbK8Dq" dev=sda3 ino=228 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283892972.842:134): arch=40000003 syscall=197 success=yes exit=0 a0=10 a1=b44d3c08 a2=3b4ff4 a3=b58e7d70 items=0 ppid=5443 pid=27361 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="plugin-containe" exe="/usr/lib/xulrunner-1.9.2/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,tmp_t,file,getattr
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t tmp_t:file getattr;

Comment 1 Daniel Walsh 2010-09-10 15:56:27 UTC
Fixed in selinux-policy-3.9.3-4.fc14

Comment 2 Fedora Update System 2010-09-10 16:51:35 UTC
selinux-policy-3.9.3-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 3 Fedora Update System 2010-09-11 02:19:29 UTC
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14

Comment 4 Fedora Update System 2010-09-23 12:43:34 UTC
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.