Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1780057

Summary: gnupg2 2.2.18 free(): double free detected in tcache 2
Product: [Fedora] Fedora Reporter: Michał <e.misiek>
Component: gnupg2Assignee: Red Hat Crypto Team <crypto-team>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: bcl, crypto-team, dcantrell, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnupg2-2.2.18-2.fc31 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-08 01:16:24 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 Michał 2019-12-05 10:27:09 UTC
Description of problem:
Upstream bug. https://dev.gnupg.org/T4762

free(): double free detected in tcache 2

Version-Release number of selected component (if applicable):
2.2.18

Steps to Reproduce:
1. $ gpg2 --out something.gpg --encrypt something
2. $ LANGUAGE=C gpg2 --decrypt something.gpg                
gpg: anonymous recipient; trying secret key 0x12E0C66D8B1D18EB ...
gpg: okay, we are the anonymous recipient.
free(): double free detected in tcache 2
[1]    12830 abort (core dumped)  LANGUAGE=C gpg2 --decrypt something.gpg

Additional info:
https://dev.gnupg.org/T4762
https://dev.gnupg.org/F1052802
https://dev.gnupg.org/T4768

Comment 1 Fedora Update System 2019-12-06 09:16:31 UTC
FEDORA-2019-a43428deeb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a43428deeb

Comment 2 Tomas Mraz 2019-12-06 15:02:44 UTC
*** Bug 1780628 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2019-12-07 03:39:10 UTC
gnupg2-2.2.18-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a43428deeb

Comment 4 Fedora Update System 2019-12-08 01:16:24 UTC
gnupg2-2.2.18-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.