Bug 643617 - SELinux is preventing /usr/lib/chromium-browser/chromium-browser "create" access .
Summary: SELinux is preventing /usr/lib/chromium-browser/chromium-browser "create" acc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:65416cd6949...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-16 12:16 UTC by Fabian A. Scherschel
Modified: 2010-12-10 11:36 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.9.7-7.fc14
Clone Of:
Environment:
Last Closed: 2010-11-01 20:51:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabian A. Scherschel 2010-10-16 12:16:00 UTC
Summary:

SELinux is preventing /usr/lib/chromium-browser/chromium-browser "create" access
.

Detailed Description:

SELinux denied access requested by chromium-browse. It is not expected that this
access is required by chromium-browse 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:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c
                              0.c1023
Target Objects                None [ netlink_route_socket ]
Source                        chromium-browse
Source Path                   /usr/lib/chromium-browser/chromium-browser
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           chromium-7.0.542.0-4.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-1.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-43.fc14.i686
                              #1 SMP Wed Oct 13 21:36:03 UTC 2010 i686 i686
Alert Count                   3
First Seen                    Sat 16 Oct 2010 01:00:40 CEST
Last Seen                     Sat 16 Oct 2010 01:00:40 CEST
Local ID                      a206b8f6-9441-4777-a6cb-647cf3a51625
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1287183640.473:26421): avc:  denied  { create } for  pid=9000 comm="chromium-browse" scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tclass=netlink_route_socket

node=(removed) type=SYSCALL msg=audit(1287183640.473:26421): arch=40000003 syscall=102 success=no exit=-13 a0=1 a1=b1da3b30 a2=d42ff4 a3=b1da3d68 items=0 ppid=1 pid=9000 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="chromium-browse" exe="/usr/lib/chromium-browser/chromium-browser" subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,chromium-browse,chrome_sandbox_t,chrome_sandbox_t,netlink_route_socket,create
audit2allow suggests:

#============= chrome_sandbox_t ==============
allow chrome_sandbox_t self:netlink_route_socket create;

Comment 1 Miroslav Grepl 2010-10-18 11:18:44 UTC
Fabian,
could you execute

# semanage permissive -a chrome_sandbox_t

This command will change chrominum-browser to a permissive domain and you probably will get other AVC messages which interest me.

Thanks.

Comment 2 Daniel Walsh 2010-10-18 13:15:19 UTC
I would bet chromium sandbox is trying to do some name resolution or getpw call.

Any idea what plugin caused this?

Comment 3 Fabian A. Scherschel 2010-10-18 13:34:03 UTC
Just executed that command. Will let you know what I get back...

Comment 4 Fabian A. Scherschel 2010-10-18 19:42:14 UTC
Right now I'm just getting the same message again a few times...

Comment 5 Daniel Walsh 2010-10-18 21:00:32 UTC
Strange, lets just give it create_socket_perms and see if it wants more.

Fixed in selinux-policy-3.9.7-5.fc14

Comment 6 Fedora Update System 2010-10-28 20:12:54 UTC
selinux-policy-3.9.7-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-7.fc14

Comment 7 Fedora Update System 2010-10-29 20:39:07 UTC
selinux-policy-3.9.7-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.7-7.fc14

Comment 8 Fedora Update System 2010-11-01 20:50:24 UTC
selinux-policy-3.9.7-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fabian A. Scherschel 2010-11-01 21:49:32 UTC
Still happening to me. Not quite sure if the update has hit the German mirrors yet, though... Will keep an eye on it.

Comment 10 Daniel Walsh 2010-11-02 12:22:16 UTC
rpm -


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