Verified openssl 3.0.13-0ubuntu3.17 from noble-proposed on noble against a SoftHSM2 token, running the Test Plan above as written.
A SoftHSM2 token holds an RSA 2048 key and sbsign signs /usr/lib/shim/shimx64.efi through the pkcs11 engine. libengine-pkcs11-openssl stays at 0.4.12-1.1ubuntu2 from noble-updates in both rows, so openssl is the only thing that changes, and each row prints back the installed versions and the md5 of the engine and of libssl. openssl / libssl3t64 libp11 engine md5 probe sbsign 3.0.13-0ubuntu3.16 0.4.12-1.1ubuntu2 ece2a8e2 CLEAN 139 (SIGSEGV) 3.0.13-0ubuntu3.17 0.4.12-1.1ubuntu2 ece2a8e2 CLEAN 0 Row 1 is what noble ships today and it segfaults, which is this bug. Row 2 is the package in proposed and it prints "Signing Unsigned original image" and exits 0, which is what the Test Plan says to expect after the fix. The engine md5 is identical in both rows, so openssl is the only variable, and libssl goes from 4420b360 to adf495e8. The probe column is EVP_PKEY_fromdata_init called after ENGINE_load_private_key, which is the check for the regression in LP: #2163152. It comes back clean in both rows, so this upload does not reintroduce the engine-default pollution that the libp11 revert removed. openssl pkeyutl through the same engine returns 0 in both rows, as it always has. It holds its engine reference until teardown, so it never exercises the use-after-free. This run used SoftHSM2 rather than hardware, which is what the Test Plan calls for. The YubiHSM 2 results it refers to were taken in September against the same revert built in a PPA. ** Tags removed: verification-needed-noble ** Tags added: verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2158304 Title: [SRU] sbsign (and any tool using the OpenSSL PKCS#11 engine) segfaults when signing via a PKCS#11 token on OpenSSL 3.0.13 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libp11/+bug/2158304/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
