compilation|FAILURE| pw(164523) sid(38244) job(PER_PATCH_BUILD18916)crypto/openssl: fix use-after-free bug and cleanup

sys_stv at intel.com sys_stv at intel.com
Thu May 28 10:27:59 CEST 2026


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/164523

_Compilation issues_

Submitter: Pratik Senapati <psenapati at marvell.com>
Date: 2026-05-28 07:58:22
Reply_mail: <20260528075822.2206494-1-psenapati at marvell.com>

DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 28ef4299acfd28df6ddcdad4bbc06916e88108ee


Meson Build Summary: 23 Builds Done, 20 Successful, 3 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass       |              |            |            |           |          |            |
| FreeBSD15-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE16-64         | pass       | pass         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2404-32         | pass       |              |            |            |           |          |            |
| RHEL10.1-64       | fail       |              |            |            |           |          |            |
| UB2404-64         | pass       | pass         |            |            |           | pass     | pass       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2504-64         | pass       |              |            |            |           |          |            |
| Fedora43-64       | fail       | fail         |            |            |           |          |            |
| OpenEuler2404-64  | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.10-64
	Kernel Version: 5.10.134-18.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
	Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
	x86_64-native-linuxapp-gcc

OS: FreeBSD15-64
	Kernel Version: 15.0-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 14.2.0
	Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL96-64
	Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
	GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE16-64
	Kernel Version: 6.12.0-160000.26-default
	GCC Version: gcc (SUSE Linux) 15.2.0
	Clang Version: 19.1.7
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: AzureLinux3.0-64
	Kernel Version: 6.6.47.1-1.azl3
	GCC Version: gcc (GCC) 13.2.0
	Clang Version: 18.1.2
	x86_64-native-linuxapp-gcc

OS: UB2404-32
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL10.1-64
	Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
	GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
	Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
	x86_64-native-linuxapp-gcc

OS: UB2404-64
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: 18.1.3 (1ubuntu1)
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL10-64RT
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2504-64
	Kernel Version: 6.14.0-15-generic
	GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: Fedora43-64
	Kernel Version: 6.17.1-300.fc43.x86_64
	GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
	Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: OpenEuler2404-64
	Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
	GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
	Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: RHEL10.1-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o 
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-shadow -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3701:1: error: label ‘err_pkey’ defined but not used [-Werror=unused-label]
 3701 | err_pkey:
      | ^~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3699:1: error: label ‘err_decap’ defined but not used [-Werror=unused-label]
 3699 | err_decap:
      | ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3792:17: error: label ‘err_decap’ used but not defined
 3792 |                 goto err_decap;
      |                 ^~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3771:17: error: label ‘err_pkey’ used but not defined
 3771 |                 goto err_pkey;
      |                 ^~~~
cc1: all warnings being treated as errors
[2725/3648] Compiling C object drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd_ops.c.o
[2726/3648] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2727/3648] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2728/3648] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_pkt_size_distr.c.o
[2729/3648] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2730/3648] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2731/3648] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2732/3648] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2733/3648] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped




*Build Failed #2:
OS: Fedora43-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o 
gcc -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-shadow -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_encap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3701:1: error: label ‘err_pkey’ defined but not used [-Werror=unused-label]
 3701 | err_pkey:
      | ^~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3699:1: error: label ‘err_decap’ defined but not used [-Werror=unused-label]
 3699 | err_decap:
      | ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c: In function ‘mlkem_decap_op_evp’:
../drivers/crypto/openssl/rte_openssl_pmd.c:3792:17: error: label ‘err_decap’ used but not defined
 3792 |                 goto err_decap;
      |                 ^~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3771:17: error: label ‘err_pkey’ used but not defined
 3771 |                 goto err_pkey;
      |                 ^~~~
cc1: all warnings being treated as errors
[2690/3636] Generating drivers/rte_crypto_openssl_map with a custom command
[2691/3636] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o
[2692/3636] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2693/3636] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o
[2694/3636] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2695/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2696/3636] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2697/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2698/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped




*Build Failed #3:
OS: Fedora43-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o 
clang -Idrivers/libtmp_rte_crypto_openssl.a.p -Idrivers -I../drivers -Idrivers/crypto/openssl -I../drivers/crypto/openssl -Ilib/cryptodev -I../lib/cryptodev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-shadow -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.openssl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -MF drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o.d -o drivers/libtmp_rte_crypto_openssl.a.p/crypto_openssl_rte_openssl_pmd.c.o -c ../drivers/crypto/openssl/rte_openssl_pmd.c
../drivers/crypto/openssl/rte_openssl_pmd.c:3699:1: error: unused label 'err_decap' [-Werror,-Wunused-label]
 3699 | err_decap:
      | ^~~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3701:1: error: unused label 'err_pkey' [-Werror,-Wunused-label]
 3701 | err_pkey:
      | ^~~~~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:3771:8: error: use of undeclared label 'err_pkey'
 3771 |                 goto err_pkey;
      |                      ^
../drivers/crypto/openssl/rte_openssl_pmd.c:3775:8: error: use of undeclared label 'err_decap'
 3775 |                 goto err_decap;
      |                      ^
4 errors generated.
[2691/3636] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_failover.c.o
[2692/3636] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_rte_cryptodev_scheduler.c.o
[2693/3636] Compiling C object drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o
[2694/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn20k_cryptodev_ops.c.o
[2695/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o
[2696/3636] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o
[2697/3636] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o
[2698/3636] Compiling C object drivers/libtmp_rte_crypto_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o
[2699/3636] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list