NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbmips/51218: Memory corruption or use of uninitialized RNG on evbmips-mips64eb
>Number: 51218
>Category: port-evbmips
>Synopsis: It appears cprng_strong's called on this platform before it is initialized, or possibly after memory corruption has screwed up its state.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 05 22:50:00 +0000 2016
>Originator: tls%NetBSD.ORG@localhost
>Release: NetBSD 7.99.30
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD 7.99.30 NetBSD 7.99.30 (ERLITE.201606051010Z) evbmips
Architecture: mips64eb
Machine: evbmips
>Description:
The "kernel" cprng -- which is a NIST CTR_DRBG instance whose output
should pass the statistical tests no matter how it's keyed -- fails
the tests at each boot on erlite. This is usually indicative either
of memory corruption, or use of the RNG before it's initialized.
>How-To-Repeat:
Boot the ERLITE kernel. Observe:
init: copying out path `/sbin/init' 11
pid 1(init): ABI set to N32 (e_flags=0x20000027)
Kernel RNG "kernel" monobit test FAILURE: 10286 ones
cprng kernel: failed statistical RNG test
Kernel RNG "kernel" long run test FAILURE: Run of 26 0s found
cprng kernel: failed statistical RNG test
>Fix:
Unknown
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index