Bug 2364340 - Buffer overrun parsing ELF PT_INTERP
Summary: Buffer overrun parsing ELF PT_INTERP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vincent Mihalkovič
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.astron.com/view.php?id=638
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-06 08:47 UTC by Michael Thalmeier
Modified: 2025-06-07 06:46 UTC (History)
4 users (show)

Fixed In Version: file-5.46-2.fc43 file-5.46-3.fc42
Clone Of:
Environment:
Last Closed: 2025-06-07 06:46:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Thalmeier 2025-05-06 08:47:20 UTC
Setting up a Yocto toolchain fails with

 *** buffer overflow detected ***: terminated

There is already an upstream bug report: https://bugs.astron.com/view.php?id=638
This should be fixed in the next version.

Reproducible: Always

Steps to Reproduce:
1. Download yocto toolchain
2. perform installation
 *** buffer overflow detected ***: terminated

Comment 1 Erik Schilling 2025-05-13 13:46:24 UTC
Posted a fix: https://src.fedoraproject.org/rpms/file/pull-request/36. May be worth backporting to f42...

Comment 2 Vincent Mihalkovič 2025-06-02 14:28:42 UTC
fixed via: https://src.fedoraproject.org/rpms/file/pull-request/37

Comment 3 Lukáš Zaoral 2025-06-02 15:38:41 UTC
Vincent, could you fix that in F42 as well, please?  Thank you!

Comment 4 Fedora Update System 2025-06-05 07:24:46 UTC
FEDORA-2025-4fff4f41c4 (file-5.46-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4fff4f41c4

Comment 5 Fedora Update System 2025-06-06 02:22:07 UTC
FEDORA-2025-4fff4f41c4 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4fff4f41c4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4fff4f41c4

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

Comment 6 Fedora Update System 2025-06-07 06:46:49 UTC
FEDORA-2025-4fff4f41c4 (file-5.46-3.fc42) has been pushed to the Fedora 42 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.