Bug 2223441

Summary: SELinux is preventing nsupdate from 'sqpoll' accesses on the io_uring labeled sssd_t.
Product: [Fedora] Fedora Reporter: Carlos Mogas da Silva <r3pek>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 38CC: dirk.gottschalk1980, dwalsh, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, r3pek, vmojzis, zpytela
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2f16f56c5b1582fa3e0131f7037a7ad6384ac8f9918d6799d2a6c0ce35dc8c78;VARIANT_ID=kde;
Fixed In Version: selinux-policy-38.22-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 02:49:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: description
none
File: os_info none

Description Carlos Mogas da Silva 2023-07-17 21:35:44 UTC
Description of problem:
Happened during boot
SELinux is preventing nsupdate from 'sqpoll' accesses on the io_uring labeled sssd_t.

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

If you believe that nsupdate should be allowed sqpoll access on io_uring labeled sssd_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:
# ausearch -c 'nsupdate' --raw | audit2allow -M my-nsupdate
# semodule -X 300 -i my-nsupdate.pp

Additional Information:
Source Context                system_u:system_r:sssd_t:s0
Target Context                system_u:system_r:sssd_t:s0
Target Objects                Unknown [ io_uring ]
Source                        nsupdate
Source Path                   nsupdate
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.20-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.20-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.3.12-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jul 6 04:05:18 UTC 2023 x86_64
Alert Count                   1
First Seen                    2023-07-17 22:33:07 WEST
Last Seen                     2023-07-17 22:33:07 WEST
Local ID                      39be4a83-17ab-42d7-9861-11b1955b7845

Raw Audit Messages
type=AVC msg=audit(1689629587.147:175): avc:  denied  { sqpoll } for  pid=3950 comm="nsupdate" scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:system_r:sssd_t:s0 tclass=io_uring permissive=0


Hash: nsupdate,sssd_t,sssd_t,io_uring,sqpoll

Version-Release number of selected component:
selinux-policy-targeted-38.20-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.11
reason:         SELinux is preventing nsupdate from 'sqpoll' accesses on the io_uring labeled sssd_t.
package:        selinux-policy-targeted-38.20-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.12-200.fc38.x86_64
comment:        Happened during boot
component:      selinux-policy

Comment 1 Carlos Mogas da Silva 2023-07-17 21:35:47 UTC
Created attachment 1976279 [details]
File: description

Comment 2 Carlos Mogas da Silva 2023-07-17 21:35:49 UTC
Created attachment 1976280 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-07-19 10:40:10 UTC
*** Bug 2223928 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2023-07-25 17:23:28 UTC
FEDORA-2023-0b46b767d3 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0b46b767d3

Comment 5 Fedora Update System 2023-07-26 02:09:48 UTC
FEDORA-2023-0b46b767d3 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0b46b767d3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0b46b767d3

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

Comment 6 Fedora Update System 2023-08-01 02:49:17 UTC
FEDORA-2023-0b46b767d3 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.