CVE-2020-16166: Infoleak

Published Jul 29, 2020
·
Updated

A flaw was found in the Linux kernel. The generation of the device ID from the network RNG internal state is predictable. The highest threat from this vulnerability is to data confidentiality.

Other sources

A flaw was found in the way the Linux kernel derived the network RNG's internal state making the device ID predictable. Adding netrandstate (randomness) on interrupt and CPU activity makes speculation complicated by a remote observer.

This modifies the first 32 bits out of the 128 bits of a random CPU's netrandstate on interrupt or CPU activity to complicate remote observations that could lead to guessing the network RNG's internal state.

In addition, with NOHZ some CPUs might not even get timer interrupts, leaving their local state rarely updated, while they are running networked processes making use of the random state. For this reason, we also perform this update in updateprocesstimes() in order to at least update the state when there is user or system activity, since it's the only case we care about.

References: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f227e3ec3b5cad859ad15666874405e8c1bbc1d4 https://github.com/torvalds/linux/commit/f227e3ec3b5cad859ad15666874405e8c1bbc1d4

— Red Hat

The Linux kernel through 5.7.11 allows remote attackers to make observations that help to obtain sensitive information about the internal state of the network RNG, aka CID-f227e3ec3b5c. This is related to drivers/char/random.c and kernel/time/timer.c.

— Ubuntu

Affected Software

91 affected componentsFixes available
redhat/kernel-alt<0:4.14.0-115.32.1.el7a
0:4.14.0-115.32.1.el7a
redhat/kernel-rt<0:4.18.0-240.8.1.rt7.62.el8_3
0:4.18.0-240.8.1.rt7.62.el8_3
redhat/kernel<0:4.18.0-240.8.1.el8_3
0:4.18.0-240.8.1.el8_3
redhat/kernel<0:4.18.0-147.38.1.el8_1
0:4.18.0-147.38.1.el8_1
redhat/kernel-rt<0:4.18.0-193.37.1.rt13.87.el8_2
0:4.18.0-193.37.1.rt13.87.el8_2
redhat/kernel<0:4.18.0-193.37.1.el8_2
0:4.18.0-193.37.1.el8_2
Linux Linux kernel<=5.7.11
openSUSE Leap=15.1
openSUSE Leap=15.2
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
NetApp Active Iq Unified Manager Vmware Vsphere>=9.5
NetApp Cloud Volumes Ontap Mediator
NetApp E-Series SANtricity OS Controller>=11.0.0<=11.60.3
NetApp Hci Bootstrap Os
NetApp Hci Management Node
NetApp Solidfire
NetApp Steelstore Cloud Integrated Storage
NetApp Storagegrid<=9.0.4
NetApp H410c Firmware
NetApp H410c
Oracle SD-WAN Edge=8.2
All of the following
NetApp H410c Firmware
NetApp H410c
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
ubuntu/linux-azure<4.15.0-1096.106~14.04.1
4.15.0-1096.106~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1083.87~16.04.1
4.15.0-1083.87~16.04.1
ubuntu/linux-azure<4.15.0-1096.106~16.04.1
4.15.0-1096.106~16.04.1
ubuntu/linux-gcp<4.15.0-1084.95~16.04.1
4.15.0-1084.95~16.04.1
ubuntu/linux-hwe<4.15.0-118.119~16.04.1
4.15.0-118.119~16.04.1
ubuntu/linux-oracle<4.15.0-1054.58~16.04.1
4.15.0-1054.58~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-118.119
4.15.0-118.119
ubuntu/linux-aws<4.15.0-1083.87
4.15.0-1083.87
ubuntu/linux-aws-5.4<5.4.0-1025.25~18.04.1
5.4.0-1025.25~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1096.106
4.15.0-1096.106
ubuntu/linux-azure-5.4<5.4.0-1026.26~18.04.1
5.4.0-1026.26~18.04.1
ubuntu/linux-gcp-4.15<4.15.0-1084.95
4.15.0-1084.95
ubuntu/linux-gcp-5.4<5.4.0-1025.25~18.04.1
5.4.0-1025.25~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1070.73
4.15.0-1070.73
ubuntu/linux-hwe-5.4<5.4.0-48.52~18.04.1
5.4.0-48.52~18.04.1
ubuntu/linux-kvm<4.15.0-1075.76
4.15.0-1075.76
ubuntu/linux-oem<4.15.0-1097.107
4.15.0-1097.107
ubuntu/linux-oracle<4.15.0-1054.58
4.15.0-1054.58
ubuntu/linux-oracle-5.4<5.4.0-1025.25~18.04.1
5.4.0-1025.25~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1019.21~18.04.1
5.4.0-1019.21~18.04.1
ubuntu/linux-raspi2<4.15.0-1071.75
4.15.0-1071.75
ubuntu/linux-snapdragon<4.15.0-1087.95
4.15.0-1087.95
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2027.27
4.15.0-2027.27
ubuntu/linux-azure-fips<4.15.0-2009.10
4.15.0-2009.10
ubuntu/linux-fips<4.15.0-1041.46
4.15.0-1041.46
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-48.52
5.4.0-48.52
ubuntu/linux-aws<5.4.0-1025.25
5.4.0-1025.25
ubuntu/linux-azure<5.4.0-1026.26
5.4.0-1026.26
ubuntu/linux-gcp<5.4.0-1025.25
5.4.0-1025.25
ubuntu/linux-kvm<5.4.0-1024.24
5.4.0-1024.24
ubuntu/linux-oem-5.6<5.6.0-1031.32
5.6.0-1031.32
ubuntu/linux-oracle<5.4.0-1025.25
5.4.0-1025.25
ubuntu/linux-raspi<5.4.0-1019.21
5.4.0-1019.21
ubuntu/linux-riscv<5.4.0-34.38
5.4.0-34.38
ubuntu/linux-raspi2*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-alt to a version that resolves this vulnerability.

    Fixed in 0:4.14.0-115.32.1.el7a
  2. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.8.1.rt7.62.el8_3
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.8.1.el8_3
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-147.38.1.el8_1
  5. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.37.1.rt13.87.el8_2
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.37.1.el8_2
  7. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  8. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1096.106~14.04.1
  9. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1083.87~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1096.106~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1084.95~16.04.1
  12. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-118.119~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1054.58~16.04.1
  14. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-118.119
  15. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1083.87
  16. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25~18.04.1
  17. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1096.106
  18. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1026.26~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1084.95
  20. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1070.73
  22. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-48.52~18.04.1
  23. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1075.76
  24. Upgrade

    Upgrade ubuntu/linux-oem to a version that resolves this vulnerability.

    Fixed in 4.15.0-1097.107
  25. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1054.58
  26. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1019.21~18.04.1
  28. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1071.75
  29. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1087.95
  30. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2027.27
  31. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2009.10
  32. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1041.46
  33. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-48.52
  34. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25
  35. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1026.26
  36. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25
  37. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1024.24
  38. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1031.32
  39. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.25
  40. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1019.21
  41. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.4.0-34.38
  42. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  43. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  44. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  45. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch f227e3ec3b5cad859ad15666874405e8c1bbc1d4

Event History

Jul 29, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Event
12:00 AM
Jul 30, 2020
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·08:05 PM
Data Sourced
via MITRE·08:05 PM
Description
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:18 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:18 AM
Affected Software
Dec 15, 2023
Data Sourced
via Red Hat·06:41 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·05:06 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·02:57 AM
Affected Software
Oct 12, 2026
Updated
via Ubuntu·12:00 AM
Description
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2020-16166?

CVE-2020-16166 is classified as having a high severity level due to its potential impact on data confidentiality.

2

Which systems are affected by CVE-2020-16166?

CVE-2020-16166 affects multiple versions of the Linux kernel and various distributions including Red Hat, OpenSUSE, Fedora, and Debian.

3

How do I fix CVE-2020-16166?

To mitigate CVE-2020-16166, update to the latest patched versions of the affected Linux kernel packages as specified by your distribution.

4

How does CVE-2020-16166 impact data confidentiality?

CVE-2020-16166 can lead to predictable device IDs from the network RNG, posing a risk to data confidentiality.

5

What are the specific kernel versions that address CVE-2020-16166?

The fixed versions for the Linux kernel addressing CVE-2020-16166 include 4.14.0-115.32.1.el7a, 4.18.0-240.8.1.el8_3, among others, depending on the distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203