Description of problem: SELinux is preventing libvirt_leasesh from using the 'execmem' accesses on a process. ***** Plugin allow_execmem (91.4 confidence) suggests ********************* If this issue occurred during normal system operation. Then this alert could be a serious issue and your system could be compromised. Do contact your security administrator and report this issue ***** Plugin catchall (9.59 confidence) suggests ************************** If you believe that libvirt_leasesh should be allowed execmem access on processes labeled dnsmasq_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 'libvirt_leasesh' --raw | audit2allow -M my-libvirtleasesh # semodule -X 300 -i my-libvirtleasesh.pp Additional Information: Source Context system_u:system_r:dnsmasq_t:s0-s0:c0.c1023 Target Context system_u:system_r:dnsmasq_t:s0-s0:c0.c1023 Target Objects Unknown [ process ] Source libvirt_leasesh Source Path libvirt_leasesh Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-37.8-1.fc37.noarch Local Policy RPM selinux-policy-targeted-37.8-1.fc37.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.19.7-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 5 15:09:01 UTC 2022 x86_64 x86_64 Alert Count 1 First Seen 2022-09-08 16:14:35 AEST Last Seen 2022-09-08 16:14:35 AEST Local ID 87655b42-cb18-431d-aad6-81b875d47068 Raw Audit Messages type=AVC msg=audit(1662617675.101:311): avc: denied { execmem } for pid=1695 comm="libvirt_leasesh" scontext=system_u:system_r:dnsmasq_t:s0-s0:c0.c1023 tcontext=system_u:system_r:dnsmasq_t:s0-s0:c0.c1023 tclass=process permissive=1 Hash: libvirt_leasesh,dnsmasq_t,dnsmasq_t,process,execmem Version-Release number of selected component: selinux-policy-targeted-37.8-1.fc37.noarch Additional info: component: selinux-policy reporter: libreport-2.17.2 hashmarkername: setroubleshoot kernel: 5.19.7-300.fc37.x86_64 type: libreport
I believe this BZ is a duplicate of BZ#2122918. The same SELinux denial is visible in the following comments: * https://bugzilla.redhat.com/show_bug.cgi?id=2122918#c0 * https://bugzilla.redhat.com/show_bug.cgi?id=2122918#c4
*** This bug has been marked as a duplicate of bug 2122918 ***
*** Bug 2142965 has been marked as a duplicate of this bug. ***
*** Bug 2143364 has been marked as a duplicate of this bug. ***
*** Bug 2143745 has been marked as a duplicate of this bug. ***
*** Bug 2144364 has been marked as a duplicate of this bug. ***