kernel: race condition in smp_task_timedout() and smp_task_done() in drivers/scsi/libsas/sas_expander.c leads to use-after-free
Published May 7, 2019
8.1
HIGHCVSS 3.1
EPSS 5.09%
Description
An issue was discovered in the Linux kernel before 4.20. There is a race condition in smp_task_timedout() and smp_task_done() in drivers/scsi/libsas/sas_expander.c, leading to a use-after-free.
Affected products
No data.
Configuration 1
- < 3.16.72
- ≥ 3.17 · < 3.18.140
- ≥ 3.19 · < 4.4.180
- ≥ 4.5 · < 4.9.175
- ≥ 4.10 · < 4.14.118
- ≥ 4.15 · < 4.19.42
Configuration 2
- 16.04
Configuration 3
- 8.0
- 9.0
- 10.0
Configuration 4
- 5.0.0
- 5.1.0
Configuration 5
- ≥ 9.5
- n/a
- n/a
- n/a
- n/a
- ≥ 7.2
- ≥ 7.2
- n/a
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-1160.el7
Fixed · RHSA-2020:4060
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-1160.rt56.1131.el7
Fixed · RHSA-2020:4062
Red Hat Enterprise Linux 7.6 Extended Update Support
kernel-0:3.10.0-957.65.1.el7
Fixed · RHSA-2020:5656
Red Hat Enterprise Linux 7.7 Extended Update Support
kernel-0:3.10.0-1062.43.1.el7
Fixed · RHSA-2021:0019
Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUS
kernel-0:3.10.0-957.65.1.el7
Fixed · RHSA-2020:5656
Red Hat Enterprise Linux 5
kernel
Will not fix
Red Hat Enterprise Linux 6
kernel
Will not fix
Red Hat Enterprise Linux 7
kernel-alt
Will not fix
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-1160.el7 | Fixed | RHSA-2020:4060 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-1160.rt56.1131.el7 | Fixed | RHSA-2020:4062 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | kernel-0:3.10.0-957.65.1.el7 | Fixed | RHSA-2020:5656 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | kernel-0:3.10.0-1062.43.1.el7 | Fixed | RHSA-2021:0019 |
| Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUS | kernel-0:3.10.0-957.65.1.el7 | Fixed | RHSA-2020:5656 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Out of support scope | 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
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:C/I:C/A:C
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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.09% (0.05088) | 92.09th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.11% (0.05111) | 91.26th | v5 (v2026.06.15) |
| Nov 21, 2025 | 3.96% (0.03963) | 87.88th | v4 (v2025.03.14) |
| Nov 18, 2025 | 10.82% (0.10817) | 92.63th | v4 (v2025.03.14) |
| Oct 28, 2025 | 3.96% (0.03963) | 87.84th | v4 (v2025.03.14) |
| Aug 30, 2025 | 1.99% (0.01990) | 82.88th | v4 (v2025.03.14) |
| Aug 16, 2025 | 3.90% (0.03904) | 87.83th | v4 (v2025.03.14) |
| Jul 30, 2025 | 5.15% (0.05148) | 89.47th | v4 (v2025.03.14) |
| Jul 9, 2025 | 3.86% (0.03858) | 87.71th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.11% (0.01106) | 76.59th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.77% (0.00769) | 81.94th | v3 (v2023.03.01) |
| Apr 30, 2024 | 1.02% (0.01016) | 83.54th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.82% (0.00820) | 81.29th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.82% (0.00820) | 79.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.71% (0.04714) | 89.20th | v2 (v2022.01.01) |
| Feb 22, 2023 | 4.71% (0.04714) | 89.00th | v2 (v2022.01.01) |
| Dec 29, 2022 | 47.62% (0.47620) | 98.54th | v2 (v2022.01.01) |
| Nov 3, 2022 | 4.71% (0.04714) | 88.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.08% (0.03080) | 65.20th | v1 |
| Jan 6, 2022 | 3.08% (0.03080) | 64.86th | v1 |
| Sep 1, 2021 | 3.08% (0.03080) | 81.27th | v1 |
| Apr 14, 2021 | 3.08% (0.03080) | 0.00th | v1 |
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00014.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00025.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/108196 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-20836 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1707796 Issue Tracking
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b90cd6f2b905905fb42671009dc0e27c310a16ae x_refsource_MISCPatchVendor Advisory
- https://github.com/torvalds/linux/commit/b90cd6f2b905905fb42671009dc0e27c310a16ae x_refsource_MISCPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-20836
- https://seclists.org/bugtraq/2019/Aug/13 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/bugtraq/2019/Aug/18 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20190719-0003/ x_refsource_CONFIRMThird Party Advisory
- https://support.f5.com/csp/article/K11225249 x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4076-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-20836
- https://www.debian.org/security/2019/dsa-4495 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2019/dsa-4497 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.