# CVE-2020-36385: An issue was discovered in the Linux kernel before 5.10.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-06-07T00:00:00.000Z
- Modified: 2026-06-17T03:15:22.933Z
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

An issue was discovered in the Linux kernel before 5.10. drivers/infiniband/core/ucma.c has a use-after-free because the ctx is reached via the ctx_list in some ucma_migrate_id situations where ucma_close is called, aka CID-f5449e74802c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 5.10
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- starwindsoftware starwind_san_&_nas: v8r12
- starwindsoftware starwind_virtual_san: v8

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://syzkaller.appspot.com/bug?id=457491c4672d7b52c1007db213d93e47c711fae6> (patch, third-party-advisory)
- <https://sites.google.com/view/syzscope/kasan-use-after-free-read-in-ucma_close-2> (patch, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5449e74802c1112dea984aec8af7a33c4516af1> (patch, vendor-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10> (release-notes, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210720-0004/> (third-party-advisory)
- <https://www.starwindsoftware.com/security/sw-20220802-0002/> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-36385](https://www.cve.org/CVERecord?id=CVE-2020-36385), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-36385](https://nvd.nist.gov/vuln/detail/CVE-2020-36385), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36385 · Whole record: https://cve.day/CVE-2020-36385.json · Rebuilt by cve.day 2026-11-25T22:57:58.020Z
