Bug 1013203 - SELinux is preventing /home/mikhail/.local/share/Steam/ubuntu12_32/steam from using the 'execheap' accesses on a process.
Summary: SELinux is preventing /home/mikhail/.local/share/Steam/ubuntu12_32/steam from...
Keywords:
Status: CLOSED DUPLICATE of bug 894788
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3767d6e9f4cd51f050dd062f15c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-28 10:04 UTC by Mikhail
Modified: 2013-09-28 10:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-28 10:50:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2013-09-28 10:04:05 UTC
Description of problem:
SELinux is preventing /home/mikhail/.local/share/Steam/ubuntu12_32/steam from using the 'execheap' accesses on a process.

*****  Plugin allow_execheap (53.1 confidence) suggests   ********************

If you do not think /home/mikhail/.local/share/Steam/ubuntu12_32/steam should need to map heap memory that is both writable and executable.
Then you need to report a bug. This is a potentially dangerous access.
Do
contact your security administrator and report this issue.

*****  Plugin catchall_boolean (42.6 confidence) suggests   ******************

If you want to allow selinuxuser to execheap
Then you must tell SELinux about this by enabling the 'selinuxuser_execheap' boolean.
You can read 'None' man page for more details.
Do
setsebool -P selinuxuser_execheap 1

*****  Plugin catchall (5.76 confidence) suggests   **************************

If you believe that steam should be allowed execheap access on processes labeled unconfined_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 steam /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                 [ process ]
Source                        steam
Source Path                   /home/mikhail/.local/share/Steam/ubuntu12_32/steam
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-83.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.1-300.fc20.x86_64 #1 SMP Sat
                              Sep 14 15:01:23 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-09-28 14:15:03 YEKT
Last Seen                     2013-09-28 14:15:03 YEKT
Local ID                      9c9711ae-d4b1-4692-ae87-d421c9aeab0d

Raw Audit Messages
type=AVC msg=audit(1380356103.925:676): avc:  denied  { execheap } for  pid=29502 comm="steam" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1380356103.925:676): arch=i386 syscall=capget success=no exit=EACCES a0=b106000 a1=c000 a2=7 a3=ffc7b15c items=0 ppid=5340 pid=29502 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=pts3 comm=steam exe=/home/mikhail/.local/share/Steam/ubuntu12_32/steam subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Hash: steam,unconfined_t,unconfined_t,process,execheap

Additional info:
reporter:       libreport-2.1.7
hashmarkername: setroubleshoot
kernel:         3.11.1-300.fc20.x86_64
type:           libreport

Potential duplicate: bug 894788

Comment 1 Daniel Walsh 2013-09-28 10:50:14 UTC

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

Comment 2 Daniel Walsh 2013-09-28 10:51:14 UTC
*****  Plugin allow_execheap (53.1 confidence) suggests   ********************

If you do not think /home/mikhail/.local/share/Steam/ubuntu12_32/steam should need to map heap memory that is both writable and executable.
Then you need to report a bug. This is a potentially dangerous access.
Do
contact your security administrator and report this issue.

Basically I don't like allowing this access, but probably game apps are a little shaky in their design.


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