Bug 2055822
| Summary: | enabled by default: selinuxuser_execstack? | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Zdenek Pytela <zpytela> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | high | Docs Contact: | Jan Fiala <jafiala> |
| Priority: | high | ||
| Version: | 9.0 | CC: | bfinger, codonell, fweimer, gfialova, kdudka, lvrabec, mhofmann, mmalik, rjones, scorreia, sgrubb, skolosov, ssekidde, vkadlcik |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-34.1.27-1.el9 | Doc Type: | Enhancement |
| Doc Text: |
.Default SELinux policy disallows commands with text relocation libraries
The `selinuxuser_execmod` boolean is now off by default to improve the security footprint of installed systems. As a result, SELinux users cannot enter commands using libraries that require text relocation, unless the library files have the `textrel_shlib_t` label.
|
Story Points: | --- |
| Clone Of: | 2053815 | Environment: | |
| Last Closed: | 2022-05-17 15:50:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2053815, 2064274 | ||
| Bug Blocks: | |||
|
Description
Zdenek Pytela
2022-02-17 17:19:50 UTC
The default value changed in dist-git with this commit:
commit a270091f195ba840bc9e8d1119b7d04dd537b0ef
Author: Miroslav Grepl <mgrepl>
Date: Mon Dec 17 17:21:00 2012 +0100
Make rawhide == f18
...
+selinuxuser_direct_dri_enabled = true
+selinuxuser_execmem = true
+selinuxuser_execmod = true
+selinuxuser_execstack = true
+selinuxuser_rw_noexattrfile=true
+selinuxuser_ping = true
+squid_connect_any = true
Has this changed the default to disallow execstack? https://bugzilla.redhat.com/show_bug.cgi?id=2013629 https://bugzilla.redhat.com/show_bug.cgi?id=2064274 FYI: the decision was reconsidered and the selinuxuser_execstack boolean now changes to true again: https://bugzilla.redhat.com/show_bug.cgi?id=2064274 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: selinux-policy), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:3918 |