Bug 2440544 - SELinux is preventing unsquashfs from 'setattr' accesses on the lnk_file .DirIcon.
Summary: SELinux is preventing unsquashfs from 'setattr' accesses on the lnk_file .Dir...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3fad2c35f177694089b44f931a5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-18 07:58 UTC by Arnis K
Modified: 2026-04-30 01:21 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-43.7-1.fc43
Clone Of:
Environment:
Last Closed: 2026-04-22 11:55:07 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)
File: description (1.95 KB, text/plain)
2026-02-18 07:58 UTC, Arnis K
no flags Details
File: os_info (699 bytes, text/plain)
2026-02-18 07:58 UTC, Arnis K
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3167 0 None open Allow thump_t setattr on thumb_tmp_t lnk_files 2026-04-22 11:55:06 UTC
Red Hat Issue Tracker FC-3296 0 None None None 2026-03-05 17:05:29 UTC

Description Arnis K 2026-02-18 07:58:43 UTC
Description of problem:
SELinux is preventing unsquashfs from 'setattr' accesses on the lnk_file .DirIcon.

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

If you believe that unsquashfs should be allowed setattr access on the .DirIcon lnk_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'unsquashfs' --raw | audit2allow -M my-unsquashfs
# semodule -X 300 -i my-unsquashfs.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:thumb_tmp_t:s0
Target Objects                .DirIcon [ lnk_file ]
Source                        unsquashfs
Source Path                   unsquashfs
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.24-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.24-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.18.10-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Feb 11 17:20:05 UTC 2026
                              x86_64
Alert Count                   5
First Seen                    2026-02-18 09:52:32 EET
Last Seen                     2026-02-18 09:52:32 EET
Local ID                      47a9cc14-95e0-425e-89e3-fef7ef057ca9

Raw Audit Messages
type=AVC msg=audit(1771401152.590:554): avc:  denied  { setattr } for  pid=7378 comm="unsquashfs" name=".DirIcon" dev="tmpfs" ino=727 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:thumb_tmp_t:s0 tclass=lnk_file permissive=0


Hash: unsquashfs,thumb_t,thumb_tmp_t,lnk_file,setattr

Version-Release number of selected component:
selinux-policy-targeted-42.24-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing unsquashfs from 'setattr' accesses on the lnk_file .DirIcon.
package:        selinux-policy-targeted-42.24-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.18.10-200.fc43.x86_64
component:      selinux-policy

Comment 1 Arnis K 2026-02-18 07:58:46 UTC
Created attachment 2129824 [details]
File: description

Comment 2 Arnis K 2026-02-18 07:58:47 UTC
Created attachment 2129825 [details]
File: os_info

Comment 3 Fedora Update System 2026-04-28 15:55:41 UTC
FEDORA-2026-80879d3dfe (selinux-policy-43.7-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-80879d3dfe

Comment 4 Fedora Update System 2026-04-29 03:12:18 UTC
FEDORA-2026-80879d3dfe has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-80879d3dfe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-80879d3dfe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-04-30 01:21:00 UTC
FEDORA-2026-80879d3dfe (selinux-policy-43.7-1.fc43) has been pushed to the Fedora 43 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.