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 2103706 - curl segfaults [rhel-7.9.z]
Summary: curl segfaults [rhel-7.9.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss
Version: 7.9
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Bob Relyea
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 2104702 2104703
TreeView+ depends on / blocked
 
Reported: 2022-07-04 15:08 UTC by Jelle van der Waa
Modified: 2022-09-26 15:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2104702 (view as bug list)
Environment:
Last Closed: 2022-09-26 15:19:04 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-7827 0 None None None 2022-07-05 19:41:44 UTC
Red Hat Issue Tracker RHELPLAN-126940 0 None None None 2022-07-04 15:15:49 UTC
Red Hat Product Errata RHBA-2022:6712 0 None None None 2022-09-26 15:19:12 UTC

Description Jelle van der Waa 2022-07-04 15:08:20 UTC
Description of problem:

Curl segfaults in our CI setup after updating everything to the latest rhel-7-9 release.

Most notable upgrade related to curl was: nss (3.67.0-4.el7_9 -> 3.79.0-2.el7_9)

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

curl-7.29.0-59.el7_9.1.x86_64
nss-3.79.0-2.el7_9.x86_64

A coredupm and backtrace is available in the link under additional information.

How reproducible:

Always in our CI setup.

Steps to Reproduce:

1. Execute curl with an custom CA TLS certificate

Actual results:

+ curl --insecure -s https://10.111.112.100:8443/candlepin
sh: line 3:  1601 Segmentation fault      (core dumped) curl --insecure -s https://10.111.112.100:8443/candlepin

Expected results:

curl should not segfault

Additional info:

https://github.com/cockpit-project/bots/pull/3487#issuecomment-1172224587

Comment 3 Kamil Dudka 2022-07-04 15:32:37 UTC
Sounds like a regression in NSS.  Bob, are you aware of any related change in the recent 7.9.z update of NSS?

The backtrace is available here:

    https://github.com/cockpit-project/bots/pull/3487#issuecomment-1172224587

Comment 4 Bob Relyea 2022-07-05 19:15:33 UTC
Hmm, that backtrace matches a known bug that should be fixed in the -2 release of NSS.

Comment 5 Bob Relyea 2022-07-05 19:33:11 UTC
Looking closer at the backtrace, it's the same kind of issue that was fixed in -2, but a different path. This is clearly an NSS bug, and will need a patch in RHEL 7.9 (Probably in RHEL-8 and RHEL-9 if another application triggers the curl path for this bug, but curl doesn't use NSS on those platforms).

Comment 7 Kamil Dudka 2022-07-07 06:21:13 UTC
Thank you for taking this over, Bob!

Comment 23 errata-xmlrpc 2022-09-26 15:19:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nss, nss-softokn, nss-util, and nspr bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:6712


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