VDB

CVE-2018-18559

CVE-2018-18559 PUBLISHED

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.

EPSS 1.35% · 80.5th percentile

Risk Scores

EPSS Score
1.35%
80.5th percentile

Affected Products

VendorProductVersions
Ubuntu:14.04:LTSlinux-lts-xenial4.4.0-78.99~14.04.2, 0, 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTSlinux-raspi24.2.0-1013.19, 4.4.0-1059.67, 4.4.0-1054.61
Ubuntu:22.04:LTSlinux-riscv0, 5.15.0-1008.8, 5.15.0-1011.12
Ubuntu:Pro:FIPS:16.04:LTSlinux-fips4.4.0-1005.5, 4.4.0-1006.6, 4.4.0-1003.3
Ubuntu:16.04:LTSlinux4.4.0-92.115, 0, 4.2.0-16.19
Ubuntu:20.04:LTSlinux-gke5.4.0-1057.60, 5.4.0-1063.66, 5.4.0-1061.64
Ubuntu:22.04:LTSlinux-intel-iot-realtime5.15.0-1073.75, 0
Ubuntu:20.04:LTSlinux-riscv5.4.0-36.41, 5.4.0-37.42, 5.4.0-39.44
Ubuntu:16.04:LTSlinux-snapdragon4.4.0-1084.89, 4.4.0-1054.58, 4.4.0-1076.81
Ubuntu:16.04:LTSlinux-gcp4.13.0-1006.9, 0, 4.13.0-1008.11
Ubuntu:16.04:LTSlinux-aws4.4.0-1017.26, 0, 4.4.0-1001.10
Ubuntu:14.04:LTSlinux-aws4.4.0-1011.11, 4.4.0-1002.2, 4.4.0-1006.6
Ubuntu:20.04:LTSlinux-azure-fde5.4.0-1063.66+cvm2.2, 5.4.0-1064.67+cvm1.1, 5.4.0-1068.71+cvm1.1
Ubuntu:22.04:LTSlinux-realtime0, 5.15.0-1032.35
Ubuntu:24.04:LTSlinux-raspi-realtime6.8.0-2019.20, 0
Ubuntu:20.04:LTSlinux-raspi25.3.0-1007.8, 0, 5.3.0-1015.17
Ubuntu:16.04:LTSlinux-azure4.13.0-1011.14, 4.13.0-1016.19, 4.13.0-1018.21
Ubuntu:16.04:LTSlinux-kvm4.4.0-1007.12, 4.4.0-1008.13, 4.4.0-1004.9
Ubuntu:16.04:LTSlinux-hwe0, 4.8.0-52.55~16.04.1, 4.8.0-53.56~16.04.1

Timeline

  • Oct 22, 2018 CVE Published
  • Apr 14, 2021 EPSS Score
  • Jun 23, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Oct 26, 2021 EPSS Score
  • Feb 4, 2022 EPSS Score
  • Feb 28, 2022 EPSS Score
  • May 2, 2022 EPSS Score
  • Jul 3, 2022 EPSS Score
  • Sep 5, 2022 EPSS Score
  • Nov 6, 2022 EPSS Score
  • Jan 8, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›