Bug 546964 - SELinux is preventing amule (unconfined_t) "mmap_zero" to <Unknown> (unconfined_t).
Summary: SELinux is preventing amule (unconfined_t) "mmap_zero" to <Unknown> (un...
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:3675f719110...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-12 22:34 UTC by Piotr Kolaczek
Modified: 2009-12-14 10:59 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-14 10:59:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Piotr Kolaczek 2009-12-12 22:34:28 UTC
Summary:

SELinux is preventing amule (unconfined_t) "mmap_zero" to <Unknown>
(unconfined_t).

Detailed Description:

SELinux denied access requested by amule. The current boolean settings do not
allow this access. If you have not setup amule 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                        amule
Source Path                   /usr/bin/amule
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           amule-2.2.6-1.fc11
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                   1
First Seen                    Sun 08 Nov 2009 08:35:09 PM CET
Last Seen                     Sun 08 Nov 2009 08:35:09 PM CET
Local ID                      4cba2a83-fabe-44f0-9452-752ce705a8cf
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257708909.205:364): avc:  denied  { mmap_zero } for  pid=6588 comm="amule" 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(1257708909.205:364): arch=40000003 syscall=192 success=no exit=-13 a0=0 a1=100000 a2=3 a3=22 items=0 ppid=1 pid=6588 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="amule" exe="/usr/bin/amule" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-86.fc11,catchall_boolean,amule,unconfined_t,unconfined_t,memprotect,mmap_zero
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-12-14 10:59:42 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.