Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2015313

Summary: When FIPS is Enabled on a RHEL 7.9/8.4 system, Firefox 91.2 will crash almost immediately
Product: Red Hat Enterprise Linux 8 Reporter: mkielian <mkielian>
Component: firefoxAssignee: Jan Horak <jhorak>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Pelka <tpelka>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.4CC: amike, jesse.thilo, jprajzne, paul.kronenwetter, sbarcomb, susanthistle, tpelka, tpopela, tyler
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2016385 2016387 2016388 2016389 (view as bug list) Environment:
Last Closed: 2021-11-05 15:42:51 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:
Bug Depends On:    
Bug Blocks: 2016385, 2016387, 2016388, 2016389    

Description mkielian@redhat.com 2021-10-18 21:29:47 UTC
Description of problem: 

When FIPS is Enabled on a RHEL 7.9/8.4 system, Firefox 91.2 will crash almost immediately.



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

CMD used:
$ sysctl crypto.fips_enabled ;  echo "" ; rpm -qa | grep -e ^firefox -e ^nss | sort -n  


RHEL 7.9:
crypto.fips_enabled = 1

firefox-91.2.0-4.el7_9.x86_64
nss-3.67.0-3.el7_9.x86_64
nss-pem-1.0.3-7.el7.x86_64
nss-softokn-3.67.0-3.el7_9.x86_64
nss-softokn-freebl-3.67.0-3.el7_9.x86_64
nss-sysinit-3.67.0-3.el7_9.x86_64
nss-tools-3.67.0-3.el7_9.x86_64
nss-util-3.67.0-1.el7_9.x86_64


RHEL 8.4 :
crypto.fips_enabled = 1

firefox-91.2.0-4.el8_4.x86_64
nss-3.67.0-6.el8_4.x86_64
nss-softokn-3.67.0-6.el8_4.x86_64
nss-softokn-freebl-3.67.0-6.el8_4.x86_64
nss-sysinit-3.67.0-6.el8_4.x86_64
nss-util-3.67.0-6.el8_4.x86_64



How reproducible: Very/Easily


Steps to Reproduce: 

( Includes steps for  RHEL 7.9/8.4 ) 

Firefox version 91.2 + FIPS enabled


1. Fresh install of RHEL 7/8

RHEL 7 ( pre-built with "server with GUI" )
RHEL 8 ( Regular install, includes GUI ) 


2. Enable FIPs

RHEL 7: 

# yum install dracut-fips
# mv -v /boot/initramfs-$(uname -r).img{,.bak}
# dracut
# grubby --update-kernel=$(grubby --default-kernel) --args=fips=1
# uuid=$(findmnt -no uuid /boot)
# [[ -n $uuid ]] && grubby --update-kernel=$(grubby --default-kernel) --args=boot=UUID=${uuid}


RHEL 8: 

# fips-mode-setup --enable


RHEL 7/8: 
Then Reboot system

Verify FIPS is working: 
# sysctl crypto.fips_enabled


3. Update the system

RHEL 7: 

# yum update
( this updates Firefox to 92.x )


RHEL 8: 

# dnf update
( this updates Firefox to 92.x )


RHEL 7/8: 

Then Reboot system


4. Test Firefox
Firefox will die after 10 seconds or so then will fail with a Segmentation Fault.



5. Disable networking ( also fails, note the link with fips + nss + firefox ) 
Disable networking by shutting off networking connection in Top Gnome menu.

Launch firefox 

It will work until you re-enable network and then refresh a page then will fail with a Segmentation Fault.



Actual results:

Firefox will exit after 5-10 seconds 

When ran from command line: 

$ firefox
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault (core dumped)



Expected results:

Firefox to work under FIPS mode without exiting


Additional info:

If FIPS is manually disabled for a boot, for instance "fips=0" in boot line, then firefox will work.

When upgrading to firefox 92.1 the nss package is installed as a dependency.

Comment 1 mkielian@redhat.com 2021-10-18 21:42:15 UTC
Note:  Bug 2015261 Opened up for RHEL 7.9

Case notes for replication added to that case as well.

Comment 4 Tomas Popela 2021-10-25 11:21:34 UTC
An update here - we do have a fix that was verified by QE and we will release the erratum as soon as possible. If there's anything more that we can do for you, please get in touch.

Comment 5 Tomas Pelka 2021-11-02 18:55:55 UTC
This issue was released via z-stream in all RHELs with z-stream support:
* 7.9.z
* 8.1.z
* 8.2.z
* 8.4.z
* due to the fact that Firefox is normally released asynchronously 8.4.z package will automatically fall in 8.5.0 and 8.6.0 too.


If you dont mind I would propose closing also this original bz.

Comment 6 Tomas Popela 2021-11-05 15:42:51 UTC
We are closing this bug as all the support RHEL versions got the fixed version shipped.