| Summary: | SELinux is preventing /usr/bin/gnome-shell from 'mmap_zero' accesses on the memprotect Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | jiker |
| Component: | kernel | Assignee: | Eric Paris <eparis> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:6dcaf3b4189529dbc7c1bfce0d8d57189411de7bed211af94b5d08837ea4ba68 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-23 14:43:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Eric do you think this is the kernel bug also? [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. [mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update. (In reply to comment #4) > [mass update] > kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. > Please retest with this update. Thanks for that news ! :-) I do not use Fedora at this time, not because of this bug, I'm learning Debian distrib in stable version (Squeeze), for several personnal reasons, so I can't retest with this update for the moment. But you are very efficient and I give a tribute to all of you for that ! thanks a lot again ! ( and sorry for my poor english) Best regards, jiker |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc6.git0.3.fc16.i686 reason: SELinux is preventing /usr/bin/gnome-shell from 'mmap_zero' accesses on the memprotect Unknown. time: Wed Oct 19 03:32:11 2011 description: :SELinux is preventing /usr/bin/gnome-shell from 'mmap_zero' accesses on the memprotect Unknown. : :***** Plugin mmap_zero (53.1 confidence) suggests ************************** : :If you do not think /usr/bin/gnome-shell 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 control the ability to mmap a low area of the address space, as configured by /proc/sys/kernel/mmap_min_addr. :Then you must tell SELinux about this by enabling the 'mmap_low_allowed' boolean. :Do :setsebool -P mmap_low_allowed 1 : :***** Plugin catchall (5.76 confidence) suggests *************************** : :If you believe that gnome-shell should be allowed mmap_zero access on the Unknown 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 gnome-shell /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 Unknown [ memprotect ] :Source gnome-shell :Source Path /usr/bin/gnome-shell :Port <Inconnu> :Host (removed) :Source RPM Packages gnome-shell-3.2.0-2.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-40.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux SunPC.home 3.1.0-0.rc6.git0.3.fc16.i686 #1 : SMP Fri Sep 16 12:22:19 UTC 2011 i686 i686 :Alert Count 114 :First Seen mer. 19 oct. 2011 03:11:04 CEST :Last Seen mer. 19 oct. 2011 03:11:04 CEST :Local ID 02629fd3-0802-45a0-955e-c75c31e29b5d : :Raw Audit Messages :type=AVC msg=audit(1318986664.612:271): avc: denied { mmap_zero } for pid=1187 comm="gnome-shell" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=memprotect : : :type=SYSCALL msg=audit(1318986664.612:271): arch=i386 syscall=mmap2 success=no exit=EACCES a0=0 a1=1000 a2=3 a3=22 items=0 ppid=965 pid=1187 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=gnome-shell exe=/usr/bin/gnome-shell subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) : :Hash: gnome-shell,unconfined_t,unconfined_t,memprotect,mmap_zero : :audit2allow : :#============= unconfined_t ============== :#!!!! This avc can be allowed using the boolean 'mmap_low_allowed' : :allow unconfined_t self:memprotect mmap_zero; : :audit2allow -R : :#============= unconfined_t ============== :#!!!! This avc can be allowed using the boolean 'mmap_low_allowed' : :allow unconfined_t self:memprotect mmap_zero; :