Bug 527408 - setroubleshoot: SELinux is preventing /usr/bin/wine-preloader "mmap_zero" access on <Unknown>.
Summary: setroubleshoot: SELinux is preventing /usr/bin/wine-preloader "mmap_zero...
Keywords:
Status: CLOSED DUPLICATE of bug 527147
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a1f9ee5db91...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-06 09:23 UTC by Mateusz M.
Modified: 2009-10-06 10:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-06 10:07:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mateusz M. 2009-10-06 09:23:21 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing /usr/bin/wine-preloader "mmap_zero" access on <Unknown>.

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 run requiring different access, SELinux
provides booleans to allow you to turn on/off access as needed. The boolean
mmap_low_allowed is set incorrectly.
Boolean Description:
Allow certain domains to map low memory in the kernel


Fix Command:

# setsebool -P mmap_low_allowed 1

Additional Information:

Source Context                unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:wine_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.29-3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-21.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall_boolean
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.1-56.fc12.x86_64 #1 SMP Tue
                              Sep 29 16:16:22 EDT 2009 x86_64 x86_64
Alert Count                   106
First Seen                    Sun 04 Oct 2009 01:32:28 PM BST
Last Seen                     Tue 06 Oct 2009 10:12:12 AM BST
Local ID                      71e3d493-5bd5-4e45-8040-9eca56d76908
Line Numbers                  

Raw Audit Messages            

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

node=(removed) type=SYSCALL msg=audit(1254820332.598:63): arch=40000003 syscall=90 success=no exit=-13 a0=fff02230 a1=0 a2=fff02230 a3=5a items=0 ppid=2116 pid=2117 auid=501 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=pts2 ses=1 comm="wine-preloader" exe="/usr/bin/wine-preloader" subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-21.fc12,catchall_boolean,wine-preloader,wine_t,wine_t,memprotect,mmap_zero
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-10-06 10:07:42 UTC

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


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