Bug 1921249 - ls can crash when printing selinux context of unstatable files
Summary: ls can crash when printing selinux context of unstatable files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-27 19:16 UTC by Pádraig Brady
Modified: 2021-02-17 05:08 UTC (History)
10 users (show)

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:
Clone Of:
Environment:
Last Closed: 2021-02-06 01:16:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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