Bug 438453 - SELinux is preventing /usr/local/matlab2007b/bin/glnxa64/MATLAB from changing the access protection of memory on the heap.
Summary: SELinux is preventing /usr/local/matlab2007b/bin/glnxa64/MATLAB from changing...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-21 01:26 UTC by Peter Mackenzie
Modified: 2008-05-21 16:43 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:43:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 0 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 14:36:31 UTC

Description Peter Mackenzie 2008-03-21 01:26:25 UTC
Description of problem:
SELinux is preventing /usr/local/matlab2007b/bin/glnxa64/MATLAB from changing
the access protection of memory on the heap.

Version-Release number of selected component (if applicable):
EL5

How reproducible:
Allways

Steps to Reproduce:
1. start matlab version R2007b
2. open any figure or edit window etc.
3.
  
Actual results:
The /usr/local/matlab2007b/bin/glnxa64/MATLAB application attempted to change
the access protection of memory on the heap (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 /usr/local/matlab2007b/bin/glnxa64/MATLAB does not work and you
need it to work, you can configure SELinux temporarily to allow this access
until the application is fixed. Please file a bug report against this package.

Expected results:
??

Additional info:

Comment 1 Daniel Walsh 2008-03-21 10:39:25 UTC
chcon -t java_exec_t /usr/local/matlab2007b/bin/glnxa64/MATLAB

Should fix it.

I will try to fix this mapping in U2 policy

Comment 2 Daniel Walsh 2008-04-08 01:45:40 UTC
Fixed mapping in selinux-policy-2.4.6-128.el5


Comment 7 Daniel Walsh 2008-04-10 15:53:14 UTC
Fixed in selinux-policy-2.4.6-130.el5	

Comment 11 errata-xmlrpc 2008-05-21 16:43:15 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0465.html



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