Skip to content

[RHEL8] avc_check failed in general/memory/function/libhugetlbfs [moved to RHELTEST-127]

This issue has been closed and moved to JIRA: https://issues.redhat.com/browse/RHELTEST-127

Please continue with your actions and comments in the linked Jira ticket.


Snippet of test failure

time->Fri Jan 19 20:13:20 2024
type=PROCTITLE msg=audit(1705713200.799:113): proctitle="mremap-expand-slice-collision"
type=SYSCALL msg=audit(1705713200.799:113): arch=c00000b7 syscall=222 success=no exit=-13 a0=0 a1=80000000 a2=1 a3=11 items=0 ppid=6568 pid=6571 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mremap-expand-s" exe="/root/rpmbuild/BUILD/libhugetlbfs-2.21/tests/obj64/mremap-expand-slice-collision" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1705713200.799:113): avc:  denied  { mmap_zero } for  pid=6571 comm="mremap-expand-s" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=memprotect permissive=0

Test logs on DataWarehouse

https://datawarehouse.cki-project.org/kcidb/tests/11010714#result-15105536

Additional details

Triggered by general/memory/function/libhugetlbfs, only on aarch64

Edited by Dominika Veselá
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information