CVE-2018-20836 in Canonical Ubuntu Linux and 13 more products
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.
Affects 14 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 |
| Debian | Debian Linux | 8.0 9.0 10.0 |
| F5 | Traffix Signaling Delivery Controller | 5.0.0 5.1.0 |
| Linux | Linux Kernel | < 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 |
| Netapp | Storage Replication Adapter For Clustered Data Ontap | No version listed by the source |
| Netapp | Hci Compute Node (device and firmware) | No version listed by the source |
| Netapp | Solidfire & Hci Management Node | No version listed by the source |
| Netapp | Solidfire & Hci Storage Node | No version listed by the source |
| Netapp | Active Iq Unified Manager | ≥ 9.5 |
| Netapp | Vasa Provider For Clustered Data Ontap | ≥ 7.2 |
| Netapp | Virtual Storage Console | ≥ 7.2 |
| Netapp | Snapprotect | No version listed by the source |
| Opensuse | Leap | 15.0 15.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-20836 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-128515-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2019-05-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-362: Race Condition
Software behavior depends on event timing that is not enforced, allowing attackers to exploit the timing window.
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Related attack patterns (CAPEC)
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-362
CAPEC-26 Leveraging Race Conditions via CWE-362
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A high severity vulnerability affects Canonical systems (CVE-2018-20836). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2018-20836?
This vulnerability was disclosed in 2019. A high severity vulnerability affects Canonical systems (CVE-2018-20836). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-20836?
CVE-2018-20836 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 5.1%.
Is CVE-2018-20836 actively exploited?
No confirmed active exploitation of CVE-2018-20836 as of 2026-09-25.
How do I remediate CVE-2018-20836?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2018-20836?
CVE-2018-20836 affects Canonical Ubuntu Linux; Debian Debian Linux; F5 Traffix Signaling Delivery Controller; Linux Linux Kernel; Netapp Storage Replication Adapter For Clustered Data Ontap, Hci Compute Node, Solidfire & Hci Management Node, Solidfire & Hci Storage Node, Active Iq Unified Manager, Vasa Provider For Clustered Data Ontap (plus 3 more products across 1 more vendor).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.