CVE-2018-18559

HIGHCVSS 8.1/10EPSS 2.61%

Last modified

CVE-2018-18559 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 2.61% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
2.61%

83.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 3.2.95, < 3.2.100
LinuxLinux Kernel>= 3.14.58, < 3.15
LinuxLinux Kernel>= 3.18.25, < 3.18.88
LinuxLinux Kernel>= 4.1.14, < 4.1.49
LinuxLinux Kernel>= 4.2.7, < 4.3
LinuxLinux Kernel>= 4.3.1, < 4.4.106
LinuxLinux Kernel>= 4.5, < 4.9.70
LinuxLinux Kernel>= 4.10, < 4.14.7
RedhatOpenshift Container Platform3.11
RedhatVirtualization Host4.0
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Aus7.6
RedhatEnterprise Linux Server Eus7.6
RedhatEnterprise Linux Server Tus7.6
RedhatEnterprise Linux Workstation7.0

References

Timeline

Published
Last Modified
Status
Modified

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.
How severe is CVE-2018-18559?
CVE-2018-18559 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 2.61% probability of exploitation in the next 30 days.
How do I fix CVE-2018-18559?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-18559?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST