Bug 1594474 - 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 EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gst123
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Siddhesh Poyarekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:34586d6526e118d7d64e74276e2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-23 12:23 UTC by Claude Frantz
Modified: 2019-05-29 00:04 UTC (History)
9 users (show)

Fixed In Version:
Clone Of: 1329802
Environment:
Last Closed: 2019-05-29 00:04:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Claude Frantz 2018-06-23 12:23:28 UTC
+++ This bug was initially created as a clone of Bug #1329802 +++

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

--- Additional comment from Lukas Vrabec on 2016-04-25 06:23:30 EDT ---

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.

--- Additional comment from Lukas Vrabec on 2016-05-20 09:23:52 EDT ---



--- Additional comment from Fedora End Of Life on 2016-11-25 02:27:05 EST ---

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.

--- Additional comment from Fedora End Of Life on 2016-12-20 15:06:33 EST ---

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.

--- Additional comment from Daniel Walsh on 2018-06-23 06:04:20 EDT ---



--- Additional comment from Daniel Walsh on 2018-06-23 06:06:02 EDT ---

This is not something that we should fix, you don't want you thumb executables doing execstack. Most likely nothing that you noticed broke.

Comment 1 Claude Frantz 2018-06-23 12:26:24 UTC
I share your opinion that the stack should not be made executable. Therefore, this plugin should be modified in order to no need an executable stack.

Comment 2 Ben Cotton 2019-05-02 19:32:30 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 3 Ben Cotton 2019-05-29 00:04:12 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.


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