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://access.redhat.com/errata/RHBA-2019:0327 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:0163 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:0188 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:1170 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:1190 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:3967 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2019:4159 | Third Party Advisory |
https://access.redhat.com/errata/RHSA-2020:0174 | Third Party Advisory |
https://blogs.securiteam.com/index.php/archives/3731 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2018-10-22T16:00:00
Updated: 2020-01-21T19:06:15
Reserved: 2018-10-22T00:00:00
Link: CVE-2018-18559
JSON object: View
NVD Information
Status : Analyzed
Published: 2018-10-22T16:29:00.360
Modified: 2023-05-16T11:14:50.353
Link: CVE-2018-18559
JSON object: View
Redhat Information
No data.