Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-22 Thread Michael S. Tsirkin
On Fri, Sep 17, 2021 at 02:57:02PM +0200, Laurent Vivier wrote: > On 17/09/2021 00:58, Michael S. Tsirkin wrote: > > On Thu, Sep 16, 2021 at 10:52:59AM +0200, Laurent Vivier wrote: > > > On 13/09/2021 10:25, Alexander Potapenko wrote: > > > > Hi Laurent, > > > > > > > > I took the latest kernel

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-17 Thread Laurent Vivier
On 17/09/2021 00:58, Michael S. Tsirkin wrote: On Thu, Sep 16, 2021 at 10:52:59AM +0200, Laurent Vivier wrote: On 13/09/2021 10:25, Alexander Potapenko wrote: Hi Laurent, I took the latest kernel (5.15-rc1, 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f) and a slightly modified config from syzbot

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-16 Thread Michael S. Tsirkin
On Thu, Sep 16, 2021 at 10:52:59AM +0200, Laurent Vivier wrote: > On 13/09/2021 10:25, Alexander Potapenko wrote: > > Hi Laurent, > > > > I took the latest kernel (5.15-rc1, > > 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f) and a slightly modified > > config from syzbot (see attached) > > The latter

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-16 Thread Laurent Vivier
On 13/09/2021 10:25, Alexander Potapenko wrote: Hi Laurent, I took the latest kernel (5.15-rc1, 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f) and a slightly modified config from syzbot (see attached) The latter has a lot of unnecessary debug checks, but those should not affect the RNG. You then

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-13 Thread Laurent Vivier
Hi Alexander, On 12/09/2021 19:05, Alexander Potapenko wrote: > Hi Laurent, > > Do you by any chance have an update on this? I'm sorry I didn't have the time until now. I try today. Could you give more details how to reproduce this? (kernel version, .config, tools to run?) Thanks, Laurent >

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-09-12 Thread Alexander Potapenko via Virtualization
Hi Laurent, Do you by any chance have an update on this? Thanks, Alex On Fri, Aug 20, 2021 at 6:15 PM Laurent Vivier wrote: > > On 19/08/2021 22:58, Michael S. Tsirkin wrote: > > On Fri, Nov 13, 2020 at 06:26:16PM +0100, Alexander Potapenko wrote: > >> Hi Amos, Rusty, Amit, Michael, > >> > >>

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-08-20 Thread Laurent Vivier
On 19/08/2021 22:58, Michael S. Tsirkin wrote: > On Fri, Nov 13, 2020 at 06:26:16PM +0100, Alexander Potapenko wrote: >> Hi Amos, Rusty, Amit, Michael, >> >> I am hitting something that I believe to be a minor problem in the >> virtio RNG driver. >> When running the kernel under KMSAN with

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-08-19 Thread Michael S. Tsirkin
On Fri, Nov 13, 2020 at 06:26:16PM +0100, Alexander Potapenko wrote: > Hi Amos, Rusty, Amit, Michael, > > I am hitting something that I believe to be a minor problem in the > virtio RNG driver. > When running the kernel under KMSAN with "-device virtio-rng-pci" > passed to QEMU, I am seeing

Re: Use of uninitialized memory with CONFIG_HW_RANDOM_VIRTIO

2021-07-23 Thread Alexander Potapenko via Virtualization
This might have fallen through the cracks. Any opinions? On Fri, Nov 13, 2020 at 6:26 PM Alexander Potapenko wrote: > > Hi Amos, Rusty, Amit, Michael, > > I am hitting something that I believe to be a minor problem in the > virtio RNG driver. > When running the kernel under KMSAN with "-device