Live threats

All CVEs / Linux

CVE-2018-18559Linux Kernel

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 22, 2018
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-362, CWE-416
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packet_do_bind unregister action followed by a packet_notifier register action. Later, packet_release operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 3.2.95 < 3.2.100
linuxlinux_kernel≥ 3.14.58 < 3.15
linuxlinux_kernel≥ 3.18.25 < 3.18.88
linuxlinux_kernel≥ 4.1.14 < 4.1.49
linuxlinux_kernel≥ 4.2.7 < 4.3
linuxlinux_kernel≥ 4.3.1 < 4.4.106
linuxlinux_kernel≥ 4.5 < 4.9.70
linuxlinux_kernel≥ 4.10 < 4.14.7
redhatopenshift_container_platform3.11
redhatvirtualization_host4.0
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.6
redhatenterprise_linux_server_eus7.6
redhatenterprise_linux_server_tus7.6
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.