Bug 910865 - SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute' accesses on the chr_file /dev/zero.
Summary: SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute'...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dcf2cbadc349ed169e6a1ed3f27...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-13 18:20 UTC by blitzter
Modified: 2013-03-03 22:41 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-03 22:41:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description blitzter 2013-02-13 18:20:30 UTC
Description of problem:
I opened google chrome and saw this issue. 
SELinux is preventing /opt/google/chrome/nacl_helper_bootstrap from 'execute' accesses on the chr_file /dev/zero.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that nacl_helper_bootstrap should be allowed execute access on the zero chr_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep nacl_helper_boo /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0
                              -s0:c0.c1023
Target Context                system_u:object_r:zero_device_t:s0
Target Objects                /dev/zero [ chr_file ]
Source                        nacl_helper_boo
Source Path                   /opt/google/chrome/nacl_helper_bootstrap
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           google-chrome-stable-24.0.1312.70-181759.i386
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-76.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.7.6-201.fc18.i686.PAE #1 SMP Mon
                              Feb 4 16:05:44 UTC 2013 i686 i686
Alert Count                   1
First Seen                    2013-02-13 23:48:30 IST
Last Seen                     2013-02-13 23:48:30 IST
Local ID                      6bea7d83-82d8-4456-9319-89794cd949a3

Raw Audit Messages
type=AVC msg=audit(1360779510.757:376): avc:  denied  { execute } for  pid=2848 comm="nacl_helper_boo" path="/dev/zero" dev="devtmpfs" ino=22 scontext=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 tcontext=system_u:object_r:zero_device_t:s0 tclass=chr_file


type=SYSCALL msg=audit(1360779510.757:376): arch=i386 syscall=mmap2 success=yes exit=-1218199552 a0=0 a1=2000 a2=7 a3=2 items=0 ppid=1 pid=2848 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=nacl_helper_boo exe=/opt/google/chrome/nacl_helper_bootstrap subj=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 key=(null)

Hash: nacl_helper_boo,chrome_sandbox_nacl_t,zero_device_t,chr_file,execute

audit2allow

#============= chrome_sandbox_nacl_t ==============
allow chrome_sandbox_nacl_t zero_device_t:chr_file execute;

audit2allow -R

#============= chrome_sandbox_nacl_t ==============
allow chrome_sandbox_nacl_t zero_device_t:chr_file execute;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.6-201.fc18.i686.PAE
type:           libreport

Comment 1 Daniel Walsh 2013-02-18 17:30:24 UTC
e0b65de9a7a0e56e5e5f05ba3262336d7151e702 Fixes this in Rawhide.

Comment 2 Miroslav Grepl 2013-02-25 16:10:43 UTC
Backported.

Comment 3 Fedora Update System 2013-03-01 13:03:32 UTC
selinux-policy-3.11.1-82.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-82.fc18

Comment 4 Fedora Update System 2013-03-02 20:14:20 UTC
Package selinux-policy-3.11.1-82.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-82.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3309/selinux-policy-3.11.1-82.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-03-03 22:41:42 UTC
selinux-policy-3.11.1-82.fc18 has been pushed to the Fedora 18 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.