RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2119822 - regression: "GnuTLS initialization: Error while performing self checks" with LD_LIBRARY_PATH (FIPS enabled)
Summary: regression: "GnuTLS initialization: Error while performing self checks" with ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gnutls
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Daiki Ueno
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-19 13:52 UTC by Damien Ciabrini
Modified: 2022-11-08 07:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-03 04:46:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-8167 0 None None None 2022-08-30 11:59:48 UTC
Red Hat Issue Tracker RHELPLAN-131752 0 None None None 2022-08-19 14:05:14 UTC

Internal Links: 2140908

Description Damien Ciabrini 2022-08-19 13:52:35 UTC
Description of problem:
When FIPS mode is enabled, GnUTLS fails to initialize correctly when /usr/lib64 is present in LD_LIBRARY_PATH. This used to work in previous versions. 

Version-Release number of selected component (if applicable):
gnutls 3.7.6-4.el9
gnutls-utils 3.7.6-4.el9

How reproducible:
Always

Steps to Reproduce:
1. Enable FIPS mode:
   # fips-mode-setup --enable && reboot

2. Execute any gnutls application with /usr/lib64 in LD_LIBRARY_PATH
   # LD_LIBRARY_PATH=/usr/lib64 gnutls-cli-debug

Actual results:
gnutls cannot initialize

# LD_LIBRARY_PATH=/usr/lib64 gnutls-cli-debug 
Error in GnuTLS initialization: Error while performing self checks.
global state initialization error


Expected results:
initialization should work

# LD_LIBRARY_PATH=/usr/lib64 gnutls-cli-debug 
GnuTLS debug client 3.7.3
Checking localhost:443


Additional info:
This used to work with GnuTLS 3.7.3-10 and below

Comment 7 Daiki Ueno 2022-08-30 11:43:23 UTC
The mismatch should be resolved after nettle-3.8-3.el9 and gnutls-3.7.6-11.el9 go into the compose. They are already tagged as c9s-candidate:
https://kojihub.stream.centos.org/koji/buildinfo?buildID=24827
https://kojihub.stream.centos.org/koji/buildinfo?buildID=24826


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