On 19/06/2024 06:58 EEST Scott Q. via dovecot dovecot@dovecot.org wrote:
I'm on Debian 12.5 which comes with openssl 3.0.11
I compiled Dovecot 2.3.21 with some pretty vanilla options: /configure --prefix=/usr/local/dovecot --with-sql --with-mysql --with-docs --with-ssl --without-shadow --without-pam --without-ldap --without-pgsql --without-sqlite --with-systemd systemunitdir=/lib/systemd/system
when I connect to it via SSL it core-dumps:
Jun 18 20:50:01 mail kernel: imap-login[396438]: segfault at 69 ip 00007f2e5ee19556 sp 00007fffd7ca38f8 error 4 in libcrypto.so.3[7f2e5ecc5000+279000] likely on CPU 8 (core 8, socket 0) Jun 18 20:50:01 mail kernel: Code: c2 31 d2 31 ff c3 66 0f 1f 44 00 00 31 d2 31 ff c3 0f 1f 00 31 c0 48 85 ff 74 41 48 8b 57 08 8b 87 8c 00 00 00 48 85 d2 74 22 8b 52 68 48 85 d2 74 19 48 83 ec 08 ff d2 31 d2 85 c0 0f 48 c2
Anyone encountered something similar and knows how to fix it ?
Dovecot 2.3 does not support OpenSSL3. It will be supported by 2.4.
Unfortunately the 2.3.21 shipped in Debian 12 is using a broken patch that does not always work. You should open an issue in Debian bug tracker for this.
Aki