CVE-2020-36385 json
An issue was discovered in the Linux kernel before 5.10.
published 5y ago modified 4mo ago also EUVD-2020-23916
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 5.10
- linux Debian 14, Debian 13, Debian 12 5.10.4-1
debian advisories DEBIAN-CVE-2020-36385
- linux Ubuntu 18.04 LTS 4.15.0-162.170
- linux Ubuntu 20.04 LTS 5.4.0-90.101
- linux-aws Ubuntu 18.04 LTS 4.15.0-1115.122
- linux-aws Ubuntu 20.04 LTS 5.4.0-1059.62
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1057.61
- linux-gke Ubuntu 20.04 LTS 5.4.0-1055.58
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1007.8
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1102.104
ubuntu advisories UBUNTU-CVE-2020-36385
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kpatch-patch-4_18_0-305 RHEL 8 1-6.el8
- kpatch-patch-4_18_0-305_3_1 RHEL 8 1-5.el8_4
- kpatch-patch-4_18_0-305_7_1 RHEL 8 1-4.el8_4
- kpatch-patch-4_18_0-305_10_2 RHEL 8 1-3.el8_4
- kpatch-patch-4_18_0-305_12_1 RHEL 8 1-2.el8_4
- kpatch-patch-4_18_0-305_17_1 RHEL 8 1-1.el8_4
- kpatch-patch-4_18_0-305_19_1 RHEL 8 1-1.el8_4
- kernel RHEL 8 4.18.0-305.25.1.el8_4
red hat advisories RHSA-2021:3987RHSA-2021:4687RHSA-2021:4875RHSA-2021:4871RHSA-2021:4122RHSA-2021:4056
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.54.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.54.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.54.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.54.1
- kernel-syms SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 4.4.180-94.147.1
- kernel-source SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 4.4.180-94.147.1
- kernel-default SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.147.1
- kgraft-patch-SLE12-SP3_Update_40 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, OpenStack Cloud Crowbar 8 +2 more 1-4.3.1
suse advisories SUSE-SU-2021:14849-1SUSE-SU-2021:2643-1SUSE-SU-2021:2584-1SUSE-SU-2021:2577-1SUSE-SU-2021:2560-1SUSE-SU-2021:2542-1
- kernel-default openSUSE Leap 15.3 4.12.14-197.99.1
- kernel-vanilla openSUSE Leap 15.3 4.12.14-197.99.1
- kernel-kvmsmall openSUSE Leap 15.3 4.12.14-197.99.1
- kernel-zfcpdump openSUSE Leap 15.3 4.12.14-197.99.1
- kernel-azure openSUSE Leap 15.3 5.3.18-38.8.1
- kernel-syms-azure openSUSE Leap 15.3 5.3.18-38.8.1
- kernel-source-azure openSUSE Leap 15.3 5.3.18-38.8.1
- kernel-64kb openSUSE Leap 15.3 5.3.18-59.10.1
opensuse advisories openSUSE-SU-2021:2427-1openSUSE-SU-2021:2202-1openSUSE-SU-2021:2184-1
- kernel-rt Rocky Linux 8 4.18.0-305.25.1.rt7.97.el8_4
- kernel Rocky Linux 8 4.18.0-305.25.1.el8_4
rocky linux advisories RLSA-2021:4088RLSA-2021:4056
Is CVE-2020-36385 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-36385 updated cvss 7.8
kernel: use-after-free in drivers/infiniband/core/ucma.c ctx use-after-free
-
Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-305.25.1.el8_4, kernel-debuginfo-common-aarch64 4.18.0-305.25.1.el8_4, kernel-debuginfo-common-ppc64le 4.18.0-305.25.1.el8_4fixed: vendor fix RHSA-2021:4056
-
Red Hat CodeReady Linux Builder EUS (v. 8.1) kernel-debuginfo-common-x86_64 4.18.0-147.57.1.el8_1, kernel-debuginfo-common-aarch64 4.18.0-147.57.1.el8_1, kernel-debuginfo-common-ppc64le 4.18.0-147.57.1.el8_1fixed: vendor fix RHSA-2021:4687
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) kernel-debuginfo-common-x86_64 4.18.0-193.70.1.el8_2, kernel-debuginfo-common-aarch64 4.18.0-193.70.1.el8_2, kernel-debuginfo-common-ppc64le 4.18.0-193.70.1.el8_2fixed: vendor fix RHSA-2021:4871
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-305.25.1.el8_4, kernel 4.18.0-305.25.1.el8_4, bpftool 4.18.0-305.25.1.el8_4, kpatch-patch-4_18_0-305 1-6.el8, kernel-core 4.18.0-305.25.1.el8_4, kernel-tools 4.18.0-305.25.1.el8_4, +22 morefixed: vendor fix RHSA-2021:4056
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.1) perf 4.18.0-147.57.1.el8_1, kernel 4.18.0-147.57.1.el8_1, bpftool 4.18.0-147.57.1.el8_1, kernel-core 4.18.0-147.57.1.el8_1, kernel-tools 4.18.0-147.57.1.el8_1, python3-perf 4.18.0-147.57.1.el8_1, +25 morefixed: vendor fix RHSA-2021:4687
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) perf 4.18.0-193.70.1.el8_2, kernel 4.18.0-193.70.1.el8_2, bpftool 4.18.0-193.70.1.el8_2, kernel-core 4.18.0-193.70.1.el8_2, kernel-tools 4.18.0-193.70.1.el8_2, python3-perf 4.18.0-193.70.1.el8_2, +26 morefixed: vendor fix RHSA-2021:4871
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-1160.49.1.el7, kernel 3.10.0-1160.49.1.el7, bpftool 3.10.0-1160.49.1.el7, python-perf 3.10.0-1160.49.1.el7, kernel-tools 3.10.0-1160.49.1.el7, kernel-tools-libs 3.10.0-1160.49.1.el7, +2 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.49.1.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.49.1.el7fixed: vendor fix RHSA-2021:4777
show 28 moreshow fewer
-
Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-trace 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.49.1.rt56.1189.el7 Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-kvm 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-trace 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-debug-kvm 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-trace-kvm 3.10.0-1160.49.1.rt56.1189.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.49.1.rt56.1189.el7fixed: vendor fix RHSA-2021:4779
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-core 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-modules 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-core 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-modules 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-modules-extra 4.18.0-305.25.1.rt7.97.el8_4, +2 morefixed: vendor fix RHSA-2021:4088
-
Red Hat Enterprise Linux Real Time EUS (v. 8.2) kernel-rt 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-core 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-modules 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-debug-core 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-debug-modules 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-modules-extra 4.18.0-193.70.1.rt13.120.el8_2, +2 morefixed: vendor fix RHSA-2021:4875
-
Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-kvm 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-core 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-modules 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-kvm 4.18.0-305.25.1.rt7.97.el8_4, kernel-rt-debug-core 4.18.0-305.25.1.rt7.97.el8_4, +4 morefixed: vendor fix RHSA-2021:4088
-
Red Hat Enterprise Linux Real Time for NFV EUS (v. 8.2) kernel-rt 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-kvm 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-core 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-modules 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-debug-kvm 4.18.0-193.70.1.rt13.120.el8_2, kernel-rt-debug-core 4.18.0-193.70.1.rt13.120.el8_2, +4 morefixed: vendor fix RHSA-2021:4875
-
Red Hat Enterprise Linux Server (v. 6 ELS) perf 2.6.32-754.43.1.el6, kernel 2.6.32-754.43.1.el6, kernel-kdump 2.6.32-754.43.1.el6, kernel-firmware 2.6.32-754.43.1.el6, kernel-abi-whitelists 2.6.32-754.43.1.el6, kernel-debuginfo-common-i686 2.6.32-754.43.1.el6, +2 morefixed: vendor fix RHSA-2022:0157
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-1160.49.1.el7, kernel 3.10.0-1160.49.1.el7, bpftool 3.10.0-1160.49.1.el7, python-perf 3.10.0-1160.49.1.el7, kernel-kdump 3.10.0-1160.49.1.el7, kernel-tools 3.10.0-1160.49.1.el7, +17 morefixed: vendor fix RHSA-2021:4777
-
Red Hat Enterprise Linux Server AUS (v. 7.2) perf 3.10.0-327.102.1.el7, kernel 3.10.0-327.102.1.el7, python-perf 3.10.0-327.102.1.el7, kernel-tools 3.10.0-327.102.1.el7, kernel-tools-libs 3.10.0-327.102.1.el7, kernel-abi-whitelists 3.10.0-327.102.1.el7, +1 morefixed: vendor fix RHSA-2021:4774
-
Red Hat Enterprise Linux Server AUS (v. 7.3) perf 3.10.0-514.95.1.el7, kernel 3.10.0-514.95.1.el7, python-perf 3.10.0-514.95.1.el7, kernel-tools 3.10.0-514.95.1.el7, kernel-tools-libs 3.10.0-514.95.1.el7, kernel-abi-whitelists 3.10.0-514.95.1.el7, +1 morefixed: vendor fix RHSA-2021:4768
-
Red Hat Enterprise Linux Server AUS (v. 7.4) perf 3.10.0-693.95.1.el7, kernel 3.10.0-693.95.1.el7, python-perf 3.10.0-693.95.1.el7, kernel-tools 3.10.0-693.95.1.el7, kernel-tools-libs 3.10.0-693.95.1.el7, kernel-abi-whitelists 3.10.0-693.95.1.el7, +1 morefixed: vendor fix RHSA-2021:4692
-
Red Hat Enterprise Linux Server AUS (v. 7.6) perf 3.10.0-957.86.1.el7, kernel 3.10.0-957.86.1.el7, bpftool 3.10.0-957.86.1.el7, python-perf 3.10.0-957.86.1.el7, kernel-tools 3.10.0-957.86.1.el7, kernel-tools-libs 3.10.0-957.86.1.el7, +2 morefixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server AUS (v. 7.7) perf 3.10.0-1062.59.1.el7, kernel 3.10.0-1062.59.1.el7, bpftool 3.10.0-1062.59.1.el7, python-perf 3.10.0-1062.59.1.el7, kernel-tools 3.10.0-1062.59.1.el7, kernel-tools-libs 3.10.0-1062.59.1.el7, +2 morefixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Server E4S (v. 7.6) perf 3.10.0-957.86.1.el7, kernel 3.10.0-957.86.1.el7, python-perf 3.10.0-957.86.1.el7, kernel-tools 3.10.0-957.86.1.el7, kpatch-patch-3_10_0-957_65_1 1-7.el7, kpatch-patch-3_10_0-957_66_1 1-7.el7, +11 morefixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server E4S (v. 7.7) perf 3.10.0-1062.59.1.el7, kernel 3.10.0-1062.59.1.el7, bpftool 3.10.0-1062.59.1.el7, python-perf 3.10.0-1062.59.1.el7, kernel-tools 3.10.0-1062.59.1.el7, kpatch-patch-3_10_0-1062_43_1 1-7.el7, +11 morefixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Server Optional (v. 6 ELS) python-perf 2.6.32-754.43.1.el6, kernel-debuginfo-common-i686 2.6.32-754.43.1.el6, kernel-debuginfo-common-s390x 2.6.32-754.43.1.el6, kernel-debuginfo-common-x86_64 2.6.32-754.43.1.el6fixed: vendor fix RHSA-2022:0157
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-1160.49.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.49.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.49.1.el7fixed: vendor fix RHSA-2021:4777
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.2) kernel-debuginfo-common-x86_64 3.10.0-327.102.1.el7fixed: vendor fix RHSA-2021:4774
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.95.1.el7fixed: vendor fix RHSA-2021:4768
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.95.1.el7fixed: vendor fix RHSA-2021:4692
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.86.1.el7fixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.59.1.el7fixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.86.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-957.86.1.el7fixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.59.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1062.59.1.el7fixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.6) kernel-debuginfo-common-x86_64 3.10.0-957.86.1.el7fixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.7) kernel-debuginfo-common-x86_64 3.10.0-1062.59.1.el7fixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Server TUS (v. 7.6) perf 3.10.0-957.86.1.el7, kernel 3.10.0-957.86.1.el7, bpftool 3.10.0-957.86.1.el7, python-perf 3.10.0-957.86.1.el7, kernel-tools 3.10.0-957.86.1.el7, kernel-tools-libs 3.10.0-957.86.1.el7, +2 morefixed: vendor fix RHSA-2021:4770
-
Red Hat Enterprise Linux Server TUS (v. 7.7) perf 3.10.0-1062.59.1.el7, kernel 3.10.0-1062.59.1.el7, bpftool 3.10.0-1062.59.1.el7, python-perf 3.10.0-1062.59.1.el7, kernel-tools 3.10.0-1062.59.1.el7, kernel-tools-libs 3.10.0-1062.59.1.el7, +2 morefixed: vendor fix RHSA-2021:3987
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-1160.49.1.el7, kernel 3.10.0-1160.49.1.el7, bpftool 3.10.0-1160.49.1.el7, python-perf 3.10.0-1160.49.1.el7, kernel-tools 3.10.0-1160.49.1.el7, kernel-tools-libs 3.10.0-1160.49.1.el7, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-1160.49.1.el7fixed: vendor fix RHSA-2021:4777
2 more fixed, 2 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5449e74802c1112dea984aec8af7a33c4516af1
patch, vendor-advisory
-
syzkaller.appspot.com
/bug?id=457491c4672d7b52c1007db213d93e47c711fae6
patch, third-party-advisory
-
sites.google.com
/view/syzscope/kasan-use-after-free-read-in-ucma_close-2
patch, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.10
release-notes, vendor-advisory
-
security.netapp.com
/advisory/ntap-20210720-0004/
third-party-advisory
-
starwindsoftware.com
/security/sw-20220802-0002/
third-party-advisory
Sources
- CVE List CVE-2020-36385
- NVD CVE-2020-36385
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.