From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Jaipaul Cheernam" <jaipaul.cheernam@est.tech>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 1/7] openssl: upgrade 3.5.7 -> 4.0.1
Date: Sat, 15 Aug 2026 18:20:28 +0200 [thread overview]
Message-ID: <DKPNKQUB6NV8.2V3BZZIP7TQ90@bootlin.com> (raw)
In-Reply-To: <20260814051829.35088-2-jaipaul.cheernam@est.tech>
On Fri Aug 14, 2026 at 7:18 AM CEST, Jaipaul Cheernam wrote:
> Upgrade OpenSSL from 3.5.7 to 4.0.1. This is a major version upgrade.
>
> Changelog: https://github.com/openssl/openssl/blob/openssl-4.0.1/CHANGES.md
>
> New CVE fixes not already in 3.5.7:
> * CVE-2026-28386: Fixed OOB read in AES-CFB-128 on x86-64 with AVX-512
> * CVE-2026-35188: Fixed double-free when checking OCSP stapled response
> * CVE-2026-42765: Fixed NULL deref in cert verification with OCSP
> * CVE-2026-42771: Fixed OOB read in X509_VERIFY_PARAM_set1_email()
>
> Major breaking changes in 4.0.0:
> * Removed support for engines. The ENGINE API is fully removed.
> * Removed support for SSLv3. SSLv3 has been deprecated since 2015.
> * Removed support for the SSLv2 Client Hello.
> * Removed per-version TLS method functions (SSLv3_method(),
> TLSv1_method(), TLSv1_1_method(), TLSv1_2_method()).
> * Removed c_rehash script tool. Use 'openssl rehash' instead.
> * ASN1_STRING has been made opaque.
> * Numerous API function signatures changed to include const qualifiers.
> * libcrypto no longer cleans up globally allocated data via atexit().
> * Added AKID verification checks when X509_V_FLAG_X509_STRICT is set.
> * Support of deprecated elliptic curves in TLS disabled at compile-time
> by default.
>
> Recipe changes:
> * Drop 0001-Added-handshake-history-reporting-when-test-fails.patch
> (merged upstream via PR #22481).
> * Refresh remaining patches against the new version.
> * Remove ENGINE API artifacts: engines package, dasync.so/ossltest.so
> ptest installation, ENGINESDIR references, OPENSSL_ENGINES wrapper
> variable, and cryptodev-linux PACKAGECONFIG.
>
> Tested: ptest on qemux86-64:
> Files=362, Tests=4310, Result: PASS
> Passed: 338, Skipped: 24 (fips, lms, rc5, tfo, compression,
> sslversions, sslkeylogfile, external tests - all expected)
> Failed: 0
>
Hi Jaipaul,
Thanks for your patch.
I gave it a go on the autobuilder, and we can see some build issues.
A first one (multilib related ?):
ERROR: lib32-openssl-4.0.1-r0 do_package: Execution of '/srv/pokybuild/yocto-worker/multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-openssl/4.0.1/temp/run.multilibscript_rename.3735101' failed with exit code 1
...
| mv: cannot stat '/srv/pokybuild/yocto-worker/multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-openssl/4.0.1/package/usr/bin/c_rehash': No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_package finished
NOTE: recipe lib32-openssl-4.0.1-r0: task do_package: Failed
ERROR: Task (virtual:multilib:lib32:/srv/pokybuild/yocto-worker/multilib/build/layers/openembedded-core/meta/recipes-connectivity/openssl/openssl_4.0.1.bb:do_package) failed with exit code '1'
https://autobuilder.yoctoproject.org/valkyrie/#/builders/92/builds/4374
https://autobuilder.yoctoproject.org/valkyrie/#/builders/92/builds/4374
And a second one:
ERROR: openssl-4.0.1-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/openssl/4.0.1/temp/run.do_compile.3557282' failed with exit code 1
...
| ../sources/openssl-4.0.1/providers/implementations/keymgmt/ml_kem_kmgmt.c:25:10: fatal error: prov/der_wrap.h: No such file or directory
| 25 | #include "prov/der_wrap.h"
| | ^~~~~~~~~~~~~~~~~
| compilation terminated.
https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/4341
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-08-15 16:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 5:18 [RFC 0/7] openssl: upgrade to 4.0.1 and fix dependent recipes Jaipaul Cheernam
2026-08-14 5:18 ` [PATCH 1/7] openssl: upgrade 3.5.7 -> 4.0.1 Jaipaul Cheernam
2026-08-15 16:20 ` Mathieu Dubois-Briand [this message]
2026-08-14 5:18 ` [PATCH 2/7] python3: backport OpenSSL 4.0 support from upstream Jaipaul Cheernam
2026-08-14 5:18 ` [PATCH 3/7] socat: fix build with OpenSSL 4.0 Jaipaul Cheernam
2026-08-14 5:18 ` [PATCH 4/7] rust: Upgrade 1.96.1 -> 1.97.1 Jaipaul Cheernam
2026-08-15 16:11 ` [OE-core] " Mathieu Dubois-Briand
2026-08-14 5:18 ` [PATCH 5/7] serf: fix build with OpenSSL 4.0 Jaipaul Cheernam
2026-08-14 5:18 ` [PATCH 6/7] u-boot-tools: " Jaipaul Cheernam
2026-08-14 11:12 ` [OE-core] " Alexander Kanavin
2026-08-15 16:14 ` Mathieu Dubois-Briand
2026-08-14 5:18 ` [PATCH 7/7] kea: " Jaipaul Cheernam
2026-08-14 11:14 ` [OE-core] " Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DKPNKQUB6NV8.2V3BZZIP7TQ90@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox