CVE-2018-18559: linux linux_kernel
Vulnerability summary
CVE-2018-18559 is a high (CVSS 8.1) vulnerability in linux linux_kernel. EPSS estimates a 2.61% chance of exploitation in the next 30 days, higher than 85.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6Timeline
- 22-10-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
2.61%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.61% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (blogs.securiteam.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat25 products
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
- enterprise_linux_server_eus7.6
- enterprise_linux_server_tus7.6
Ubuntu16 products
- linux< 4.4.0-119.143
- linux-aws< 4.4.0-1016.16 | < 4.4.0-1054.63
- linux-azure< 4.15.0-1013.13~16.04.2
- linux-azure-fdeAll versions (No fix recorded)
- linux-fips< 4.4.0-1008.10
Debian1 product
- linux< 4.14.7-1
Linux1 product
- linux_kernel≥ 3.2.95, < 3.2.100 | ≥ 3.14.58, < 3.15 | ≥ 3.18.25, < 3.18.88 | ≥ 4.1.14, < 4.1.49 | ≥ 4.2.7, < 4.3 | ≥ 4.3.1, < 4.4.106 | ≥ 4.5, < 4.9.70 | ≥ 4.10, < 4.14.7
4 vendors · 43 products
References
17 links- access.redhat.com/errata/RHSA-2019:0188Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- blogs.securiteam.com/index.php/archives/3731X Refsource MISCExploitPatchThird Party AdvisoryARTICLEREPORT