CVE-2020-36385: Use After Free

Published Jun 7, 2021
·
Updated

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 ctxlist in some ucmamigrateid situations where ucmaclose is called, aka CID-f5449e74802c.

Other sources

An issue was discovered in the Linux kernels Userspace Connection Manager Access for RDMA. The UCMA has a use-after-free condition, when the end of ctx is reached via the ctxlist in some situations in ucmamigrateid where ucmaclose is called. This could allow a local attacker to crash the system when using a crafted attack.

External Reference:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5449e74802c1112dea984aec8af7a33c4516af1

Red Hat

An issue was discovered in the Linux kernels Userspace Connection Manager Access for RDMA. This could allow a local attacker to crash the system, corrupt memory or escalate privileges.

Affected Software

51 affected componentsFixes available
redhat/kernel<0:2.6.32-754.43.1.el6
0:2.6.32-754.43.1.el6
redhat/kernel-rt<0:3.10.0-1160.49.1.rt56.1189.el7
0:3.10.0-1160.49.1.rt56.1189.el7
redhat/kernel<0:3.10.0-1160.49.1.el7
0:3.10.0-1160.49.1.el7
redhat/kernel<0:3.10.0-327.102.1.el7
0:3.10.0-327.102.1.el7
redhat/kernel<0:3.10.0-514.95.1.el7
0:3.10.0-514.95.1.el7
redhat/kernel<0:3.10.0-693.95.1.el7
0:3.10.0-693.95.1.el7
redhat/kernel<0:3.10.0-957.86.1.el7
0:3.10.0-957.86.1.el7
redhat/kernel<0:3.10.0-1062.59.1.el7
0:3.10.0-1062.59.1.el7
redhat/kernel-rt<0:4.18.0-305.25.1.rt7.97.el8_4
0:4.18.0-305.25.1.rt7.97.el8_4
redhat/kernel<0:4.18.0-305.25.1.el8_4
0:4.18.0-305.25.1.el8_4
redhat/kernel<0:4.18.0-147.57.1.el8_1
0:4.18.0-147.57.1.el8_1
redhat/kernel-rt<0:4.18.0-193.70.1.rt13.120.el8_2
0:4.18.0-193.70.1.rt13.120.el8_2
redhat/kernel<0:4.18.0-193.70.1.el8_2
0:4.18.0-193.70.1.el8_2
redhat/redhat-virtualization-host<0:4.3.20-20211202.1.el7_9
0:4.3.20-20211202.1.el7_9
Linux Linux kernel<5.10
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
Starwindsoftware Starwind San \& Nas=v8r12
Starwindsoftware Starwind Virtual San=v8-build14338
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
redhat/kernel<5.10
5.10
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

Mitigation for this issue is either not available or the currently available options does not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Event History

Jun 7, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jun 21, 2021
Data Sourced
via Red Hat·11:17 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:51 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·03:46 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2020-36385?

CVE-2020-36385 has been identified with a severity level of high due to the potential for a use-after-free vulnerability in the Linux kernel.

2

How do I fix CVE-2020-36385?

To fix CVE-2020-36385, upgrade your Linux kernel to version 5.10 or later, or apply specific patched versions provided by your distribution.

3

Which Linux kernel versions are affected by CVE-2020-36385?

CVE-2020-36385 affects Linux kernel versions prior to 5.10, including various versions in the Red Hat kernel series.

4

What is the potential impact of exploiting CVE-2020-36385?

Exploiting CVE-2020-36385 may allow an attacker to execute arbitrary code in the context of the kernel, leading to system compromise.

5

Is there a workaround for CVE-2020-36385 if I cannot immediately upgrade?

Currently, there are no known workarounds for CVE-2020-36385, so it is recommended to upgrade to a fixed version as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203