Red Hat Bugzilla – Bug 463038
Swfdec triggers an SELinux violation due to executable stack
Last modified: 2013-01-09 23:48:44 EST
Description of problem:
Attempting to use any embedded swfdec instance in firefox (e.g. YouTube), triggers an SELinux denial and freezes the browser. The only solution is to kill firefox.
Created attachment 317298 [details]
Alert file from setroubleshoot
Following setroubleshoot's advice (running chcon -t unconfined_execmem_exec_t '/usr/lib64/firefox-3.0.1/firefox') seems to fix the issue although I definitely don't like the thought of my browser being able to execute from the stack. Moreover, setroubleshoot's description claims that an executable stack should never be necessary. Unfortunately, I wasn't able to find any libraries with the execstack flag set so I wasn't able to try clearing it. Does swfdec really need an execstack.
yet another execmem programming problem highlighted by selinux. Seems we've found a few of these lately...
The problem here is that flash plugin requires execmem, a better solution is to install nspluginwrapper and run flash in a separate process that is confined.
After you install the plugin wrapper you should relabel your home directory.
restorecon -R -v ~/
You should really report a bug to adobe so we can get them to fix it or tell us why they can not.
Sadly I have to turn off this checking in
You can turn it off by executing setsebool -P allow_execstack 1
Re-opening to Modified until the build is actually tagged for rawhide.
Which it is now.