Bug 1967536
| Summary: | selinux denies "search" of "dma_heap" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marius Vollmer <mvollmer> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 33 | CC: | dwalsh, grepl.miroslav, ifont, lvrabec, mmalik, mnk, omosnace, tino.wolf.1980, vkadlcik, vmojzis, zpytela |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.14.6-39.fc33 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-18 01:03:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Will be backported to F33 as soon as the rawhide PR is merged. https://github.com/fedora-selinux/selinux-policy/pull/763 To work around: $ sudo setenforce 0 $ sudo chcon system_u:object_r:device_t:s0 /dev/dma_heap/ $ sudo setenforce 1 FEDORA-2021-3b341e9e71 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3b341e9e71 FEDORA-2021-3b341e9e71 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3b341e9e71` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3b341e9e71 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. *** Bug 1976502 has been marked as a duplicate of this bug. *** I can confirm that the update has fixed the issue on my system - after a reboot. Reboot or restorecon -Rv /dev/dma_heap is required in F33. FEDORA-2021-3b341e9e71 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: A recent Fedora 33 image created with updates-testing has some new unexpected audit messages: audit: type=1400 audit(1622712108.353:391): avc: denied { search } for pid=1757 comm="systemd-udevd" name="dma_heap" dev="devtmpfs" ino=127 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dma_device_t:s0 tclass=dir permissive=0 Version-Release number of selected component (if applicable): selinux-policy-3.14.6-38.fc33.noarch Additional info: This is the log of creating the image: https://logs-https-frontdoor.apps.ocp.ci.centos.org/logs/image-refresh-2075-20210603-083131/log Here is a typical journal: https://logs.cockpit-project.org/logs/pull-2075-20210603-084927-61bae4f6-fedora-testing-cockpit-project-cockpit/TestNetworkingMAC-testBondMac-fedora-testing-127.0.0.2-2601-FAIL.log.gz