Activity log for bug #2106782

Date Who What changed Old value New value Message
2025-04-11 00:28:16 Ian Whitfield bug added bug
2025-04-14 16:23:48 Ian Whitfield description SRU Justification [Impact] GKE made an inquiry about the source of entropy for /dev/hwrng. Their public documentation (https://cloud.google.com/compute/docs/instances/enabling-virtio-rng) specifies that virtio_rng is the default, but they observed that the TPM's RNG is used instead on current GKE images. Besides aligning with their public docs, using virtio_rng means that the host is responsible for providing the most secure hardware entropy source, which is a better default than assuming that the most secure source on that particular machine is the TPM (or RDRAND instructions, etc). [Fix] Configure CONFIG_HW_RANDOM_VIRTIO=y for all targeted kernels. [Test Plan] Executing $ cat /sys/devices/virtual/misc/hw_random/rng_current Should return "virtio_rng.0" [Regression potential] There should be a very low chance of regression. Hardware RNG entropy sources in theory are identical in behavior, and the test plan above can determine what the active source of entropy is. SRU Justification [Impact] GKE made an inquiry about the source of entropy for /dev/hwrng. Their public documentation (https://cloud.google.com/compute/docs/instances/enabling-virtio-rng) specifies that virtio_rng is the default, but they observed that the TPM's RNG is used instead on current GKE images. Besides aligning with their public docs, using virtio_rng means that the host is responsible for providing the most secure hardware entropy source, which is a better default than assuming that the most secure source on that particular machine is the TPM (or RDRAND instructions, etc). [Fix] Configure CONFIG_HW_RANDOM_VIRTIO=y for all targeted kernels. [Test Plan] Executing $ cat /sys/devices/virtual/misc/hw_random/rng_current Should return "virtio_rng.0" [Regression potential] There should be a very low chance of regression. Hardware RNG entropy sources in theory are identical in behavior, and the test plan above can determine what the active source of entropy is. [Other] PIT: 400861474 SF: 00409265
2025-04-17 09:36:15 Edoardo Canepa linux-gke (Ubuntu): importance Undecided Low
2025-04-17 13:43:15 Edoardo Canepa linux-gke (Ubuntu): status New Confirmed
2025-04-17 13:43:21 Edoardo Canepa linux-gke (Ubuntu): importance Low Medium
2025-04-17 13:56:54 Edoardo Canepa linux-gke (Ubuntu): assignee Ian Whitfield (ijwhitfield)
2025-05-06 15:39:29 Ian Whitfield linux-gke (Ubuntu): status Confirmed Won't Fix