| Summary: | SELinux is preventing /home/tom/sunken/blender-svn/install/linux2/blender from using the 'execmem' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom <thomasbelvin> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:6e0554060e0716e0eaa2b788efac995a05a460706a6d85291918513c9482bac7 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-09 15:44:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
If you want to trust apps that you download, turn the check off. # setsebool -P allow_execmem 1 |
SELinux is preventing /home/tom/sunken/blender-svn/install/linux2/blender from using the 'execmem' accesses on a process. ***** Plugin catchall_boolean (47.5 confidence) suggests ******************* If you want to allow unconfined executables to make their stack executable. This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla Then you must tell SELinux about this by enabling the 'allow_execstack' boolean. Do setsebool -P allow_execstack 1 ***** Plugin catchall_boolean (47.5 confidence) suggests ******************* If you want to allow unconfined executables to map a memory region as both executable and writable, this is dangerous and the executable should be reported in bugzilla Then you must tell SELinux about this by enabling the 'allow_execmem' boolean. Do setsebool -P allow_execmem 1 ***** Plugin catchall (6.38 confidence) suggests *************************** If you believe that blender should be allowed execmem 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 blender /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 Unknown [ process ] Source blender Source Path /home/tom/sunken/blender- svn/install/linux2/blender Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.16-23.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.5-22.fc15.x86_64 #1 SMP Mon May 2 19:28:55 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Sun 08 May 2011 10:46:22 AM EDT Last Seen Sun 08 May 2011 10:46:22 AM EDT Local ID 6eef23b5-805e-45d2-bb8d-a70fecf68db2 Raw Audit Messages type=AVC msg=audit(1304865982.392:249): avc: denied { execmem } for pid=5710 comm="blender" 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(1304865982.392:249): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=80000 a2=7 a3=22 items=0 ppid=5697 pid=5710 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts2 ses=5 comm=blender exe=/home/tom/sunken/blender-svn/install/linux2/blender subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash: blender,unconfined_t,unconfined_t,process,execmem audit2allow #============= unconfined_t ============== #!!!! This avc can be allowed using one of the these booleans: # allow_execstack, allow_execmem allow unconfined_t self:process execmem; audit2allow -R #============= unconfined_t ============== #!!!! This avc can be allowed using one of the these booleans: # allow_execstack, allow_execmem allow unconfined_t self:process execmem;