[Bug 1983359] Re: hwrng drivers missing in initrd.img
Steve Langasek
1983359 at bugs.launchpad.net
Tue May 30 20:03:25 UTC 2023
** Tags removed: rls-kk-incoming
** Also affects: initramfs-tools (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Changed in: initramfs-tools (Ubuntu Kinetic)
Status: New => Fix Released
** Description changed:
- The initialization of the entropy buffer of the urandom device is
- critical for security.
+ [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
--
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:
New
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