Bug 2122674 - binutils: Infinite loop in display_debug_abbrev() function in binutils/dwarf.c
Summary: binutils: Infinite loop in display_debug_abbrev() function in binutils/dwarf.c
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2122675 2122676
Blocks: 2122677
TreeView+ depends on / blocked
 
Reported: 2022-08-30 14:54 UTC by Pedro Sampaio
Modified: 2023-02-20 16:47 UTC (History)
39 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-09-06 17:57:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2022-08-30 14:54:42 UTC
An infinite loop may be triggered in display_debug_abbrev() function in binutils/dwarf.c while opening a crafted ELF, which may lead to denial of service by a local attacker.

Upstream bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=29370

Comment 1 Pedro Sampaio 2022-08-30 14:55:41 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 2122675]


Created mingw-binutils tracking bugs for this issue:

Affects: fedora-all [bug 2122676]

Comment 2 Siddhesh Poyarekar 2022-08-30 17:37:12 UTC
(In reply to Pedro Sampaio from comment #0)
> An infinite loop may be triggered in display_debug_abbrev() function in
> binutils/dwarf.c while opening a crafted ELF, which may lead to denial of
> service by a local attacker.

By that rationale, running `while true; do echo; done` is a security issue.  Is there another reason why this should be considered a security issue?

Comment 3 Siddhesh Poyarekar 2022-09-06 17:57:20 UTC
This will be fixed in #2122675 as a regular bug.  This does not look security-relevant.


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