Bug 540529 - SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "getattr" access on /proc/<pid>.
Summary: SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "getattr" ac...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ab1206fcfbb...
: 540531 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 15:25 UTC by Zack Cerza
Modified: 2009-12-23 14:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-23 14:14:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zack Cerza 2009-11-23 15:25:44 UTC
Summary:

SELinux is preventing /usr/lib64/chromium-browser/chrome-sandbox "getattr"
access on /proc/.

Detailed Description:

[chrome-sandbox has a permissive type (chrome_sandbox_t). This access was not
denied.]

SELinux denied access requested by chrome-sandbox. It is not expected that this
access is required by chrome-sandbox 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                system_u:system_r:udev_t:s0-s0:c0.c1023
Target Objects                /proc/<pid> [ dir ]
Source                        chrome-sandbox
Source Path                   /usr/lib64/chromium-browser/chrome-sandbox
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-4.0.252.0-0.1.20091119svn32498.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-46.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat
                              Nov 7 21:11:14 EST 2009 x86_64 x86_64
Alert Count                   4
First Seen                    Mon 23 Nov 2009 10:15:29 AM EST
Last Seen                     Mon 23 Nov 2009 10:24:06 AM EST
Local ID                      397b38ef-7c98-4455-b1b7-92ca723add6a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258989846.779:314): avc:  denied  { getattr } for  pid=15119 comm="chrome-sandbox" path="/proc/504" dev=proc ino=6632 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258989846.779:314): arch=c000003e syscall=4 success=yes exit=128 a0=7fff9acda3d0 a1=7fff9acda330 a2=7fff9acda330 a3=1999999999999999 items=0 ppid=15113 pid=15119 auid=501 uid=501 gid=501 euid=0 suid=0 fsuid=0 egid=501 sgid=501 fsgid=501 tty=(none) ses=1 comm="chrome-sandbox" exe="/usr/lib64/chromium-browser/chrome-sandbox" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall,chrome-sandbox,chrome_sandbox_t,udev_t,dir,getattr
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t udev_t:dir getattr;

Comment 1 Daniel Walsh 2009-11-23 17:13:03 UTC
*** Bug 540531 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2009-12-23 14:14:48 UTC
Fixed in selinux-policy-3.6.32-59.fc12.noarch
yum update selinux-policy-targeted --enablerepo=updates-testing


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