Bug 2217184 - SELinux is preventing gdk-pixbuf-thum from 'read' accesses on the chr_file /dev/null.
Summary: SELinux is preventing gdk-pixbuf-thum from 'read' accesses on the chr_file /d...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1936f5aa011a697bbd62792525c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-24 22:43 UTC by Danny
Modified: 2023-06-24 22:43 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.09 KB, text/plain)
2023-06-24 22:43 UTC, Danny
no flags Details
File: os_info (690 bytes, text/plain)
2023-06-24 22:43 UTC, Danny
no flags Details

Description Danny 2023-06-24 22:43:09 UTC
Description of problem:
SELinux is preventing gdk-pixbuf-thum from 'read' accesses on the chr_file /dev/null.

*****  Plugin catchall (100. confidence) suggests   **************************

Wenn Sie denken, dass es gdk-pixbuf-thum standardmäßig erlaubt sein sollte, read Zugriff auf null chr_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'gdk-pixbuf-thum' --raw | audit2allow -M my-gdkpixbufthum
# semodule -X 300 -i my-gdkpixbufthum.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:container_file_t:s0:c328,c729
Target Objects                /dev/null [ chr_file ]
Source                        gdk-pixbuf-thum
Source Path                   gdk-pixbuf-thum
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.17-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.17-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.3.8-200.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023
                              x86_64
Alert Count                   1
First Seen                    2023-06-25 00:42:08 CEST
Last Seen                     2023-06-25 00:42:08 CEST
Local ID                      aee6a240-bbcd-48df-b85e-85d5eaf2cf9a

Raw Audit Messages
type=AVC msg=audit(1687646528.703:5921): avc:  denied  { read } for  pid=36533 comm="gdk-pixbuf-thum" path="/dev/null" dev="devtmpfs" ino=4 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0:c328,c729 tclass=chr_file permissive=0


Hash: gdk-pixbuf-thum,thumb_t,container_file_t,chr_file,read

Version-Release number of selected component:
selinux-policy-targeted-38.17-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.10
reason:         SELinux is preventing gdk-pixbuf-thum from 'read' accesses on the chr_file /dev/null.
package:        selinux-policy-targeted-38.17-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.3.8-200.fc38.x86_64
component:      selinux-policy

Comment 1 Danny 2023-06-24 22:43:11 UTC
Created attachment 1972413 [details]
File: description

Comment 2 Danny 2023-06-24 22:43:13 UTC
Created attachment 1972414 [details]
File: os_info


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