Bug 1029253 - SELinux is preventing /usr/libexec/deja-dup/deja-dup-monitor from 'mmap_zero' accesses on the memprotect .
Summary: SELinux is preventing /usr/libexec/deja-dup/deja-dup-monitor from 'mmap_zero'...
Keywords:
Status: CLOSED DUPLICATE of bug 1008852
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:171f6dc09b035cb40070df5b261...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-12 00:56 UTC by caskhyron
Modified: 2013-11-12 10:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-12 10:30:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description caskhyron 2013-11-12 00:56:21 UTC
Description of problem:
I assume deja-dup came pre-installed with Fedora 19.  I have no idea what mmap is or what it does with memory.
SELinux is preventing /usr/libexec/deja-dup/deja-dup-monitor from 'mmap_zero' accesses on the memprotect .

*****  Plugin mmap_zero (53.1 confidence) suggests  **************************

If you do not think /usr/libexec/deja-dup/deja-dup-monitor 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 allow mmap to low allowed
Then you must tell SELinux about this by enabling the 'mmap_low_allowed' boolean.
You can read 'None' man page for more details.
Do
setsebool -P mmap_low_allowed 1

*****  Plugin catchall (5.76 confidence) suggests  ***************************

If you believe that deja-dup-monitor 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 64636F6E6620776F726B6572 /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                        64636F6E6620776F726B6572
Source Path                   /usr/libexec/deja-dup/deja-dup-monitor
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.11.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.7-200.fc19.i686 #1 SMP Mon
                              Nov 4 14:32:57 UTC 2013 i686 i686
Alert Count                   4
First Seen                    2013-11-08 22:25:13 EST
Last Seen                     2013-11-08 22:25:13 EST
Local ID                      f96b1c63-689a-4a9a-9ca8-d729f6dfa222

Raw Audit Messages
type=AVC msg=audit(1383967513.506:734): avc:  denied  { mmap_zero } for  pid=1678 comm=64636F6E6620776F726B6572 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: 64636F6E6620776F726B6572,unconfined_t,unconfined_t,memprotect,mmap_zero

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.7-200.fc19.i686
type:           libreport

Potential duplicate: bug 1008852

Comment 1 Miroslav Grepl 2013-11-12 10:30:07 UTC

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


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