I use qemu://session for my VMs, and when using directly a block device, qemu (sVirt) will relabel the fixed_disk_device_t to virt_image_t:s0:CATEGORY On disconnect, this prevent the kernel from reaping/removing the device I went on #selinux and grift commented that "MCS constrained should be opt-in, so the kernel should not be constrained" i.e. "or (t1 != mcs_constrained_type) and (t2 == domain -Fail-)" should only be "or (t1 != msc_constrained_type)" for the write constrain (not sure about the other ones) Nonetheless, the kernel_t should not be constrained, so for now I fixed it with a local policy of: typeattribute kernel_t mcsreadall; typeattribute kernel_t mcswriteall;
Created attachment 541114 [details] AVC log and blame log