FlawAtlas
Search the atlas
UBUNTU-CVE-2019-10639 High

UBUNTU-CVE-2019-10639

The Linux kernel 4.x (starting from 4.1) and 5.x before 5.0.8 allows Information Exposure (partial kernel address disclosure), leading to a KASLR bypass. Specifically, it is possible to extract the KASLR kernel image offset using the IP ID values the kernel produces for connection-less protocols (e.g., UDP and ICMP). When such traffic is sent to multiple destination IP addresses, it is possible to obtain hash collisions (of indices to the counter array) and thereby obtain the hashing key (via enumeration). This key contains enough bits from a kernel address (of a static variable) so when the key is extracted (via enumeration), the offset of the kernel image is exposed. This attack can be carried out remotely, by the attacker forcing the target device to send UDP or ICMP (or certain other) traffic to attacker-controlled IP addresses. Forcing a server to send UDP traffic is trivial if the server is a DNS server. ICMP traffic is trivial if the server answers ICMP Echo requests (ping). For client targets, if the target visits the attacker's web page, then WebRTC or gQUIC can be used to force UDP traffic to attacker-controlled IP addresses. NOTE: this attack against KASLR became viable in 4.1 because IP ID generation was changed to have a dependency on an address associated with a network namespace.

Exploit probability Not scored
Published July 5, 2019
Required by Not available
Last source change August 18, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:16.04:LTS linux-snapdragon

61 explicit affected versions

Ubuntu:18.04:LTS linux-oem

24 explicit affected versions

Ubuntu:Pro:14.04:LTS linux

191 explicit affected versions

Ubuntu:18.04:LTS linux-aws

29 explicit affected versions

Ubuntu:18.04:LTS linux-oracle

11 explicit affected versions

Ubuntu:Pro:FIPS-updates:18.04:LTS linux-azure-fips

1 explicit affected versions

Ubuntu:18.04:LTS linux

34 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-gcp-fips

1 explicit affected versions

Ubuntu:24.04:LTS linux-raspi-realtime

1 explicit affected versions

Ubuntu:20.04:LTS linux-riscv

12 explicit affected versions

Ubuntu:22.04:LTS linux-intel-iot-realtime

1 explicit affected versions

Ubuntu:16.04:LTS linux-kvm

29 explicit affected versions

Ubuntu:18.04:LTS linux-hwe-edge

1 explicit affected versions

Ubuntu:16.04:LTS linux-oracle

11 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-aws

34 explicit affected versions

Ubuntu:18.04:LTS linux-snapdragon

10 explicit affected versions

Ubuntu:18.04:LTS linux-kvm

28 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-azure-fips

1 explicit affected versions

Ubuntu:18.04:LTS linux-gke-4.15

7 explicit affected versions

Ubuntu:22.04:LTS linux-riscv

23 explicit affected versions

Ubuntu:Nvidia-BlueField:24.04:LTS linux-bluefield

11 explicit affected versions

Ubuntu:16.04:LTS linux-raspi2

63 explicit affected versions

Ubuntu:18.04:LTS linux-raspi2

30 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

35 explicit affected versions

Ubuntu:16.04:LTS linux

91 explicit affected versions

Ubuntu:20.04:LTS linux-gke

51 explicit affected versions

Ubuntu:16.04:LTS linux-azure

42 explicit affected versions

Ubuntu:Pro:FIPS:18.04:LTS linux-aws-fips

1 explicit affected versions

Ubuntu:Pro:FIPS-updates:18.04:LTS linux-aws-fips

1 explicit affected versions

Ubuntu:16.04:LTS linux-aws

50 explicit affected versions

Ubuntu:16.04:LTS linux-aws-hwe

12 explicit affected versions

Ubuntu:18.04:LTS linux-azure

30 explicit affected versions

Ubuntu:20.04:LTS linux-azure-fde

26 explicit affected versions

Ubuntu:18.04:LTS linux-gcp

27 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-lts-xenial

75 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

55 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS linux-fips

5 explicit affected versions

Ubuntu:Pro:14.04:LTS linux-azure

21 explicit affected versions

Ubuntu:18.04:LTS linux-hwe

11 explicit affected versions

Ubuntu:22.04:LTS linux-realtime

1 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2019-10639

The Linux kernel 4.x (starting from 4.1) and 5.x before 5.0.8 allows Information Exposure (partial kernel address disclosure), leading to a KASLR bypass. Specifically, it is possible to extract the KASLR kernel image offset using the IP ID values the kernel produces for connection-less protocols (e.g., UDP and ICMP). When such traffic is sent to multiple destination IP addresses, it is possible to obtain hash collisions (of indices to the counter array) and thereby obtain the hashing key (via enumeration). This key contains enough bits from a kernel address (of a static variable) so when the key is extracted (via enumeration), the offset of the kernel image is exposed. This attack can be carried out remotely, by the attacker forcing the target device to send UDP or ICMP (or certain other) traffic to attacker-controlled IP addresses. Forcing a server to send UDP traffic is trivial if the server is a DNS server. ICMP traffic is trivial if the server answers ICMP Echo requests (ping). For client targets, if the target visits the attacker's web page, then WebRTC or gQUIC can be used to force UDP traffic to attacker-controlled IP addresses. NOTE: this attack against KASLR became viable in 4.1 because IP ID generation was changed to have a dependency on an address associated with a network namespace.

View original source

05 / REFERENCES

Further evidence