This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1468899 - SELinux is preventing wine-preloader from 'mmap_zero' accesses on the memprotect Unknown.
SELinux is preventing wine-preloader from 'mmap_zero' accesses on the memprot...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:7774f653e3da691a306c93c01e6...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-09 11:49 EDT by arturpolak1
Modified: 2017-07-09 15:07 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description arturpolak1 2017-07-09 11:49:30 EDT
Description of problem:
SELinux is preventing wine-preloader from 'mmap_zero' accesses on the memprotect Unknown.

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

If jeśli wine-preloader nie powinno wymagać wykonywania mmap na niskiej pamięci w jądrze.
Then być może nastąpił atak hakera, to jest bardzo niebezpieczny dostęp.
Do
proszę skontaktować się administratorem bezpieczeństwa i zgłosić ten problem.

*****  Plugin catchall_boolean (42.6 confidence) suggests   ******************

If aby allow mmap to low allowed
Then należy powiadomić o tym SELinuksa włączając zmienną logiczną „mmap_low_allowed”.

Do
setsebool -P mmap_low_allowed 1

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

If aby wine-preloader powinno mieć domyślnie mmap_zero dostęp do Unknown memprotect.
Then proszę to zgłosić jako błąd.
Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
Do
allow this access for now by executing:
# ausearch -c 'wine-preloader' --raw | audit2allow -M my-winepreloader
# semodule -X 300 -i my-winepreloader.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                Unknown [ memprotect ]
Source                        wine-preloader
Source Path                   wine-preloader
Port                          <Nieznane>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-259.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.9-300.fc26.x86_64 #1 SMP Wed
                              Jul 5 16:21:56 UTC 2017 x86_64 x86_64
Alert Count                   4
First Seen                    2017-07-09 17:43:12 CEST
Last Seen                     2017-07-09 17:43:28 CEST
Local ID                      46ba7364-0781-4eef-8b0b-0735488ddae7

Raw Audit Messages
type=AVC msg=audit(1499615008.317:247): avc:  denied  { mmap_zero } for  pid=4215 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 permissive=0


Hash: wine-preloader,unconfined_t,unconfined_t,memprotect,mmap_zero

Version-Release number of selected component:
selinux-policy-3.13.1-259.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.9-300.fc26.x86_64
type:           libreport

Potential duplicate: bug 1278290
Comment 1 arturpolak1 2017-07-09 15:07:52 EDT
Description of problem:
installing windows dll's using winetricks

Version-Release number of selected component:
selinux-policy-3.13.1-259.fc26.noarch

Additional info:
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.9-300.fc26.x86_64
type:           libreport

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