Description of problem: Tried to start a wine application SELinux is preventing wine-preloader from 'mmap_zero' accesses on the memprotect . ***** Plugin mmap_zero (53.1 confidence) suggests ************************** If you do not think wine-preloader should need to mmap low memory in the kernel. Then you may be under attack by a hacker, this is a very dangerous access. Do contact your security administrator and report this issue. ***** Plugin catchall_boolean (42.6 confidence) suggests ******************* If you want to control the ability to mmap a low area of the address space, as configured by /proc/sys/kernel/mmap_min_addr. Then you must tell SELinux about this by enabling the 'mmap_low_allowed' boolean. You can read 'unconfined_selinux' man page for more details. Do setsebool -P mmap_low_allowed 1 ***** Plugin catchall (5.76 confidence) suggests *************************** If you believe that wine-preloader should be allowed mmap_zero access on the memprotect 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 wine-preloader /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 [ memprotect ] Source wine-preloader Source Path wine-preloader Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.12.1-28.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc6.git2.1.fc19.x86_64 #1 SMP Thu Apr 11 17:11:04 UTC 2013 x86_64 x86_64 Alert Count 4 First Seen 2013-04-15 12:22:17 IST Last Seen 2013-04-15 12:31:51 IST Local ID 94141a8e-ee66-4a96-a394-0faa0d45a3a0 Raw Audit Messages type=AVC msg=audit(1366025511.374:2415): avc: denied { mmap_zero } for pid=9250 comm="wine-preloader" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=memprotect Hash: wine-preloader,unconfined_t,unconfined_t,memprotect,mmap_zero audit2allow #============= unconfined_t ============== #!!!! This avc is allowed in the current policy allow unconfined_t self:memprotect mmap_zero; audit2allow -R require { type unconfined_t; class memprotect mmap_zero; } #============= unconfined_t ============== #!!!! This avc is allowed in the current policy allow unconfined_t self:memprotect mmap_zero; Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc6.git2.1.fc19.x86_64 type: libreport Potential duplicate: bug 665665
*** This bug has been marked as a duplicate of bug 665665 ***