NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/56722: GENERIC_KASLR kernel panics



>Number:         56722
>Category:       kern
>Synopsis:       GENERIC_KASLR kernel panics
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 18 10:35:00 +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



Home | Main Index | Thread Index | Old Index