SecurityContext

CVE-2018-18559: Linux Kernel - Use After Free

  • Cve: CVE-2018-18559
  • Name: Linux Kernel - Use After Free
  • 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.
  • Impact: Attackers can achieve program counter control, potentially leading to arbitrary code execution or system compromise.
  • Remediation: Update to a version later than 4.19.
  • Vulnerability type: use_after_free
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03028
  • Epss percentile: 0.87817
  • Assignee: [email protected]
  • Published at: 2018-10-22T16:29:00Z
  • Age in days: 2955
  • Modified at: 2026-06-17T01:47:30Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 9
  • Products total: 9
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18559
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

Public exploits

UrlSourceAdded date
https://blogs.securiteam.com/index.php/archives/3731nvd2018-10-22

References

Same in every row:

  • Source: nvd
UrlTags
https://blogs.securiteam.com/index.php/archives/3731Exploit, Patch, Third Party Advisory
https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0163Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0188Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1170Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1190Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3967Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
https://access.redhat.com/errata/RHSA-2020:0174Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
linux:linux_kernel>= 4.10, < 4.14.7; >= 4.5, < 4.9.70; >= 4.3.1, < 4.4.106; >= 4.2.7, < 4.3; >= 4.1.14, < 4.1.49; >= 3.18.25, < 3.18.88; >= 3.14.58, < 3.15; >= 3.2.95, < 3.2.100/v1/products/linux/linux_kernel
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.6/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_server_tus= 7.6/v1/products/redhat/enterprise_linux_server_tus
redhat:enterprise_linux_server_eus= 7.6/v1/products/redhat/enterprise_linux_server_eus
redhat:openshift_container_platform= 3.11/v1/products/redhat/openshift_container_platform
redhat:virtualization_host= 4.0/v1/products/redhat/virtualization_host

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-10-22
  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports