Bug 2443576 - SELinux is preventing udev-event from using the 'dac_read_search' capabilities.
Summary: SELinux is preventing udev-event from using the 'dac_read_search' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 2394805
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8b03802f3c2651a3756faf53aa7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-28 19:48 UTC by jenny753
Modified: 2026-03-02 09:44 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-03-02 09:44:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.43 KB, text/plain)
2026-02-28 19:49 UTC, jenny753
no flags Details
File: os_info (712 bytes, text/plain)
2026-02-28 19:49 UTC, jenny753
no flags Details

Description jenny753 2026-02-28 19:48:59 UTC
Description of problem:
Running Windows 11 Professional via KVM in Virtual Machine Manager. I had the PlayStation Accessories app pulled up and plugged in a Galactic Purple DualSense controller via USB to check for firmware updates.

I ran the suggested "sudo auditctl -w /etc/shadow -p w" and recreated the same steps, then ran "sudo ausearch -m avc -ts recent" and did not see any path errors. So I ran "sudo ausearch -c 'udev-event' --raw | audit2allow -M my-udevevent" and "sudo semodule -X 300 -i my-udevevent.pp" and am submitting this bug report as suggested by SELinux Troubleshooter.
SELinux is preventing udev-event from using the 'dac_read_search' capabilities.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do

Turn on full auditing
# auditctl -w /etc/shadow -p w
Try to recreate AVC. Then execute
# ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it,
otherwise report as a bugzilla.

*****  Plugin catchall (9.59 confidence) suggests   **************************

If you believe that udev-event should have the dac_read_search capability 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 'udev-event' --raw | audit2allow -M my-udevevent
# semodule -X 300 -i my-udevevent.pp

Additional Information:
Source Context                system_u:system_r:virtnodedevd_t:s0
Target Context                system_u:system_r:virtnodedevd_t:s0
Target Objects                Unknown [ capability ]
Source                        udev-event
Source Path                   udev-event
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.24-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.24-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.18.13-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Feb 19 19:54:01 UTC 2026
                              x86_64
Alert Count                   47
First Seen                    2025-10-28 14:14:59 EDT
Last Seen                     2026-02-28 14:34:23 EST
Local ID                      c6000f2f-40d0-407d-ac3b-e00fe1870b7b

Raw Audit Messages
type=AVC msg=audit(1772307263.649:308): avc:  denied  { dac_read_search } for  pid=3551 comm="udev-event" capability=2  scontext=system_u:system_r:virtnodedevd_t:s0 tcontext=system_u:system_r:virtnodedevd_t:s0 tclass=capability permissive=1


Hash: udev-event,virtnodedevd_t,virtnodedevd_t,capability,dac_read_search

Version-Release number of selected component:
selinux-policy-targeted-42.24-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing udev-event from using the 'dac_read_search' capabilities.
package:        selinux-policy-targeted-42.24-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.18.13-200.fc43.x86_64
component:      selinux-policy

Comment 1 jenny753 2026-02-28 19:49:01 UTC
Created attachment 2131403 [details]
File: description

Comment 2 jenny753 2026-02-28 19:49:02 UTC
Created attachment 2131404 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-03-02 09:44:48 UTC

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


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