Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C10s 20250116 build #2524

Merged
merged 9 commits into from
Jan 16, 2025
Merged

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Jan 16, 2025

No description provided.

zpytela and others added 9 commits January 16, 2025 21:13
Allow unconfined_service_t transition to passwd_t when passwd and
chpasswd executables or other ones labeled with passwd_exec_t are run,
similar to already existing rule for unconfined_t.

Resolves: RHEL-71665
Allow initrc_t transition to passwd_t when passwd and chpasswd
executables or other ones labeled with passwd_exec_t are run.

Resolves: RHEL-71665
The commit addresses the following AVC denial:
type=USER_AVC msg=audit(11/14/2024 15:44:04.165:527) : pid=1930 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for  scontext=sysadm_u:sysadm_r:sysadm_t:s0 tcontext=system_u:system_r:virt_dbus_t:s0 tclass=dbus permissive=0 exe=/usr/bin/dbus-broker sauid=dbus hostname=? addr=? terminal=?'

Resolves: RHEL-73914
These have been introduced in kernel commit a7800aa80ea4 ("KVM: Add
KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory").

Currently the only known user is qemu-kvm (svirt_t).

Resolves: RHEL-69128
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Non-Volatile Dual In-line Memory Modules (NVDIMM) is a persistent memory
technology which combines the durability of storage with the low access
latency and the high bandwidth of dynamic RAM. In the linux kernel, the
support is implemented in the nd_pmem.ko module.

Resolves: RHEL-71656
Triggered by:
virt-install --import --disk /var/lib/libvirt/images/image.qcow2 -r 4000 --machine machinetype -n instancename --osinfo generic

The commit addresses the following AVC denial:
type=AVC msg=audit(1733476544.855:6456): avc:  denied  { read } for  pid=369525 comm="qemu-system-x86" name="possible" dev="sysfs" ino=4677 scontext=system_u:system_r:svirt_t:s0:c199,c344 tcontext=system_u:object_r:sysfs_t:s0 tclass=file permissive=0

Resolves: RHEL-71270
The nbdkit module has an independent policy managed by the nbdkit team.
Its interfaces are needed though as they are used in virt-related
modules in selinux-policy.

Resolves: RHEL-69118
The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(11/27/2024 02:11:06.515:615) : proctitle=/usr/sbin/virtqemud --timeout 120
type=PATH msg=audit(11/27/2024 02:11:06.515:615) : item=0 name=/usr/sbin/nbdkit inode=12677518 dev=fd:02 mode=file,755 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:nbdkit_exec_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=SYSCALL msg=audit(11/27/2024 02:11:06.515:615) : arch=x86_64 syscall=access success=yes exit=0 a0=0x7f79c80aa928 a1=X_OK a2=0x9 a3=0x0 items=1 ppid=1 pid=6131 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=rpc-virtqemud exe=/usr/sbin/virtqemud subj=system_u:system_r:virtqemud_t:s0 key=(null)
type=AVC msg=audit(11/27/2024 02:11:06.515:615) : avc:  denied  { execute } for  pid=6131 comm=rpc-virtqemud name=nbdkit dev="vda2" ino=12677518 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:nbdkit_exec_t:s0 tclass=file permissive=1

Resolves: RHEL-69118
The commit addresses the following USER_AVC denial:
type=USER_AVC msg=audit(07/16/2024 00:16:30.862:1117) : pid=804 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for  scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=system_u:system_r:virt_dbus_t:s0 tclass=dbus permissive=0 exe=/usr/bin/dbus-broker sauid=dbus hostname=? addr=? terminal=?'

Resolves: RHEL-73914
@zpytela zpytela merged commit 526a180 into fedora-selinux:c10s Jan 16, 2025
2 of 4 checks passed
@zpytela zpytela deleted the c10s-20250116-build branch January 16, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants