Re: 12-STABLE revision 344629: pid 26 (sh), jid 0, uid 0: exited on signal 11

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Wed, 27 Feb 2019 14:18:28 -0500
On Wed, Feb 27, 2019 at 08:08:24PM +0100, O. Hartmann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Running 12-STABLE and CURRENT on a PCengine APU4C (CPU: AMD GX-412TC SOC,  Coreboot Version:
> v4.9.0.2), I ran into trouble running latest 12-STABLE on that hardware.
> 
> The box is quitting with
> 
> 
> [...]
> mmcsd0: 31GB <SDHC SD32G 3.0 SN 01801299 MFG 09/2015 by 39 PH> at mmc0 50.0MHz/4bit/65535-block
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <TS64GMSA370 O1225G> ACS-2 ATA SATA 3.x device
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
> ada0: Command Queueing enabled
> ada0: 61057MB (125045424 512 byte sectors)
> Trying to mount root from ufs:/dev/gpt/dsks1a [ro]...
> TCP Hpts created 4 swi interrupt thread and bound 0
> uhub1: 4 ports with 4 removable, self powered
> pid 26 (sh), jid 0, uid 0: exited on signal 11
> 2019-02-27T19:42:35.721885+01:00  init 1 - - /bin/sh on /etc/rc terminated abnormally, going
> to single user mode Enter root password, or ^D to go multi-user
> Password:
> uhub0: 2 ports with 2 removable, self powered
> ugen1.2: <vendor 0x0438 product 0x7900> at usbus1
> uhub2 on uhub0
> uhub2: <vendor 0x0438 product 0x7900, class 9/0, rev 2.00/0.18, addr 2> on usbus1
> uhub2: 4 ports with 4 removable, self powered
> random: unblocking device.
> arc4random: no preloaded entropy cache
> arc4random: no preloaded entropy cache
> [...]
> 
> 
> ... and when typing the password, the prompter is immediately at
> 
> 2019-02-27T19:42:35.721885+01:00  init 1 - - /bin/sh on /etc/rc terminated abnormally, going
> to single user mode Enter root password, or ^D to go multi-user
> Password:
> 
> 
> Running 
> 
> FreeBSD 12.0-STABLE #36 r343871: Thu Feb  7 17:34:44 CET 2019 amd64
> 
> Doesn't show this phenomenon with the very same configuration and kernel.

Have you enabled retpoline? There are known issues with ifunc in libc
and retpoline.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
Tor+XMPP+OTR:        lattera_at_is.a.hacker.sx
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

Received on Wed Feb 27 2019 - 18:19:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC