Re: FBSD 14.0 / exim 4,97.1 - exim SIGSEGV

From: Jim Pazarena <fquest_at_paz.bz>
Date: Tue, 21 May 2024 14:57:08 UTC

On 2024-05-21 3:05 AM, Odhiambo Washington wrote:
> 
> 
> On Sun, May 19, 2024 at 7:24 PM tetrosalame <tml@seiruote.it 
> <mailto:tml@seiruote.it>> wrote:
> 
>     Il 19/05/2024 16:46, Jim Pazarena ha scritto:
>      > I upgraded both of the captioned versions at the same time, so it
>     is not
>      > clear to me which is causing this issue.. however, since upgrading,
>      > often but without any discernible cycle or frequency, exim refuses
>      > incoming connections, and logs the following:
>      >
>      > 2024-05-19 07:21:00 SIGSEGV (fault address: 0xffffffffffffff70)
>      > 2024-05-19 07:21:00 SIGSEGV (maybe attempt to write to immutable
>     memory)
> 
>     Maybe exim is violating some policy?
>     What does sysctl kern.elf${your_arch}.allow_wx say?
> 
>     FreeBSD14 features some pretty memory protections: see mitigations(7).
>     Bye,
>     f
> 
> 
> I am running the same version of Exim on the same version of FreeBSD (on 
> two different servers, no custom kernel) and I haven't seen these symptoms.
> If anything, here is the output of what you asked:
> 
> ``
> wash@gw:~$ sysctl -a | grep allow_wx
> kern.elf32.allow_wx: 1
> kern.elf64.allow_wx: 1
> ```
> 
> But I did not configure these.
> 
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,

My sending server is SSL outbound capable (if SSL has anything to do 
with this - which seems unlikely). However the sending server remains at 
FBSD 13.2p11, Exim 4.94.2

The smtp server sends to both direct via ethernet (public IP) connected 
servers plus a couple of local email accounts which use fetchmail

The chassis which it sends these emails to are all 14.0p6. and exim 4.97.1.

My results for the "allow_wx" also were '1'. I changed these to '0' and 
email wouldn't flow at all.

So, I am in the throws of re-loading two chassis to FreeBSD 13.3p1
If this resolves email sending and eliminates the SIGSEGV, I will have a 
more firm grasp of the issue.

I hear you ... you have not experienced these symptoms.
I compile exim myself. Perhaps I have some odd 'Local/Makefile' settings.



-- 
Jim Pazarena         fquest@paz.bz
Haida Gwaii - British Columbia - Canada