Bug 1921249

Summary: ls can crash when printing selinux context of unstatable files
Product: [Fedora] Fedora Reporter: Pádraig Brady <p>
Component: coreutilsAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 32CC: admiller, jamartis, jarodwilson, kdudka, kzak, ooprala, ovasik, p, sebastian.kisela, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: coreutils-8.32-17.fc34 coreutils-8.32-17.fc33 coreutils-8.32-4.fc32.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-06 01:16:55 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:

Description Pádraig Brady 2021-01-27 19:16:01 UTC
ls since 6.9 can crash when printing selinux context,
and encountering an unstatable file (like a missing symlink target).

The upstream fix is: 
https://github.com/coreutils/coreutils/commit/6fc695cb.patch

Comment 1 Kamil Dudka 2021-02-02 14:51:41 UTC
Thank you for reporting the bug!

dist-git commit: https://src.fedoraproject.org/rpms/coreutils/c/4bd3080a

Comment 2 Fedora Update System 2021-02-03 01:31:16 UTC
FEDORA-2021-a56b2d9e9d has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a56b2d9e9d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a56b2d9e9d

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

Comment 3 Fedora Update System 2021-02-03 02:30:07 UTC
FEDORA-2021-74e0c6f8bd 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-74e0c6f8bd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-74e0c6f8bd

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

Comment 4 Fedora Update System 2021-02-06 01:16:55 UTC
FEDORA-2021-74e0c6f8bd has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-02-17 05:08:27 UTC
FEDORA-2021-a56b2d9e9d has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.