Bug 1329802 - SELinux is preventing gst-plugin-scan from using the 'execstack' accesses on a process.
Summary: SELinux is preventing gst-plugin-scan from using the 'execstack' accesses on ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:34586d6526e118d7d64e74276e2...
: 1335646 1593641 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-23 10:55 UTC by kaka.in
Modified: 2018-06-23 10:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1594474 (view as bug list)
Environment:
Last Closed: 2016-12-20 20:06:33 UTC
Type: ---


Attachments (Terms of Use)

Description kaka.in 2016-04-23 10:55:38 UTC
Description of problem:
SELinux is preventing gst-plugin-scan from using the 'execstack' accesses on a process.

*****  Plugin catchall (100. confidence) suggests   **************************

If sie denken, dass es gst-plugin-scan standardmäßig erlaubt sein sollte, execstack Zugriff auf thumb_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
allow this access for now by executing:
# ausearch -c gst-plugin-scan --raw | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        gst-plugin-scan
Source Path                   gst-plugin-scan
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.14.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.4.7-300.fc23.x86_64 #1 SMP Wed
                              Apr 13 02:52:52 UTC 2016 x86_64 x86_64
Alert Count                   8
First Seen                    2016-04-19 13:09:11 CEST
Last Seen                     2016-04-23 12:53:01 CEST
Local ID                      bcd1b6f7-1fce-4eaa-9bcf-f9ab8a1e8e89

Raw Audit Messages
type=AVC msg=audit(1461408781.791:326): avc:  denied  { execstack } for  pid=2562 comm="gst-plugin-scan" scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=process permissive=0


Hash: gst-plugin-scan,thumb_t,thumb_t,process,execstack

Version-Release number of selected component:
selinux-policy-3.13.1-158.14.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.7-300.fc23.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2016-04-25 10:23:30 UTC
Hi, 

Do you know, whats going on here? 

From security point of view, make stack executable is not good idea.
If you don't see any issue with thumb and you just hit this SELinux msgs, I suggest to close this bug as WONTFIX.

Comment 2 Lukas Vrabec 2016-05-20 13:23:52 UTC
*** Bug 1335646 has been marked as a duplicate of this bug. ***

Comment 3 Fedora End Of Life 2016-11-25 07:27:05 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2016-12-20 20:06:33 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Daniel Walsh 2018-06-23 10:04:20 UTC
*** Bug 1593641 has been marked as a duplicate of this bug. ***

Comment 6 Daniel Walsh 2018-06-23 10:06:02 UTC
This is not something that we should fix, you don't want you thumb executables doing execstack. Most likely nothing that you noticed broke.


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