CVE-2018-18559Linux Kernel
High 8.1 No auth needed
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Linux Kernel.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 3.2.95 < 3.2.100 |
| linux | linux_kernel | ≥ 3.14.58 < 3.15 |
| linux | linux_kernel | ≥ 3.18.25 < 3.18.88 |
| linux | linux_kernel | ≥ 4.1.14 < 4.1.49 |
| linux | linux_kernel | ≥ 4.2.7 < 4.3 |
| linux | linux_kernel | ≥ 4.3.1 < 4.4.106 |
| linux | linux_kernel | ≥ 4.5 < 4.9.70 |
| linux | linux_kernel | ≥ 4.10 < 4.14.7 |
| redhat | openshift_container_platform | 3.11 |
| redhat | virtualization_host | 4.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_eus | 7.6 |
| redhat | enterprise_linux_server_tus | 7.6 |
| redhat | enterprise_linux_workstation | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- blogs.securiteam.com Exploit Patch Third Party Advisory