CVE-2018-18559
CVSS v3
8.1
HIGH
EPSS Score
2.6 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for Linux kernel.
Affected and fixed versions
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.
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
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.
Technical details
- Published
- 2018-10-22
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
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 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? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.