VDB

CVE-2018-18559

CVE-2018-18559 PUBLISHED

Reported by mitre · Published October 22, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-lts-xenialUbuntu:14.04:LTS4.4.0-119.143~14.04.1
linux-raspi2Ubuntu:16.04:LTS4.4.0-1086.94
linux-fipsUbuntu:Pro:FIPS:16.04:LTS4.4.0-1008.10
linuxUbuntu:16.04:LTS4.4.0-119.143
linux_kernellinux4.14.7, 4.9.70, 4.4.106, 4.3, 4.1.49, 3.18.88, 3.15, 3.2.100
linux-snapdragonUbuntu:16.04:LTS4.4.0-1088.93
linux-gcpUbuntu:16.04:LTS4.15.0-1014.14~16.04.1
linux-awsUbuntu:16.04:LTS4.4.0-1054.63
linux-awsUbuntu:14.04:LTS4.4.0-1016.16

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Oct 22, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Oct 8, 2025 PoC Published
  • Apr 7, 2026 Distribution Patch (21 in total, the first dated here)
  • Apr 7, 2026 Security Advisory (23 in total, the first dated here)
  • Sep 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-18559
vulnetix vdb fixes CVE-2018-18559

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18559/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›