From nobody Tue May 21 10:05:16 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vk97C11HVz5Lt3k for ; Tue, 21 May 2024 10:05:59 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vk97B2qKtz4qg3 for ; Tue, 21 May 2024 10:05:58 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=QsKXZOwc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2001:4860:4864:20::32 as permitted sender) smtp.mailfrom=odhiambo@gmail.com Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-23d477a1a4fso2609649fac.3 for ; Tue, 21 May 2024 03:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716285954; x=1716890754; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vRjybCRAtWlywvZo/wEJwjUZXYP7GEengoUwj1JjPLw=; b=QsKXZOwcpT59LP49Lq2Lsg7QirVmBGH3sW2UJogrr8lRwyvYofpKrtbsavysf7Rsbc gCI8ayM4fK6vlhKoaIp0r9eU49hy8wQa8qMs5D60K7xXcGX+UZoaRPUSw7r6tYevKAzF gvP+v9i9cS28njzq+Ja3JMRRKsKNjCusW6OdKT1myajH2jmjyAIavMfNMqF0ZwC916Vn xtoOkrK1NX41LTB4n3VDxkuGx0EgOXJNJYsMW0KU4rJHiNlZ6js7Y3UbGfw+r/2k0NIi W6nrI1iXaM+lxlIZCPyWHXQpGrV2RhRfyBf8lvtjuMh9mN3Be6YGQRR4P7r6ofzu151v MZJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716285954; x=1716890754; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vRjybCRAtWlywvZo/wEJwjUZXYP7GEengoUwj1JjPLw=; b=NZZL+uWlToEojLNoYPD0DXVBnEtb7/Tm3m04KoRIqNAm3/CyYB9UcIe+9/sdURVAWY fkx215b94zTmBYcQS21otS4jSjaFwTkHVtFMp2B2wNI9GzTfWGMbBVUMFRGqK/RdPU60 7nyYZbZ/+tFwIYINZBvDs3Ja85ZJbZeIi+GVHNeppSUvAxpskdvo1GgRUpJH2JXZ+A8R HuyqW7jL+fDUbHEUHM0t9Y5dZcwxgEki6PtyL6GA5gCJpC7vZ40QdlKeRefuPW/+gBl1 6L2j9BT/c5hFD9H/PL8pFqsDhooNNrBeCYYN/GZI2nb63fYA85/Wh2SfyRUAiBjuu9MH wleQ== X-Gm-Message-State: AOJu0Yx1ZEawImKOgnvJ1ux4Td/TRbh3UNLmVFhI9SVE6P7yLnykXBgt yc+PM2mKSfx9TJRT6Wrg8P+xQfVm6wdPNtruzlDZtLruIjHcDeguwH0DsQq3v8VMrfuiCrE9SCQ k1VStjU8Ey6dsIjXK4k/9QRpdLagC8IMxV5Q= X-Google-Smtp-Source: AGHT+IFGce0xoP4p9ojnDN92x3cBAQu6wbb4ipE/bbVf1wP+Gn7HJaUGwXncHiedY5EBOUgG/G65LtSpNYkPflCHbC4= X-Received: by 2002:a05:6870:a11d:b0:24c:4f05:5948 with SMTP id 586e51a60fabf-24c4f0566a9mr1567753fac.20.1716285953605; Tue, 21 May 2024 03:05:53 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: <7c7f0ddf-6e2e-4954-a712-018fc790c8df@paz.bz> <11e6f1c6-d377-4ab1-b087-041db6cec179@seiruote.it> In-Reply-To: <11e6f1c6-d377-4ab1-b087-041db6cec179@seiruote.it> From: Odhiambo Washington Date: Tue, 21 May 2024 13:05:16 +0300 Message-ID: Subject: Re: FBSD 14.0 / exim 4,97.1 - exim SIGSEGV To: questions@freebsd.org Cc: tetrosalame , Jim Pazarena Content-Type: multipart/alternative; boundary="0000000000009906c20618f3f671" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.91 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.908]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2001:4860:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::32:from]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4Vk97B2qKtz4qg3 --0000000000009906c20618f3f671 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 19, 2024 at 7:24=E2=80=AFPM tetrosalame 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 no= t > > 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. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --0000000000009906c20618f3f671 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, May 19, 2024 at 7:24=E2=80=AF= PM tetrosalame <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 n= ot
> 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 memor= y)

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
<= div>
I am running the same version of Exim on the s= ame version of FreeBSD (on two different servers, no custom kernel) and I h= aven'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
```
<= br>
But I did not c= onfigure these.

= --
<= div dir=3D"ltr">
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE+254 7 3200 0004/+254 7 2274 3223
=C2=A0In=C2=A0an Internet = failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.",=C2=A0egrep -v '^$|^.*= #'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]=
--0000000000009906c20618f3f671--