Bug 2188971 - SELinux is preventing kworker/31:0 from map_read, map_write access on the bpf labeled kernel_t.
Summary: SELinux is preventing kworker/31:0 from map_read, map_write access on the bpf...
Keywords:
Status: CLOSED DUPLICATE of bug 2186595
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2409a91c92a2710481d02febe78...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-23 21:20 UTC by Mikhail
Modified: 2023-05-02 19:44 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-02 19:44:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.96 KB, text/plain)
2023-04-23 21:20 UTC, Mikhail
no flags Details
File: os_info (770 bytes, text/plain)
2023-04-23 21:20 UTC, Mikhail
no flags Details

Description Mikhail 2023-04-23 21:20:35 UTC
Description of problem:
SELinux is preventing kworker/31:0 from map_read, map_write access on the bpf labeled kernel_t.

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

If you believe that 31:0 should be allowed map_read map_write access on bpf labeled kernel_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 'kworker/31:0' --raw | audit2allow -M my-kworker310
# semodule -X 300 -i my-kworker310.pp

Additional Information:
Source Context                system_u:system_r:kernel_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Unknown [ bpf ]
Source                        kworker/31:0
Source Path                   kworker/31:0
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.11-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-38.11-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.3.0-
                              0.rc7.20230420gitcb0856346a60.59.fc39.x86_64+debug
                              #1 SMP PREEMPT_DYNAMIC Fri Apr 21 00:37:51 UTC
                              2023 x86_64
Alert Count                   1
First Seen                    2023-04-23 20:04:08 +05
Last Seen                     2023-04-23 20:04:08 +05
Local ID                      dedbb2fb-c5ac-4ff6-b07f-433dffb20433

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


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

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

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing kworker/31:0 from map_read, map_write access on the bpf labeled kernel_t.
package:        selinux-policy-targeted-38.11-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.0-0.rc7.20230420gitcb0856346a60.59.fc39.x86_64+debug
component:      selinux-policy

Comment 1 Mikhail 2023-04-23 21:20:37 UTC
Created attachment 1959444 [details]
File: description

Comment 2 Mikhail 2023-04-23 21:20:39 UTC
Created attachment 1959445 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-05-02 19:44:26 UTC

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


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