Bug 1902655 - There are devices with generic labels on Fedora rawhide
Summary: There are devices with generic labels on Fedora rawhide
Keywords:
Status: CLOSED DUPLICATE of bug 1894939
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-30 10:00 UTC by Jan Pazdziora
Modified: 2020-11-30 20:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-30 20:09:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2020-11-30 10:00:17 UTC
Description of problem:

Every device should be labeled with some non-generic SELinux label so that we can be sure that the access control is properly applied. On Fedora rawhide, there are some device_t /dev entries.

Version-Release number of selected component (if applicable):

selinux-policy-targeted-3.14.7-8.fc34.noarch

How reproducible:

Deterministic.

Steps to Reproduce:
1. find /dev -context *:device_t:* \( -type c -o -type b \) -printf "%p %Z\n"

Actual results:

/dev/zram0 system_u:object_r:device_t:s0
/dev/udmabuf system_u:object_r:device_t:s0
/dev/dma_heap/system system_u:object_r:device_t:s0

Expected results:

No output.

Additional info:

Comment 2 Milos Malik 2020-11-30 11:50:04 UTC
I believe this bug is a duplicate of BZ#1894939.

Comment 3 Zdenek Pytela 2020-11-30 20:09:02 UTC

*** This bug has been marked as a duplicate of bug 1894939 ***


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