Bug 539790 - SELinux is preventing wine-preloader (unconfined_execmem_t) "mmap_zero" to <Unknown> (unconfined_execmem_t).
Summary: SELinux is preventing wine-preloader (unconfined_execmem_t) "mmap_zero" to &l...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:b03660bdb8d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-21 03:14 UTC by Edofin
Modified: 2009-11-23 13:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-23 13:36:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Edofin 2009-11-21 03:14:38 UTC
Summary:

SELinux is preventing wine-preloader (unconfined_execmem_t) "mmap_zero" to <Unknown>
(unconfined_execmem_t).

Detailed Description:

SELinux denied access requested by wine-preloader. The current boolean settings
do not allow this access. If you have not setup wine-preloader to require this
access this may signal an intrusion attempt. If you do intend this access you
need to change the booleans on this system to allow the access.

Allowing Access:

Confined processes can be configured to to run requiring different access,
SELinux provides booleans to allow you to turn on/off access as needed. The
boolean allow_unconfined_mmap_low is set incorrectly.
Boolean Description:
Allow unconfined domain to map low memory in the kernel


Fix Command:

# setsebool -P allow_unconfined_mmap_low 1

Additional Information:

Source Context                unconfined_u:unconfined_r:unconfined_execmem_t:s0-
                              s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_execmem_t:s0-
                              s0:c0.c1023
Target Objects                None [ memprotect ]
Source                        wine-preloader
Source Path                   /usr/bin/wine-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           wine-core-1.1.23-1.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-81.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_boolean
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52
                              EDT 2009 x86_64 x86_64
Alert Count                   4
First Seen                    Mon 07 Sep 2009 03:44:06 PM MDT
Last Seen                     Mon 07 Sep 2009 03:44:06 PM MDT
Local ID                      05a2c5bd-646a-4ce9-b3c9-52a843e006b5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1252359846.226:81): avc:  denied  { mmap_zero } for  pid=5482 comm="wine-preloader" scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 tclass=memprotect

node=(removed) type=SYSCALL msg=audit(1252359846.226:81): arch=40000003 syscall=90 success=no exit=-13 a0=ff989530 a1=0 a2=ff989530 a3=5a items=0 ppid=5480 pid=5482 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="wine-preloader" exe="/usr/bin/wine-preloader" subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-81.fc11,catchall_boolean,wine-preloader,unconfined_execmem_t,unconfined_execmem_t,memprotect,mmap_zero
audit2allow suggests:

#============= unconfined_execmem_t ==============
allow unconfined_execmem_t self:memprotect mmap_zero;

Comment 1 Daniel Walsh 2009-11-23 13:36:09 UTC

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


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