I closed the lid which is set to the Suspend action on Fedora 37 and and when I opened it again, although I was able to move the cursor I couldn’t focus the the input box to enter my login nor was the fingerprint reader working.
So I turned the computer off.
Now I have a SELinux error message window telling me the check
process attempted to use mmap_zero
SELinux is preventing check from mmap_zero access on the memprotect labeled spc_t.
***** Plugin mmap_zero (53.1 confidence) suggests *************************
If you do not think check should need to mmap low memory in the kernel.
Then you may be under attack by a hacker, this is a very dangerous access.
Do
contact your security administrator and report this issue.
***** Plugin catchall_boolean (42.6 confidence) suggests ******************
If you want to allow mmap to low allowed
Then you must tell SELinux about this by enabling the 'mmap_low_allowed' boolean.
Do
setsebool -P mmap_low_allowed 1
***** Plugin catchall (5.76 confidence) suggests **************************
If you believe that check should be allowed mmap_zero access on memprotect labeled spc_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 'check' --raw | audit2allow -M my-check
# semodule -X 300 -i my-check.pp
Additional Information:
Source Context system_u:system_r:spc_t:s0
Target Context system_u:system_r:spc_t:s0
Target Objects Unknown [ memprotect ]
Source check
Source Path check
Port <Unknown>
Host framework
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-37.19-1.fc37.noarch
Local Policy RPM container-selinux-2.205.0-1.fc37.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name framework
Platform Linux framework 6.2.7-200.fc37.x86_64 #1 SMP
PREEMPT_DYNAMIC Fri Mar 17 16:16:00 UTC 2023
x86_64 x86_64
Alert Count 15
First Seen 2023-03-26 16:05:40 CEST
Last Seen 2023-03-26 16:05:40 CEST
Local ID 09dd39a0-2545-482e-83ae-9a23e5e3e1b6
Raw Audit Messages
type=AVC msg=audit(1679839540.892:305): avc: denied { mmap_zero } for pid=1473 comm="check" scontext=system_u:system_r:spc_t:s0 tcontext=system_u:system_r:spc_t:s0 tclass=memprotect permissive=0
Hash: check,spc_t,spc_t,memprotect,mmap_zero