Skip to main content
HIGH

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.

Set up CVE WatchFree account · no credit card

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

  • CVE-2018-18559 Red Hat Product Security547 products fixed

    kernel: Use-after-free due to race condition in AF_PACKET implementation

  • RHSA-2020:0174 Red Hat Product Security25 products fixed

    Red Hat Security Advisory: kernel-alt security and bug fix update

  • RHSA-2019:4159 Red Hat Product Security98 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2019:3967 Red Hat Product Security111 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2019:1190 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: kernel-rt security and bug fix update

  • RHSA-2019:1170 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

2 more advisories

Full record on NVD

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?

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.

Is CVE-2018-18559 actively exploited?

Active exploitation of CVE-2018-18559 has not been confirmed. Its EPSS score was 2.6% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-18559?

CVE-2018-18559 has a CVSS v3 base score of 8.1 (HIGH severity).

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