Bug 2389184 - nodejs24 --force-fips -p 'crypto.getFips()' causes segfault
Summary: nodejs24 --force-fips -p 'crypto.getFips()' causes segfault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs24
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: TomasJuhasz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-18 13:32 UTC by TomasJuhasz
Modified: 2025-10-25 21:02 UTC (History)
3 users (show)

Fixed In Version: nodejs24-24.7.0-1.fc44 nodejs24-24.7.0-1.fc42 nodejs24-24.7.0-1.fc41 nodejs24-24.9.0-1.fc43
Clone Of:
Environment:
Last Closed: 2025-09-03 10:26:01 UTC
Type: ---
Embargoed:
tjuhasz: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1967 0 None None None 2025-08-18 13:35:47 UTC

Description TomasJuhasz 2025-08-18 13:32:25 UTC
node --force-fips -p 'crypto.getFips()' causes segfault, this is due to a missing previously used patch (https://gitlab.com/redhat/centos-stream/rpms/nodejs/-/blob/stream-nodejs-18-rhel-8.10.0/nodejs-fips-disable-options.patch?ref_type=heads).



Reproducible: Always

Steps to Reproduce:
1. node --force-fips -p 'crypto.getFips()'
2.
3.
Actual Results:
  #  node[2002]: std::shared_ptr<node::InitializationResultImpl> node::InitializeOncePerProcessInternal(const std::vector<std::__cxx11::basic_string<char> >&, ProcessInitializationFlags::Flags) at ../../src/node.cc:1235
  #  Assertion failed: ncrypto::CSPRNG(nullptr, 0)

----- Native stack trace -----

 1: 0x7f4d6a214957 node::Assert(node::AssertionInfo const&) [/lib64/libnode.so.127]
 2: 0x7f4d6a1db128  [/lib64/libnode.so.127]
 3: 0x7f4d6a1dc4dc node::Start(int, char**) [/lib64/libnode.so.127]
 4: 0x7f4d69e105b5  [/lib64/libc.so.6]
 5: 0x7f4d69e10668 __libc_start_main [/lib64/libc.so.6]
 6: 0x561442566035 _start [node]
Aborted                    (core dumped) node --force-fips -p 'crypto.getFips()'

Comment 1 Fedora Update System 2025-09-01 15:47:34 UTC
FEDORA-2025-8a4913be12 (nodejs24-24.7.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8a4913be12

Comment 2 Fedora Update System 2025-09-02 09:49:41 UTC
FEDORA-2025-594a87b5f3 (nodejs24-24.7.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-594a87b5f3

Comment 3 Fedora Update System 2025-09-02 09:49:45 UTC
FEDORA-2025-34e7ef60a7 (nodejs24-24.7.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-34e7ef60a7

Comment 4 Fedora Update System 2025-09-02 13:36:17 UTC
FEDORA-2025-667d8e9e93 (nodejs24-24.7.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-667d8e9e93

Comment 5 Fedora Update System 2025-09-03 00:50:51 UTC
FEDORA-2025-594a87b5f3 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-594a87b5f3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-594a87b5f3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-09-03 01:14:00 UTC
FEDORA-2025-667d8e9e93 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-667d8e9e93`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-667d8e9e93

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-09-03 01:31:33 UTC
FEDORA-2025-34e7ef60a7 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-34e7ef60a7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-34e7ef60a7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-09-03 10:26:01 UTC
FEDORA-2025-8a4913be12 (nodejs24-24.7.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-09-11 00:54:46 UTC
FEDORA-2025-594a87b5f3 (nodejs24-24.7.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-09-11 01:18:56 UTC
FEDORA-2025-34e7ef60a7 (nodejs24-24.7.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-09-18 01:49:15 UTC
FEDORA-2025-9c0cf27739 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9c0cf27739`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9c0cf27739

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-10-08 01:46:20 UTC
FEDORA-2025-529eece5c0 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-529eece5c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-529eece5c0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-10-25 21:02:41 UTC
FEDORA-2025-529eece5c0 (nodejs24-24.9.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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