Bug 540138 - SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" access on /proc/<pid>.
Summary: SELinux is preventing /usr/lib/chromium-browser/chrome-sandbox "getattr" acce...
Keywords:
Status: CLOSED DUPLICATE of bug 539754
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fac82878f3b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-22 14:59 UTC by Krzysztof Tarnowski
Modified: 2009-11-23 08:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-23 08:21:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Krzysztof Tarnowski 2009-11-22 14:59:21 UTC
Summary:

SELinux is preventing /usr/lib/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:pcscd_t:s0
Target Objects                /proc/<pid> [ dir ]
Source                        chrome-sandbox
Source Path                   /usr/lib/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.i686.PAE #1
                              SMP Sat Nov 7 21:25:57 EST 2009 i686 i686
Alert Count                   34
First Seen                    Sun 22 Nov 2009 11:44:45 GMT
Last Seen                     Sun 22 Nov 2009 14:49:10 GMT
Local ID                      24e1da3f-e40f-41e3-a37c-0ce973d28ec7
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258901350.287:759): avc:  denied  { getattr } for  pid=12275 comm="chrome-sandbox" path="/proc/6657" dev=proc ino=19948 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:system_r:pcscd_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1258901350.287:759): arch=40000003 syscall=195 success=yes exit=0 a0=bfb972fc a1=bfb97294 a2=b6cff4 a3=8049b52 items=0 ppid=10287 pid=12275 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts1 ses=1 comm="chrome-sandbox" exe="/usr/lib/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,pcscd_t,dir,getattr
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-11-23 08:21:03 UTC

*** This bug has been marked as a duplicate of bug 539754 ***


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