Bug 2208512 - SELinux is preventing kworker/1:1 from map_read, map_write access on the bpf labeled kernel_t.
Summary: SELinux is preventing kworker/1:1 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: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:56ace1391906fc71d3ced392b73...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-19 10:23 UTC by Kamil Páral
Modified: 2023-05-19 10:42 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-19 10:42:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.89 KB, text/plain)
2023-05-19 10:23 UTC, Kamil Páral
no flags Details
File: os_info (734 bytes, text/plain)
2023-05-19 10:23 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2023-05-19 10:23:14 UTC
Description of problem:
Seems to have happened during system suspend or resume. This is the first time I see it.
SELinux is preventing kworker/1:1 from map_read, map_write access on the bpf labeled kernel_t.

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

If you believe that 1:1 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/1:1' --raw | audit2allow -M my-kworker11
# semodule -X 300 -i my-kworker11.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/1:1
Source Path                   kworker/1:1
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.12-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.12-1.fc38.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                   1
First Seen                    2023-05-19 11:00:56 CEST
Last Seen                     2023-05-19 11:00:56 CEST
Local ID                      500272f8-0166-4d9b-9ad8-abde9d7af0fc

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


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

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

Additional info:
reporter:       libreport-2.17.10
reason:         SELinux is preventing kworker/1:1 from map_read, map_write access on the bpf labeled kernel_t.
package:        selinux-policy-targeted-38.12-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.3-200.fc38.x86_64
comment:        Seems to have happened during system suspend or resume. This is the first time I see it.
component:      selinux-policy

Comment 1 Kamil Páral 2023-05-19 10:23:17 UTC
Created attachment 1965642 [details]
File: description

Comment 2 Kamil Páral 2023-05-19 10:23:19 UTC
Created attachment 1965643 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-05-19 10:42:03 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.