Vulnerabilities · 2018 · Linux
CVE-2018-18559
Linux Kernel vulnerability
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.
Affected products
Linux Kernel, Openshift Container Platform, Virtualization Host, Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Workstation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blogs.securiteam.com/index.php/archives/3731 · Exploit
- access.redhat.com/errata/RHBA-2019:0327 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:0163 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:0188 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1170 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:1190 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:3967 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:4159 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-18559
- cve.org/CVERecord?id=CVE-2018-18559
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.