CVEvulnerability
CVE-2018-18559
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-10-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-362, CWE-416
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.
Affected configurations
• linux linux kernel (>= 3.2.95 < 3.2.100)
• linux linux kernel (>= 3.14.58 < 3.15)
• linux linux kernel (>= 3.18.25 < 3.18.88)
• linux linux kernel (>= 4.1.14 < 4.1.49)
• 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)
• linux linux kernel (>= 4.10 < 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
Related
References
- 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
- 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