Vulnerability database / CVE-2018-18559
CVE-2018-18559
HIGH 8.1 CVSS 3.1 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 22 Oct 2018
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-362 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.2.95, < 3.2.100
3.2.100 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.14.58, < 3.15
3.15 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.18.25, < 3.18.88
3.18.88 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.1.14, < 4.1.49
4.1.49 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.2.7, < 4.3
4.3 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.3.1, < 4.4.106
4.4.106 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.5, < 4.9.70
4.9.70 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.10, < 4.14.7
4.14.7 NVD
redhat
openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
= 3.11
NVD
redhat
virtualization_hostcpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*
= 4.0
NVD
redhat
enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD
redhat
enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD
redhat
enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
= 7.6
NVD
redhat
enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
= 7.6
NVD
redhat
enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
= 7.6
NVD
redhat
enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
References
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 22 Oct 2018)