NetBSD Problem Report #56722
From www@netbsd.org Fri Feb 18 10:33:36 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id EB8581A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Feb 2022 10:33:35 +0000 (UTC)
Message-Id: <20220218103334.65F901A923C@mollari.NetBSD.org>
Date: Fri, 18 Feb 2022 10:33:34 +0000 (UTC)
From: ci4ic4@gmail.com
Reply-To: ci4ic4@gmail.com
To: gnats-bugs@NetBSD.org
Subject: GENERIC_KASLR kernel panics
X-Send-Pr-Version: www-1.0
>Number: 56722
>Category: kern
>Synopsis: GENERIC_KASLR kernel panics
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 18 10:35:00 +0000 2022
>Closed-Date: Wed Apr 27 13:27:46 +0000 2022
>Last-Modified: Wed Apr 27 13:27:46 +0000 2022
>Originator: Chavdar Ivanov
>Release: current as of17-Feb-2022
>Organization:
CI4 Consulting Ltd
>Environment:
uname -a
NetBSD marge.lorien.lan 9.99.93 NetBSD 9.99.93 (GENERIC) #21: Thu Feb 17 18:48:04 GMT 2022 sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
GENERIC_KASLR kernel panics as follows:
....
​r11 ffffffff8e3d8964
r12 ffffffff8e3d8a18
r13 260
r14 0
r15 fff2562260 nonce.3
rip ffffffff9b168705 chacha_stream_sse2+0x1ee
cs 8
rflags 10286
rsp ffffffff8e3d8610
ss 10
netbsd:chacha_stream_sse2+0x1ee: ​???
db(3)> bt
chacha_stream_sse2() at netbsd:chacha_stream_sse2+0x1ee
xchacha_ stream_sse2() at netbsd:xchacha_stream_sse2+0x15d
xchacha_stream_sse2_impl() at netbsd:xchacha_stream_sse2_impl.0x41
xchacha_stream_selftest() at netbsd:xchacha_stream_selftest+0x4e
chacha_selftest() at netbsd:chacha_self test+0x107
chacha_modcmd() at netbsd:chacha_modcmd+ 0x2a
module_do_builtin() at netbsd:module_do_builtin+0x1?d
module_do_builtin() at netbsd: module_do_builtin+0x132
module_init_class() at netbsd:module_init_class+0x1cf
main() at netbsd main+0x507
start_prekern() at netbsd:start_prekern+Oxf5
?() at 100641
...
On this machine, the previous KASLR kernel from 26th of January was OK. I did again a clean build and repeated on a second build host to make sure it is not a local snafu.
The machine is a VirtualBox guest and has been running GENERIC_KASLR since that was made available; now obviously on today's GENERIC or on the last good GENERIC_KASLR.
>How-To-Repeat:
On a new HEAD installation, follow the instruction to switch to KASLR.
Also confirmed on a new installation.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 27 Apr 2022 13:27:46 +0000
State-Changed-Why:
Submitter says it is fixed
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.