Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1967536 - selinux denies "search" of "dma_heap"
Summary: selinux denies "search" of "dma_heap"
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 33
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
: 1976502 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-06-03 10:28 UTC by Marius Vollmer
Modified: 2021-07-18 01:03 UTC (History)
11 users (show)

Fixed In Version: selinux-policy-3.14.6-39.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-07-18 01:03:21 UTC
Type: Bug

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1965743 1 medium CLOSED systemd was denied reading and searching /dev/dma_heap while booting with selinux-policy-34.9-1.fc34 2021-07-31 06:52:34 UTC

Description Marius Vollmer 2021-06-03 10:28:24 UTC
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):

Additional info:

This is the log of creating the image:

Here is a typical journal:

Comment 1 Zdenek Pytela 2021-06-03 12:52:49 UTC
Will be backported to F33 as soon as the rawhide PR is merged.

Comment 2 Ivan Font 2021-07-02 00:36:17 UTC
To work around:

$ sudo setenforce 0
$ sudo chcon system_u:object_r:device_t:s0 /dev/dma_heap/
$ sudo setenforce 1

Comment 3 Fedora Update System 2021-07-02 08:42:52 UTC
FEDORA-2021-3b341e9e71 has been submitted as an update to Fedora 33.

Comment 4 Fedora Update System 2021-07-03 01:04:31 UTC
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:

See also for more information on how to test updates.

Comment 5 Zdenek Pytela 2021-07-07 13:40:19 UTC
*** Bug 1976502 has been marked as a duplicate of this bug. ***

Comment 6 Mathias Nicolajsen Kjærgaard 2021-07-08 21:33:41 UTC
I can confirm that the update has fixed the issue on my system - after a reboot.

Comment 7 Zdenek Pytela 2021-07-09 07:20:42 UTC
Reboot or

restorecon -Rv /dev/dma_heap

is required in F33.

Comment 8 Fedora Update System 2021-07-18 01:03:21 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.