[Bug 2147669] [NEW] OpenSSL crashes in resolute when userspace entropy is enabled but fips provider is not installed
Eric Berry
2147669 at bugs.launchpad.net
Thu Apr 9 21:39:57 UTC 2026
Public bug reported:
When userspace entropy is enabled but the fips provider is not
installed, openssl crashes.
Steps to reproduce:
1. Create /etc/ubuntu-fips and put the value '1' in it.
2. Run apt update.
Result:
0% [Working]While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
Root cause:
The patch crypto-Fallback-to-default-provider-when-FIPS-provider.patch does not take into consideration the new userspace entropy setting. So it compares ossl_fips_mode() == 1, but the userspace entropy value is 2. Instead it should compare ossl_fips_mode() != FIPS_MODE_DISABLED.
** Affects: openssl (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2147669
Title:
OpenSSL crashes in resolute when userspace entropy is enabled but fips
provider is not installed
Status in openssl package in Ubuntu:
New
Bug description:
When userspace entropy is enabled but the fips provider is not
installed, openssl crashes.
Steps to reproduce:
1. Create /etc/ubuntu-fips and put the value '1' in it.
2. Run apt update.
Result:
0% [Working]While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
While loading "fips" provider: error:07880025:common libcrypto routines::reason(37)
Root cause:
The patch crypto-Fallback-to-default-provider-when-FIPS-provider.patch does not take into consideration the new userspace entropy setting. So it compares ossl_fips_mode() == 1, but the userspace entropy value is 2. Instead it should compare ossl_fips_mode() != FIPS_MODE_DISABLED.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2147669/+subscriptions
More information about the foundations-bugs
mailing list