Bug 467039 - SELinux is preventing k3b from changing a writable memory segment executable.
Summary: SELinux is preventing k3b from changing a writable memory segment executable.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: k3b
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-15 12:34 UTC by cgrim
Modified: 2014-01-13 00:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-15 14:16:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description cgrim 2008-10-15 12:34:30 UTC
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 12:47:45 UTC
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 14:06:06 UTC
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 14:16:45 UTC
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.