kernel: Use-after-free due to race condition in AF_PACKET implementation
Published Oct 22, 2018
8.1
HIGHCVSS 3.1
EPSS 2.61%
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 products
No data.
Configuration 1
- ≥ 3.2.95 · < 3.2.100
- ≥ 3.14.58 · < 3.15
- ≥ 3.18.25 · < 3.18.88
- ≥ 4.1.14 · < 4.1.49
- ≥ 4.2.7 · < 4.3
- ≥ 4.3.1 · < 4.4.106
- ≥ 4.5 · < 4.9.70
- ≥ 4.10 · < 4.14.7
Configuration 2
- 3.11
- 4.0
- 7.0
- 7.0
- 7.6
- 7.6
- 7.6
- 7.0
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-957.5.1.el7
Fixed · RHSA-2019:0163
Red Hat Enterprise Linux 7
kernel-alt-0:4.14.0-115.17.1.el7a
Fixed · RHSA-2020:0174
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-957.5.1.rt56.916.el7
Fixed · RHSA-2019:0188
Red Hat Enterprise Linux 7.3 Advanced Update Support
kernel-0:3.10.0-514.71.1.el7
Fixed · RHSA-2019:4159
Red Hat Enterprise Linux 7.3 Telco Extended Update Support
kernel-0:3.10.0-514.71.1.el7
Fixed · RHSA-2019:4159
Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions
kernel-0:3.10.0-514.71.1.el7
Fixed · RHSA-2019:4159
Red Hat Enterprise Linux 7.4 Extended Update Support
kernel-0:3.10.0-693.47.2.el7
Fixed · RHSA-2019:1170
Red Hat Enterprise Linux 7.5 Extended Update Support
kernel-0:3.10.0-862.44.2.el7
Fixed · RHSA-2019:3967
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.47.2.rt56.641.el6rt
Fixed · RHSA-2019:1190
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-957.5.1.el7 | Fixed | RHSA-2019:0163 |
| Red Hat Enterprise Linux 7 | kernel-alt-0:4.14.0-115.17.1.el7a | Fixed | RHSA-2020:0174 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-957.5.1.rt56.916.el7 | Fixed | RHSA-2019:0188 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | kernel-0:3.10.0-514.71.1.el7 | Fixed | RHSA-2019:4159 |
| Red Hat Enterprise Linux 7.3 Telco Extended Update Support | kernel-0:3.10.0-514.71.1.el7 | Fixed | RHSA-2019:4159 |
| Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions | kernel-0:3.10.0-514.71.1.el7 | Fixed | RHSA-2019:4159 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | kernel-0:3.10.0-693.47.2.el7 | Fixed | RHSA-2019:1170 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | kernel-0:3.10.0-862.44.2.el7 | Fixed | RHSA-2019:3967 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.47.2.rt56.641.el6rt | Fixed | RHSA-2019:1190 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.61% (0.02612) | 84.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.61% (0.02612) | 83.36th | v5 (v2026.06.15) |
| Mar 6, 2026 | 0.84% (0.00836) | 74.37th | v4 (v2025.03.14) |
| Nov 18, 2025 | 1.93% (0.01930) | 81.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.91% (0.00911) | 74.19th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.84% (0.00841) | 82.81th | v3 (v2023.03.01) |
| Jun 10, 2024 | 1.19% (0.01190) | 85.11th | v3 (v2023.03.01) |
| Mar 14, 2024 | 1.41% (0.01408) | 86.15th | v3 (v2023.03.01) |
| Oct 16, 2023 | 1.26% (0.01262) | 84.10th | v3 (v2023.03.01) |
| Sep 3, 2023 | 1.22% (0.01219) | 83.62th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.29% (0.01287) | 83.66th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.07% (0.02069) | 50.36th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.07% (0.02069) | 0.00th | v1 |
References (13)
- https://access.redhat.com/errata/RHBA-2019:0327 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0163 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0188 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1170 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1190 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3967 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0174 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-18559 Vendor Advisory
- https://blogs.securiteam.com/index.php/archives/3731 x_refsource_MISCExploitPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1641878 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-18559
- https://www.cve.org/CVERecord?id=CVE-2018-18559
Change history (0)
No recorded changes yet.