[Bug 3158] New: SIGSEGV - null pointer indirection - daemon-accept handling TLS incoming connection

Exim Bugzilla via Exim-dev <[email protected]>
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]/>
https://bugs.exim.org/show_bug.cgi?id=3158

            Bug ID: 3158
           Summary: SIGSEGV - null pointer indirection - daemon-accept
                    handling TLS incoming connection
           Product: Exim
           Version: 4.99
          Hardware: x86
                OS: OpenBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Delivery in general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Starting 2025-09-07 I have observed a number of panics with log lines saying

2025-09-10 18:45:43.190 1uwPp8-00000000MJ2-09sw SIGSEGV (fault address: (nil))
2025-09-10 18:45:43.191 1uwPp8-00000000MJ2-09sw SIGSEGV (null pointer
indirection)
2025-09-10 18:45:43.191 1uwPp8-00000000MJ2-09sw SIGSEGV (daemon-accept: 85748
handling TLS incoming connection from mail-lf1-x136.google.com
[2a00:1450:4864:20::136]:56382

All panics are related to connections originating at mail-*.google.com.

The latest panic dumped core, where stacktrace is looking like this:

(lldb) target create "exim.git" --core "exim.git.core"
Core file '/tmp/exim.git.core' (x86_64) was loaded.
(lldb) bt
* thread #1, stop reason = signal SIGSEGV
  * frame #0: 0x00000435194b534e exim.git`strcmpic(s=<unavailable>,
t=<unavailable>) at string.c:792:35
    frame #1: 0x000004351943dba3
exim.git`string_log_address(g=0x000004378fbe00a8, addr=0x0000043519517540,
all_parents=NO, success=<unavailable>) at deliver.c:1076:9
    frame #2: 0x000004351943d395 exim.git`delivery_log(flags=1,
addr=0x0000043519517540, logchar=62, msg=0x0000000000000000) at
deliver.c:1153:5
    frame #3: 0x00000435194ca3a1 exim.git`cutthrough_finaldot at
verify.c:1587:7
    frame #4: 0x0000043519495a03 exim.git`receive_msg(extract_recip=NO) at
receive.c:4337:24
    frame #5: 0x00000435194394b3 exim.git`daemon_go at daemon.c:576:17
    frame #6: 0x00000435194390ed exim.git`daemon_go at daemon.c:2808:9
    frame #7: 0x0000043519456e44 exim.git`main(argc=3,
cargv=0x000070be25400678) at exim.c:5354:3
    frame #8: 0x000004351942b07b exim.git`__start + 299

Exim version 4.git-e186dd7639 #1 built 31-Aug-2025 23:03:21

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.