CVE-2018-18559
Description
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.
How to fix
- linux linux_kernel3.2.100, 3.15, 3.18.88, 4.1.49, 4.3, 4.4.106, 4.9.70, 4.14.7 or later
- access.redhat.com/errata/RHSA-2019:0188
- access.redhat.com/errata/RHSA-2019:0163
- access.redhat.com/errata/RHBA-2019:0327
- access.redhat.com/errata/RHSA-2019:1170
- access.redhat.com/errata/RHSA-2019:1190
- access.redhat.com/errata/RHSA-2019:3967
- access.redhat.com/errata/RHSA-2019:4159
- access.redhat.com/errata/RHSA-2020:0174
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 3.2.95 ≤ v < 3.2.100, 3.14.58 ≤ v < 3.15, 3.18.25 ≤ v < 3.18.88, 4.1.14 ≤ v < 4.1.49, 4.2.7 ≤ v < 4.3, 4.3.1 ≤ v < 4.4.106, 4.5 ≤ v < 4.9.70, 4.10 ≤ v < 4.14.7 | 3.2.100, 3.15, 3.18.88, 4.1.49, 4.3, 4.4.106, 4.9.70, 4.14.7 |
| redhat openshift_container_platform | 3.11 | — |
| redhat virtualization_host | 4.0 | — |
| redhat enterprise_linux_desktop | 7.0 | — |
| redhat enterprise_linux_server | 7.0 | — |
| redhat enterprise_linux_server_aus | 7.6 | — |
| redhat enterprise_linux_server_eus | 7.6 | — |
| redhat enterprise_linux_server_tus | 7.6 | — |
| redhat enterprise_linux_workstation | 7.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.