[Bug 1983359] Re: hwrng drivers missing in initrd.img
Steve Langasek
1983359 at bugs.launchpad.net
Mon Jun 5 18:22:04 UTC 2023
This needs the bug description completed according to
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template ("Where
problems could occur") before it can be sponsored.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1983359
Title:
hwrng drivers missing in initrd.img
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Jammy:
Incomplete
Status in initramfs-tools source package in Kinetic:
Fix Released
Bug description:
[Impact]
The initialization of the entropy buffer of the urandom device is critical for security.
[Test case]
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1983359/+subscriptions
More information about the foundations-bugs
mailing list