Use After Free in Linux Kernel
CVE-2018-18559
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.026 (85.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: 0.000
Affected products
- Linux Kernel
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
- Red Hat Enterprise Linux Workstation — versions 7.0
- Red Hat Openshift Container Platform — versions 3.11
- Red Hat Virtualization Host — versions 4.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2019:0188 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:0163 (vendor-advisory, Third Party Advisory)
- blogs.securiteam.com/index.php/archives/3731 (Exploit, Patch, Third Party Advisory)
- access.redhat.com/errata/RHBA-2019:0327 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:1170 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:1190 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:3967 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:4159 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2020:0174 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-18559?
- CVE-2018-18559 is a high-severity vulnerability in Linux Kernel, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 8.1/10. Published 2018-10-22.
- How severe is CVE-2018-18559?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2018-18559 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.