Bug 637574 - SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "read write" access on /dev/dri/card0.
Summary: SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "read write" ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5c4b1b60618...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-26 16:56 UTC by Hicham HAOUARI
Modified: 2010-10-05 13:14 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.5-7.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-05 13:14:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hicham HAOUARI 2010-09-26 16:56:32 UTC
Summary:

SELinux is preventing /usr/lib/xulrunner-1.9.2/plugin-container "read write"
access on /dev/dri/card0.

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                system_u:object_r:dri_device_t:s0
Target Objects                /dev/dri/card0 [ chr_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.10-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-3.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.6-33.rc1.fc14.i686 #1 SMP Sat Sep 25
                              13:44:10 UTC 2010 i686 i686
Alert Count                   7
First Seen                    Sun 26 Sep 2010 04:37:28 PM WET
Last Seen                     Sun 26 Sep 2010 04:46:47 PM WET
Local ID                      ee14f1a8-7a63-4484-8ec4-3424189db82f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285519607.574:25): avc:  denied  { read write } for  pid=2002 comm="plugin-containe" path="/dev/dri/card0" dev=devtmpfs ino=6072 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1285519607.574:25): arch=40000003 syscall=54 success=yes exit=0 a0=14 a1=c008646a a2=ae9cca58 a3=ae07f0a0 items=0 ppid=1939 pid=2002 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 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,dri_device_t,chr_file,read,write
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t dri_device_t:chr_file { read write };

Comment 1 Daniel Walsh 2010-09-27 13:28:15 UTC
Fixed in selinux-policy-3.9.5-7.fc14

Comment 2 Fedora Update System 2010-09-27 14:47:13 UTC
selinux-policy-3.9.5-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 3 Fedora Update System 2010-09-27 20:08:45 UTC
selinux-policy-3.9.5-7.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.5-7.fc14

Comment 4 Fedora Update System 2010-10-05 13:13:10 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 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.