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.

Published : 2018-10-22 16:29 Updated : 2019-05-14 23:29

6.8
CVSS Score More info
Score 6.8 / 10
6.8
Vendor Product Version URI
Redhat Enterprise Linux Desktop 7.0 cpe:/o:redhat:enterprise_linux_desktop:7.0
Redhat Enterprise Linux Server 7.0 cpe:/o:redhat:enterprise_linux_server:7.0
Redhat Enterprise Linux Server Aus 7.6 cpe:/o:redhat:enterprise_linux_server_aus:7.6
Redhat Enterprise Linux Server Eus 7.6 cpe:/o:redhat:enterprise_linux_server_eus:7.6
Redhat Enterprise Linux Server Tus 7.6 cpe:/o:redhat:enterprise_linux_server_tus:7.6
Redhat Enterprise Linux Workstation 7.0 cpe:/o:redhat:enterprise_linux_workstation:7.0
Redhat Openshift Container Platform 3.11 cpe:/a:redhat:openshift_container_platform:3.11
Redhat Virtualization Host 4.0 cpe:/a:redhat:virtualization_host:4.0
Linux Linux Kernel 4.19 cpe:/o:linux:linux_kernel:4.19
  1. Redhat (8) Search CVE
    1. Enterprise Linux Server Tus (1) Search CVE
      1. 7.6
    2. Openshift Container Platform (1) Search CVE
      1. 3.11
    3. Virtualization Host (1) Search CVE
      1. 4.0
    4. Enterprise Linux Server Aus (1) Search CVE
      1. 7.6
    5. Enterprise Linux Server (1) Search CVE
      1. 7.0
    6. Enterprise Linux Desktop (1) Search CVE
      1. 7.0
    7. Enterprise Linux Server Eus (1) Search CVE
      1. 7.6
    8. Enterprise Linux Workstation (1) Search CVE
      1. 7.0
  2. Linux (1) Search CVE
    1. Linux Kernel (1) Search CVE
      1. 4.19

CWE

ID Name Description Links
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') The program contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. CVE
CWE-416 Use After Free Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. CVE

History of changes

Date Event
2019-05-14 23:29
2019-04-25 13:41
2019-04-24 06:29
2019-03-08 19:33
2019-01-30 15:29
2018-12-06 14:08
2018-10-22 16:29

New CVE