imPC@ndo IT

Tracker / CVE-2018-18559

CVE-2018-18559

High 8.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.

Affected products and versions

linux linux_kernel · 3.14.58 → 3.15
linux linux_kernel · 3.18.25 → 3.18.88
linux linux_kernel · 3.2.95 → 3.2.100
linux linux_kernel · 4.1.14 → 4.1.49
linux linux_kernel · 4.10 → 4.14.7
linux linux_kernel · 4.2.7 → 4.3
linux linux_kernel · 4.3.1 → 4.4.106
linux linux_kernel · 4.5 → 4.9.70
redhat enterprise_linux_desktop
redhat enterprise_linux_server
redhat enterprise_linux_server_aus
redhat enterprise_linux_server_eus
redhat enterprise_linux_server_tus
redhat enterprise_linux_workstation
redhat openshift_container_platform
redhat virtualization_host

Analysis

This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.

References