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.
References
Link | Resource |
---|---|
https://blogs.securiteam.com/index.php/archives/3731 | Exploit Patch Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:0188 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:0163 | Third Party Advisory |
https://access.redhat.com/errata/RHBA-2019:0327 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:1170 | |
https://access.redhat.com/errata/RHSA-2019:1190 | |
https://access.redhat.com/errata/RHSA-2019:3967 | |
https://access.redhat.com/errata/RHSA-2019:4159 | |
https://access.redhat.com/errata/RHSA-2020:0174 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Information
Published : 2018-10-22 09:29
Updated : 2019-05-14 16:29
NVD link : CVE-2018-18559
Mitre link : CVE-2018-18559
JSON object : View
CWE
Products Affected
redhat
- enterprise_linux_desktop
- enterprise_linux_server_aus
- enterprise_linux_workstation
- openshift_container_platform
- enterprise_linux_server_tus
- enterprise_linux_server_eus
- virtualization_host
- enterprise_linux_server
linux
- linux_kernel