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

published October 22, 2018

CVSS
—
EPSS
3%
Percentile
85.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02612 · 85.3th percentile
Published
2018-10-22T16:00Z
EPSS history
Timeline
  • 22 OCT 16:00Z
    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
    cvelistv5