CVE-2018-18559

Public Exploit

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.

Category

8.1
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 1.21% Top 25%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2019:0188 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:0163 third party advisory vendor advisory
https://blogs.securiteam.com/index.php/archives/3731 exploit third party advisory patch
https://access.redhat.com/errata/RHBA-2019:0327 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:1170 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:1190 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:3967 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2019:4159 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2020:0174 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-18559?
CVE-2018-18559 has been scored as a high severity vulnerability.
How to fix CVE-2018-18559?
To fix CVE-2018-18559, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-18559 being actively exploited in the wild?
It is possible that CVE-2018-18559 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.