Description of problem: Shut down Win 11 VM which had a USB device open. SELinux is preventing rpc-virtqemud from 'lock' accesses on the chr_file /dev/bus/usb/002/007. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that rpc-virtqemud should be allowed lock access on the 007 chr_file 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 'rpc-virtqemud' --raw | audit2allow -M my-rpcvirtqemud # semodule -X 300 -i my-rpcvirtqemud.pp Additional Information: Source Context system_u:system_r:virtqemud_t:s0 Target Context system_u:object_r:usb_device_t:s0 Target Objects /dev/bus/usb/002/007 [ chr_file ] Source rpc-virtqemud Source Path rpc-virtqemud Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.12.10-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 17 18:05:24 UTC 2025 x86_64 Alert Count 2 First Seen 2025-02-02 10:09:19 EST Last Seen 2025-02-02 10:26:05 EST Local ID eb5f7134-e067-46a2-a091-7af7ae3e56bd Raw Audit Messages type=AVC msg=audit(1738509965.379:46379): avc: denied { lock } for pid=472186 comm="qemu-event" path="/dev/bus/usb/002/007" dev="devtmpfs" ino=1397 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file permissive=1 Hash: rpc-virtqemud,virtqemud_t,usb_device_t,chr_file,lock Version-Release number of selected component: selinux-policy-targeted-41.28-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing rpc-virtqemud from 'lock' accesses on the chr_file /dev/bus/usb/002/007. package: selinux-policy-targeted-41.28-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.10-200.fc41.x86_64 comment: Shut down Win 11 VM which had a USB device open. component: selinux-policy
Created attachment 2074884 [details] File: description
Created attachment 2074885 [details] File: os_info
This message is a reminder that Fedora Linux 41 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 41 on 2025-12-15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '41'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 41 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 41 entered end-of-life (EOL) status on 2025-12-15. Fedora Linux 41 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.