Bug 2497016 - SELinux is preventing sort from 'search' accesses on the adresář /sys/fs/cgroup.
Summary: SELinux is preventing sort from 'search' accesses on the adresář /sys/fs/cgroup.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 44
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5b30587fb14c881fecce86e3573...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-04 09:30 UTC by Radek Valasek
Modified: 2026-07-30 01:17 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-44.5-1.fc44
Clone Of:
Environment:
Last Closed: 2026-07-30 01:17:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.85 KB, text/plain)
2026-07-04 09:30 UTC, Radek Valasek
no flags Details
File: os_info (699 bytes, text/plain)
2026-07-04 09:30 UTC, Radek Valasek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3292 0 None open Allow wireguard read cgroup files 2026-07-20 13:40:07 UTC

Description Radek Valasek 2026-07-04 09:30:45 UTC
Description of problem:
SELinux is preventing sort from 'search' accesses on the adresář /sys/fs/cgroup.

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

Pokud jste přesvědčeni, že má sort mít ve výchozím stavu přístup search na cgroup directory.
Then měli byste tento problém nahlásit jako chybu.
Abyste přístup povolili, můžete vygenerovat lokální modul pravidel.
Do
prozatím tento přístup povolíte příkazy:
# ausearch -c 'sort' --raw | audit2allow -M my-sort
# semodule -X 300 -i my-sort.pp

Additional Information:
Source Context                system_u:system_r:wireguard_t:s0
Target Context                system_u:object_r:cgroup_t:s0
Target Objects                /sys/fs/cgroup [ dir ]
Source                        sort
Source Path                   sort
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.3-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.3-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.0.14-201.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Jul 1 13:34:38 UTC 2026 x86_64
Alert Count                   10
First Seen                    2026-07-04 11:28:42 CEST
Last Seen                     2026-07-04 11:28:43 CEST
Local ID                      bcba9d64-9368-42ee-8cf9-ee41ae7f063f

Raw Audit Messages
type=AVC msg=audit(1783157323.69:349): avc:  denied  { search } for  pid=5350 comm="sort" name="/" dev="cgroup2" ino=1 scontext=system_u:system_r:wireguard_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=dir permissive=0


Hash: sort,wireguard_t,cgroup_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-44.3-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
kernel:         7.0.14-201.fc44.x86_64
package:        selinux-policy-targeted-44.3-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
reason:         SELinux is preventing sort from 'search' accesses on the adresář /sys/fs/cgroup.
type:           libreport
component:      selinux-policy

Comment 1 Radek Valasek 2026-07-04 09:30:48 UTC
Created attachment 2147654 [details]
File: description

Comment 2 Radek Valasek 2026-07-04 09:30:49 UTC
Created attachment 2147655 [details]
File: os_info

Comment 3 Fedora Update System 2026-07-28 09:44:07 UTC
FEDORA-2026-6433e648bb (selinux-policy-44.5-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6433e648bb

Comment 4 Fedora Update System 2026-07-29 01:49:11 UTC
FEDORA-2026-6433e648bb has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6433e648bb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6433e648bb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-30 01:17:34 UTC
FEDORA-2026-6433e648bb (selinux-policy-44.5-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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