CVE-2018-18559
No exploitation reported by the sources we read.
- Published2018-10-22
- Fixed in4.14.7 · 4.9.70 · 4.4.106 · 4.3 · 4.1.49 · 3.18.88
- WeaknessCWE-362 · CWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2018-10-2216:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.x | ≥ 4.10, < 4.14.7 | 4.14.7 | NVD |
| 4.x | ≥ 4.5, < 4.9.70 | 4.9.70 | NVD |
| 4.x | ≥ 4.3.1, < 4.4.106 | 4.4.106 | NVD |
| 4.x | ≥ 4.2.7, < 4.3 | 4.3 | NVD |
| 4.1 | ≥ 4.1.14, < 4.1.49 | 4.1.49 | NVD |
| 3.18 | ≥ 3.18.25, < 3.18.88 | 3.18.88 | NVD |
| 3.x | ≥ 3.14.58, < 3.15 | 3.15 | NVD |
| 3.2 | ≥ 3.2.95, < 3.2.100 | 3.2.100 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
6 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- kernelRed Hat:rhel_tus:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 17 other packages
- kernelRed Hat:rhel_eus:7.5::serverall versions · fixed in 0:3.10.0-862.44.2.el7and 24 other packages
- kernelRed Hat:rhel_eus:7.5::computenodeall versions · fixed in 0:3.10.0-862.44.2.el7and 17 other packages
- kernelRed Hat:rhel_eus:7.4::serverall versions · fixed in 0:3.10.0-693.47.2.el7and 23 other packages
- kernelRed Hat:rhel_eus:7.4::computenodeall versions · fixed in 0:3.10.0-693.47.2.el7and 16 other packages
- kernelRed Hat:rhel_e4s:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 19 other packages
- kernelRed Hat:rhel_aus:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 17 other packages
- kernelRed Hat:enterprise_linux:7::workstationall versions · fixed in 0:3.10.0-957.5.1.el7and 18 other packages
23 more package ranges on OSV.dev
Vendor advisories
kernel: Use-after-free due to race condition in AF_PACKET implementation
Red Hat Security Advisory: kernel-alt security and bug fix update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel-rt security and bug fix update
Red Hat Security Advisory: kernel security and bug fix update
2 more advisories
Fix
- Update Linux linux kernel to 4.14.7 · 4.9.70 · 4.4.106 · 4.3 · 4.1.49 · 3.18.88 · 3.15 · 3.2.100
- Vendor fix Red Hat Product Security RHSA-2020:0174 · 25 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
Advisories and patches
- blogs.securiteam.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.18.1read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- NVDweakness (CWE)CWE-362, CWE-416read 2026-10-23
- FIRST EPSSEPSS score3.0 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-10279same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8w88-57v8-p48hsame flawGitHub Advisory Database · CC-BY-4.0
- RHSA-2019:0163advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:0188advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1170advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:1190advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:3967advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:4159advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:0174advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-10-22
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-8w88-57v8-p48h
Frequently asked questions
What is CVE-2018-18559?
Is CVE-2018-18559 actively exploited?
What is the CVSS score for CVE-2018-18559?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8w88-57v8-p48h
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0