[Bug 1983359] [NEW] hwrng drivers missing in initrd.img

Launchpad Bug Tracker 1983359 at bugs.launchpad.net
Thu Aug 18 16:24:33 UTC 2022


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

The initialization of the entropy buffer of the urandom device is
critical for security.

When booting Jammy 22.04.1 on QEMU riscv64 I see the following warnings:

[   14.654546] random: lvm: uninitialized urandom read (4 bytes read)
[   15.247995] random: lvm: uninitialized urandom read (2 bytes read)
[   22.484719] random: lvm: uninitialized urandom read (4 bytes read)
[   43.161846] random: lvmconfig: uninitialized urandom read (4 bytes read)
[   48.862281] random: lvm: uninitialized urandom read (4 bytes read)

Module virtio-rng.ko is missing in initrd.img.
Adding virtio_rng to /etc/initramfs-tools/modules avoids the warnings.

Hardware RNG drivers should generally be included in the initrd to
provide early entropy.

Best regards

Heinrich

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: Fix Committed

** Affects: initramfs-tools (Ubuntu Jammy)
     Importance: Undecided
         Status: New


** Tags: fr-2588 iso-testing patch riscv64 rls-kk-incoming
-- 
hwrng drivers missing in initrd.img
https://bugs.launchpad.net/bugs/1983359
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.




More information about the Ubuntu-sponsors mailing list