Bug 566080 - SELinux is preventing wine-preloader (unconfined_t) "mmap_zero" to <Unknown> (unconfined_t).
Summary: SELinux is preventing wine-preloader (unconfined_t) "mmap_zero" to <Unknow...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3ecac7b6af7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-17 04:58 UTC by Daya Shanker Prasad
Modified: 2010-05-14 07:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-17 11:30:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daya Shanker Prasad 2010-02-17 04:58:24 UTC
Summary:

SELinux is preventing wine-preloader (unconfined_t) "mmap_zero" to <Unknown>
(unconfined_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_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                None [ memprotect ]
Source                        wine-preloader
Source Path                   /usr/local/bin/wine-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-86.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_boolean
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.9-96.fc11.i686.PAE #1
                              SMP Tue Nov 3 23:41:33 EST 2009 i686 i686
Alert Count                   131
First Seen                    Wed 14 Oct 2009 12:44:24 PM IST
Last Seen                     Tue 10 Nov 2009 12:00:29 PM IST
Local ID                      bac1d479-8202-4bed-8eaf-5d25809b854a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257834629.471:26): avc:  denied  { mmap_zero } for  pid=3806 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

node=(removed) type=SYSCALL msg=audit(1257834629.471:26): arch=40000003 syscall=90 success=no exit=-13 a0=bfee83dc a1=0 a2=bfee83dc a3=0 items=0 ppid=1 pid=3806 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/local/bin/wine-preloader" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall_boolean,wine-preloader,unconfined_t,unconfined_t,memprotect,mmap_zero
audit2allow suggests:

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'mmap_low_allowed'

allow unconfined_t self:memprotect mmap_zero;

Comment 1 Miroslav Grepl 2010-02-17 11:30:54 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.