Bug 523959
Summary: | setroubleshoot: SELinux is preventing /usr/lib/firefox-3.5.3/firefox from changing a writable memory segment executable. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yingbo Qiu <qiuyingbo> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ardillon.42, dwalsh, jistone, jkubin, lorisdianna, mgrepl, nigel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:c40bfbb21c9a3ace6ef6d4116651bdc0038561f57fe5121b418b0fe7e654a107 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-20 21:06:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yingbo Qiu
2009-09-17 12:27:57 UTC
Added a new plugin that will tell you the following. The firefox application attempted to change the access protection of memory (e.g., allocated using malloc). This is a potential security problem. Firefox is probably not the problem here ,but one of its plugins. You could remove the plugin and the app would no longer require the access. If you figure out which plugin is causing the access request, please open a bug report on the plugin. Allowing Access: There are two ways to fix this problem, you can install the nsspluginwrapper package, which will cause firefox to run its plugins under a separate process. This process will allow the execmem access. This is the safest choice. You could also turn off the allow_unconfined_nsplugin_transition boolean. setsebool -P allow_unconfined_nsplugin_transition=0 Fix Command: yum install nspluginwrapper BTW DO YOU HAVE FLASHPLUGIN installed or any other random plugin installed. I'm also having this problem. While Daniel's suggestion does fix it, I don't the problem really lies in any plugin, even though I do have the flashplugin installed. Here's the sequence of what I tried that makes me think this: # yum install nspluginwrapper # setsebool -P allow_unconfined_nsplugin_transition=0 OK, good, things still work here. # yum remove nspluginwrapper Firefox still works! Hmm... # setsebool -P allow_unconfined_nsplugin_transition=1 Ah, now Firefox breaks again. Let's try something else. $ firefox -safe-mode Works fine! (disable all addons & plugins) Firefox doesn't work. Seems wrong to blame the plugins now... Add to prefs.js: user_pref("javascript.options.jit.content", false); It works! (enable all addons & plugins) It works! So, it seems to me that the true culprit is the javascript JIT. Either turning off that sebool or disabling the JIT will both solve the problem, but I'm curious what has changed to make this a problem... I take it back -- the JIT seemed to be the problem, but I've since gotten other errors that seem to indicate that the nsplugin stuff is still needed. Sorry for the noise... 522606Fixed in selinux-policy-3.6.32-29.fc12.noarch |