From nobody Wed Jan 17 17:53:43 2024 X-Original-To: freebsd-arm@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 4TFYQy3mbzz58J8R for ; Wed, 17 Jan 2024 17:54:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TFYQx3bz2z4Xpq for ; Wed, 17 Jan 2024 17:54:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=fbY9dfvg; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705514039; bh=NLQO+KOzv0p/e91kTxF1FKFyuseyhHWQYj2xFYbs2Co=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=fbY9dfvgFnO6As82ZRY0HUEYjVEEW/R/JfbkAYATuVImCSgFgLyPVYoYn5y8XOWfD7i//bqoXGKbHmNHed6/9QFJi9HNAyB7uff5q1E/iAKliTsziBVrkt+dnzHx24TjJWzATB4OUZxGwr8qSi8/1GqsjvQumsO851CYG1fdoXF0N3PRexMj8JLN8ZTReVzeBKm4IxB/9fc4UeetnsXCLAux/C/L/evYNP2+baOk8+Q3D/QR+ySE3vm5d8l4KhKXSfdqO3tTpDdjXzzzNJ7Z9Z3DXOMebSKDm/HvV/grTeS/lbbrEJ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gKgrYlqX0KJ3WPF4bD5BPmL8R9YucI3WiznXOrwAFuHfBjRVW I99KvDUJBhAFf2oF_PyEBsSsrT5JI5DqZYTyRK.DD4nKVlD8b8zKmKtykJEZhkXyiDUClcrfRGZv qMnLykggBXN5tOOVQHl2VVFsfThliV52RMhhv3gkoxS7iWp7_DudZwVCqPmdfKWyFaJBu1NdxzVM bGkl2gMi3YrlZByDdTlC0Bzrio0_16.43HQ3wxigTFsR8mC42._0whGH01NrJ8hAq_IGmfq5MJ5M W54_ysQjcWR5ohbboK_N7fs25w5iF2zVpXCxQbU0ZIEn9LPxjyV8DVwBrSsO1cxsT9CcmZUq14RT LwSnYg7HZiaDiU1FStRBv4xFv6bGNzwGmrgMwJHfeXlgZs_6T0dZNgeFdMWDl47nKTnZUQiQHjRs 7ReuYm3DxhbR4.FGo.yxIUB.QSJ7g2P9byPLG51vUedI8nKpjeMeQjz_DHIf7L9tn8nJ1UwFf9bX P7NWikRCFzv0ikhSNw0UkRDg2qPiyR9Q_Ojn8I61GAYT4d727ibcIYSrQSYS71JHrs3lfGt.sP6n 5gM5qOd2WdwT2KfsCdsWJnbK3NUDeVHEUmBEbExhHwN.5JUcxxXAVEIwCVFJ3aWo_1cVej82ktwp WkbQYYa286ioWDXLqe0VRbVxiTmR_N26mX7pT4q6hLjhYe_KOfMfXMirLFQeYeBkB82yKE.hYZXk 3 X-Sonic-MF: X-Sonic-ID: 468136be-7e9c-470e-a809-95fa2538055e Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Wed, 17 Jan 2024 17:53:59 +0000 Received: by hermes--production-gq1-78d49cd6df-t49qq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bcd4eb8a6aa73e2618c4bae89fa50da1; Wed, 17 Jan 2024 17:53:54 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: sshd signal 11 on -current From: Mark Millard In-Reply-To: <7EF12F55-70E4-4780-BF73-3C7B963C3781@yahoo.com> Date: Wed, 17 Jan 2024 09:53:43 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9AD5E3CD-90A5-41D6-902A-02363C724DF7@yahoo.com> References: <7EF12F55-70E4-4780-BF73-3C7B963C3781@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.904]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.82:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.82:from] X-Rspamd-Queue-Id: 4TFYQx3bz2z4Xpq On Jan 17, 2024, at 09:34, Mark Millard wrote: > On Jan 17, 2024, at 08:00, bob prohaska wrote: >=20 >> A Pi4 running -current reported: >>=20 >> Jan 13 16:23:10 nemesis kernel: pid 53604 (sshd), jid 0, uid 22: = exited on signal 11 (no core dump - bad address) >> repeatedly. >=20 > I assume that the pid changed from message to message, in addition > to the time but the rest of each message text matched exactly. >=20 >> There's no obvious disruption of operation, existing >> ssh connections seem undisturbed. >=20 > I'll 1st remind what a process tree for sshd looks like > (you need not be using root and likely would be using tip > instead of ps): >=20 > 1546 - Is 0:00.00 |-- sshd: /usr/sbin/sshd [listener] 0 of = 10-100 startups (sshd) > 1628 - Ss 0:00.10 | |-- sshd: root@pts/1 (sshd) > 1642 1 Ss 0:00.04 | | `-- -sh (sh) > 9531 1 R+ 0:00.00 | | `-- ps -xd > 7512 - Is 0:00.02 | `-- sshd: root@pts/0 (sshd) > 7515 0 Is+ 0:00.01 | `-- -sh (sh) >=20 > The lack of disruption indicates that one of the "@pts/" > sshd's got the signal but the other @pts/ ones did not, > nor did the "/usr/sbin/sshd [listener]" sshd get such a > signal, if I understand right. >=20 > Too bad there are no core files. Also, the system may lack > symbols or debug information to make backtraces readable > (if there was a core to look at). >=20 >> The messages occur in a group of >> about fifteen, one second apart. The machine has been up about >> three days, with only one occurrence so far.=20 >>=20 >> Can't tell if this is new or old behavior, I've never manually=20 >> checked /var/log/messages for sshd errors until now and didn't >> save the security run email from the 13th..=20 >>=20 >> Might it be of significance? >=20 > The "exited on signal 11" would possibly lead to the contained > shell (tsch in your case?) being killed. It would not be via > SIGHUP. The tip run might also be killed, leaving the lock file > around. Trying: >=20 > # ps -xd >=20 > on nemesis before starting up a new tip should indicate if there > is a tip running that is no longer (indirectly) under a > "sshd: root@pts/" process. >=20 >=20 > It is a very good find. At the moment I do not see a way to > end up with a backtrace showing what was involved when the > signal happened. But it highly likely that you have demonstrated > the presence of an error of some kind: >=20 > Num Name Default Action Description > . . . > 11 SIGSEGV create core image segmentation violation >=20 > should not happen. >=20 FYI in case it is unclear: Once the "sshd: root@pts/" process has been killed, it is no longer attempting to read what is send by the other side of the specific ssh connection. So the next write by the other side will get a SIGPIPE that it ends up handling. This ties back to prior notes. =3D=3D=3D Mark Millard marklmi at yahoo.com