Re: [PATCH v4] random: fix crash on multiple early calls to add_bootloader_randomness()

From: Ivan T. Ivanov
Date: Mon Dec 06 2021 - 03:14:35 EST


On 12-03 16:39, Jason A. Donenfeld wrote:
> Date: Fri, 3 Dec 2021 16:39:55 +0100
> From: "Jason A. Donenfeld" <Jason@xxxxxxxxx>
> To: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
> Cc: Theodore Ts'o <tytso@xxxxxxx>, "Ivan T. Ivanov" <iivanov@xxxxxxx>, Ard
> Biesheuvel <ardb@xxxxxxxxxx>, linux-efi@xxxxxxxxxxxxxxx, LKML
> <linux-kernel@xxxxxxxxxxxxxxx>, hsinyi@xxxxxxxxxxxx
> Subject: Re: [PATCH v4] random: fix crash on multiple early calls to
> add_bootloader_randomness()
> Message-ID: <CAHmME9qGHo4n6QGxnE+O46pagOR0bA+9E8bi8ZLPAzMuMZpPwg@xxxxxxxxxxxxxx>
Tags: all linux me ring watch

Hi,

>
> Hi Dominik,
>
> Thanks for your analysis. Some more questions:
>

<snip>

> Also, if you have a nice way of reproducing this, please do tell - I'd
> like to give it a spin if possible.
>

Initial bug report could be found here [1]. Comments 14 and onward are
probably helpful. To reproduce the issue I have downloaded "assets"
from [2] and recreated test environment as found in autoinst-log.txt [3].
Search for qemu-img and qemu-system-aarch64 in the log above. Login
credentials for the images could be found by searching for "password"
in the same file.

Regards,
Ivan


[1] https://bugzilla.suse.com/show_bug.cgi?id=1184924
[2] https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=DVD&machine=aarch64&test=extra_tests_in_textmode&version=15.3
[3] https://openqa.opensuse.org/tests/2052459/logfile?filename=autoinst-log.txt