Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2018-18559Published 10/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.

Vendor advisory
CVSS8.1High

Overview

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.

Published
10/22/2018
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.2.95, < 3.2.100

Verify advisory

Source
linux kernel
linux
≥ 3.14.58, < 3.15

Verify advisory

Source
linux kernel
linux
≥ 3.18.25, < 3.18.88

Verify advisory

Source
linux kernel
linux
≥ 4.1.14, < 4.1.49

Verify advisory

Source
linux kernel
linux
≥ 4.2.7, < 4.3

Verify advisory

Source
linux kernel
linux
≥ 4.3.1, < 4.4.106

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.70

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.7

Verify advisory

Source
openshift container platform
redhat
3.11

Verify advisory

Source
virtualization host
redhat
4.0

Verify advisory

Source
enterprise linux desktop
redhat
7.0

Verify advisory

Source
enterprise linux server
redhat
7.0

Verify advisory

Source
enterprise linux server aus
redhat
7.6

Verify advisory

Source
enterprise linux server eus
redhat
7.6

Verify advisory

Source
enterprise linux server tus
redhat
7.6

Verify advisory

Source
enterprise linux workstation
redhat
7.0

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.