Bug 2126424 (CVE-2022-39170)

Summary: CVE-2022-39170 libdwarf: double free in _dwarf_exec_frame_instr() in dwarf_frame.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caswilli, epel-packagers-sig, fche, jitesh.1337, kaycoth, michel, orion
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A double-free vulnerability was found in libdwarf's dwarf_expand_frame_instructions() function of the dwarf_frame.c file. A carefully crafted object file could cause the ‘dwarfdump' utility to do a double free in handling an error condition. This issue could cause a segmentation violation or other major error, terminating the calling application and resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2126426    
Bug Blocks: 2123783    

Description TEJ RATHI 2022-09-13 12:17:35 UTC
libdwarf 0.4.1 has a double free in _dwarf_exec_frame_instr in dwarf_frame.c.

https://github.com/davea42/libdwarf-code/commit/60303eb80ecc7747bf29776d545e2a5c5a76f6f8
https://github.com/davea42/libdwarf-code/issues/132

Comment 1 TEJ RATHI 2022-09-13 12:20:56 UTC
Created libdwarf tracking bugs for this issue:

Affects: fedora-all [bug 2126426]