Bug 467039 - SELinux is preventing k3b from changing a writable memory segment executable.
SELinux is preventing k3b from changing a writable memory segment executable.
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: k3b (Show other bugs)
rawhide
All Linux
medium Severity low
: ---
: ---
Assigned To: Roman Rakus
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-15 08:34 EDT by cgrim
Modified: 2014-01-12 19:07 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-15 10:16:45 EDT
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 cgrim 2008-10-15 08:34:30 EDT
Description of problem:
The k3b application attempted to change the access protection of memory (e.g., allocated using malloc). This is a potential security problem. Applications should not be doing this. Applications are sometimes coded incorrectly and request this permission. The SELinux Memory Protection Tests web page explains how to remove this requirement. If k3b does not work and you need it to work, you can configure SELinux temporarily to allow this access until the application is fixed.

Version-Release number of selected component (if applicable):
Name       : k3b
Arch       : x86_64
Version    : 1.0.5
Release    : 6.fc10

How reproducible:
SELinux configured like this:
System Default Enforcing Mode = Enforcing
Current Enforcing Mode = Enforcing
System Default Policy Type = Targeted
... and have installed k3b-extras-freeworld from RPMFusion.

Steps to Reproduce:
1. Enable SELinux as it's shown above
2. Login into the Gnome desktop
3. Run k3b
  
Actual results:
k3b starts but didn't load plugins provided by k3b-extras-freeworld

Expected results:
Be able to use plugins provided by k3b-extras-freeworld. It means possibility to burn audio CDs from MP3 files for example.

Additional info:
In Fedora 9 was everything OK.
Now I'm using this workaround:
chcon -t unconfined_execmem_exec_t '/usr/bin/k3b'
Comment 1 Rex Dieter 2008-10-15 08:47:45 EDT
To be clear... this problem *is* os *is not* present when k3b-extras-freeworld is not installed?

If only problematic with k3b-extras-freeworld installed, then we can be reasonably sure the problem lies with one (or more) of lame, libmad, ffmpeg (my bet is on the latter).
Comment 2 cgrim 2008-10-15 10:06:06 EDT
I removed k3b-extras-freeworld and now no problem appears in SELinux TroubleShooter. So you are right, k3b-extras-freeworld causes the problem.

Is it possible to track this problem here or should I report it in some RPMFusion bugtracker (if there any exists)?
Comment 3 Rex Dieter 2008-10-15 10:16:45 EDT
bugzilla.rpmfusion.org please.  thanks!  (closing issue here)

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