Bug 2423557

Summary: SELinux is preventing irqbalance from 'getattr' accesses on the netlink_generic_socket labeled irqbalance_t.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
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, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2ba4e2b0350e19f2e14b49a2c37e89b0c4dfdf8a5116532facfa11232f1ed405;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-12-23 14:55:04 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 Mikhail 2025-12-18 13:42:21 UTC
Description of problem:
SELinux is preventing irqbalance from 'getattr' accesses on the netlink_generic_socket labeled irqbalance_t.

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

If you believe that irqbalance should be allowed getattr access on netlink_generic_socket labeled irqbalance_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 'irqbalance' --raw | audit2allow -M my-irqbalance
# semodule -X 300 -i my-irqbalance.pp

Additional Information:
Source Context                system_u:system_r:irqbalance_t:s0
Target Context                system_u:system_r:irqbalance_t:s0
Target Objects                Unknown [ netlink_generic_socket ]
Source                        irqbalance
Source Path                   irqbalance
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.19-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-42.19-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.19.0-rc1-ea1013c15392+ #99 SMP
                              PREEMPT_DYNAMIC Thu Dec 18 00:20:56 +05 2025
                              x86_64
Alert Count                   2
First Seen                    2025-12-18 18:35:13 +05
Last Seen                     2025-12-18 18:38:05 +05
Local ID                      3fe1cbed-715b-41fd-b31c-28c17d9df7c4

Raw Audit Messages
type=AVC msg=audit(1766065085.970:83): avc:  denied  { getattr } for  pid=1519 comm="irqbalance" scontext=system_u:system_r:irqbalance_t:s0 tcontext=system_u:system_r:irqbalance_t:s0 tclass=netlink_generic_socket permissive=1


Hash: irqbalance,irqbalance_t,irqbalance_t,netlink_generic_socket,getattr

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

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing irqbalance from 'getattr' accesses on the netlink_generic_socket labeled irqbalance_t.
package:        selinux-policy-targeted-42.19-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.19.0-rc1-ea1013c15392+
component:      selinux-policy

Comment 1 Mikhail 2025-12-18 13:42:24 UTC
Created attachment 2119156 [details]
File: description

Comment 2 Mikhail 2025-12-18 13:42:26 UTC
Created attachment 2119157 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-12-23 14:55:04 UTC

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