Bug 2208472

Summary: SELinux is preventing kworker/0:0 from map_read, map_write access on the bpf Neznámé.
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, vondruch, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c70f94eebada270de51983a644142fd66fd542083fbd7de8d8f36b058a49c521;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-19 10:42:00 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 Vít Ondruch 2023-05-19 08:01:25 UTC
Description of problem:
SELinux is preventing kworker/0:0 from map_read, map_write access on the bpf Neznámé.

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

Pokud jste přesvědčeni, že má 0:0 mít ve výchozím stavu přístup map_read map_write na Neznámé bpf.
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 'kworker/0:0' --raw | audit2allow -M my-kworker00
# semodule -X 300 -i my-kworker00.pp

Additional Information:
Source Context                system_u:system_r:kernel_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Neznámé [ bpf ]
Source                        kworker/0:0
Source Path                   kworker/0:0
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.12-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.12-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.3.3-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed May 17 14:31:24 UTC 2023
                              x86_64
Alert Count                   7
First Seen                    2023-05-18 16:11:29 CEST
Last Seen                     2023-05-19 10:00:51 CEST
Local ID                      3ebf670d-bd9b-4292-ac04-951d4b33dc09

Raw Audit Messages
type=AVC msg=audit(1684483251.654:411): avc:  denied  { map_read map_write } for  pid=19500 comm="kworker/0:0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=bpf permissive=0


Hash: kworker/0:0,kernel_t,kernel_t,bpf,map_read,map_write

Version-Release number of selected component:
selinux-policy-targeted-38.12-1.fc39.noarch

Additional info:
reporter:       libreport-2.17.10
reason:         SELinux is preventing kworker/0:0 from map_read, map_write access on the bpf Neznámé.
package:        selinux-policy-targeted-38.12-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.3-200.fc38.x86_64
component:      selinux-policy

Comment 1 Vít Ondruch 2023-05-19 08:01:28 UTC
Created attachment 1965614 [details]
File: description

Comment 2 Vít Ondruch 2023-05-19 08:01:30 UTC
Created attachment 1965615 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-05-19 10:42:00 UTC

*** This bug has been marked as a duplicate of bug 2186595 ***