Bug 666638 - SELinux is preventing /tmp/air.l6NaDo/setup from using the 'execstack' accesses on a process.
Summary: SELinux is preventing /tmp/air.l6NaDo/setup from using the 'execstack' access...
Keywords:
Status: CLOSED DUPLICATE of bug 652297
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9be9009db8e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-01 18:48 UTC by Nikolas Moraitis
Modified: 2011-01-03 16:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-03 16:48:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nikolas Moraitis 2011-01-01 18:48:47 UTC
SELinux is preventing /tmp/air.l6NaDo/setup from using the 'execstack' accesses on a process.

*****  Plugin allow_execstack (53.1 confidence) suggests  ********************

If you do not think /tmp/air.l6NaDo/setup should need to map stack memory that is both writable and executable.
Then you need to report a bug. This is a potentially dangerous access.
Do
contact your security administrator and report this issue.

*****  Plugin catchall_boolean (42.6 confidence) suggests  *******************

If you want to allow unconfined executables to make their stack executable.  This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla
Then you must tell SELinux about this by enabling the 'allow_execstack' boolean.
Do
setsebool -P allow_execstack 1

*****  Plugin catchall (5.76 confidence) suggests  ***************************

If you believe that setup should be allowed execstack access on processes labeled unconfined_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep /tmp/air.l6NaDo/setup /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                Unknown [ process ]
Source                        setup
Source Path                   /tmp/air.l6NaDo/setup
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-19.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP
                              Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 01 Jan 2011 08:14:42 PM EET
Last Seen                     Sat 01 Jan 2011 08:14:42 PM EET
Local ID                      65761506-5ac8-4483-99be-a465cb677aba

Raw Audit Messages
type=AVC msg=audit(1293905682.288:29470): avc:  denied  { execstack } for  pid=3182 comm="setup" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process

setup,unconfined_t,unconfined_t,process,execstack
type=SYSCALL msg=audit(1293905682.288:29470): arch=i386 syscall=capget per=400000 success=yes exit=0 a0=ff95c000 a1=1000 a2=1000007 a3=ff95bbb4 items=0 ppid=3180 pid=3182 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=setup exe=/tmp/air.l6NaDo/setup subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
setup,unconfined_t,unconfined_t,process,execstack

#============= unconfined_t ==============
#!!!! This avc can be allowed using the boolean 'allow_execstack'

allow unconfined_t self:process execstack;

Comment 1 Miroslav Grepl 2011-01-03 16:48:54 UTC

*** This bug has been marked as a duplicate of bug 652297 ***


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