Bug 866131 - SELinux is preventing /usr/lib64/chromium-browser/nacl_helper_bootstrap from using the 'sigkill' accesses on a process.
Summary: SELinux is preventing /usr/lib64/chromium-browser/nacl_helper_bootstrap from ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dc301d0441417723670ed8c5f55...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-14 08:59 UTC by ali.sherif10
Modified: 2012-12-20 15:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:53:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-14 08:59 UTC, ali.sherif10
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-14 08:59 UTC, ali.sherif10
no flags Details

Description ali.sherif10 2012-10-14 08:59:07 UTC
Description of problem:
After I had loaded Airmech, which's a native client game, on Chromium, I saw the notification of the bug

Additional info:
libreport version: 2.0.14
kernel:         3.6.1-1.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/chromium-browser/nacl_helper_bootstrap from using the 'sigkill' accesses on a process.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that nacl_helper_bootstrap should be allowed sigkill access on processes labeled chrome_sandbox_nacl_t 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                unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0
:                              -s0:c0.c1023
:Target Objects                 [ process ]
:Source                        nacl_helper_boo
:Source Path                   /usr/lib64/chromium-browser/nacl_helper_bootstrap
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           chromium-21.0.1180.89-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-153.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.1-1.fc17.x86_64 #1 SMP Wed Oct
:                              10 12:13:05 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-10-14 10:56:41 EET
:Last Seen                     2012-10-14 10:56:41 EET
:Local ID                      aea648a6-df94-449a-b516-776d175e7893
:
:Raw Audit Messages
:type=AVC msg=audit(1350205001.356:87): avc:  denied  { sigkill } for  pid=5732 comm="nacl_helper_boo" scontext=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:chrome_sandbox_nacl_t:s0-s0:c0.c1023 tclass=process
:
:
:type=SYSCALL msg=audit(1350205001.356:87): arch=x86_64 syscall=kill success=no exit=EACCES a0=46 a1=9 a2=1 a3=7f3cc3238880 items=0 ppid=3 pid=5732 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=nacl_helper_boo exe=/usr/lib64/chromium-browser/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,chrome_sandbox_nacl_t,process,sigkill
:
:audit2allow
:
:#============= chrome_sandbox_nacl_t ==============
:allow chrome_sandbox_nacl_t self:process sigkill;
:
:audit2allow -R
:
:#============= chrome_sandbox_nacl_t ==============
:allow chrome_sandbox_nacl_t self:process sigkill;
:

Comment 1 ali.sherif10 2012-10-14 08:59:11 UTC
Created attachment 626833 [details]
File: type

Comment 2 ali.sherif10 2012-10-14 08:59:13 UTC
Created attachment 626834 [details]
File: hashmarkername

Comment 3 Elad Alfassa 2012-10-14 09:31:16 UTC
I wouldn't feel comfortable if browser apps were allowed to send sigkill to every process.




-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 4 Daniel Walsh 2012-10-15 14:39:23 UTC
This would only allow it to kill processes with the same label.

Added to F18.

Comment 5 Fedora Update System 2012-10-17 12:36:26 UTC
selinux-policy-3.10.0-156.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-156.fc17

Comment 6 Fedora Update System 2012-10-18 00:27:47 UTC
Package selinux-policy-3.10.0-156.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.10.0-156.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16347/selinux-policy-3.10.0-156.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-20 15:53:18 UTC
selinux-policy-3.10.0-156.fc17 has been pushed to the Fedora 17 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.