{"id":"CVE-2020-36385","details":"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.","modified":"2026-03-15T22:30:35.655278Z","published":"2021-06-07T12:15:08.417Z","related":["ALSA-2021:4056","SUSE-SU-2021:14849-1","SUSE-SU-2021:2184-1","SUSE-SU-2021:2202-1","SUSE-SU-2021:2303-1","SUSE-SU-2021:2325-1","SUSE-SU-2021:2406-1","SUSE-SU-2021:2407-1","SUSE-SU-2021:2416-1","SUSE-SU-2021:2421-1","SUSE-SU-2021:2422-1","SUSE-SU-2021:2426-1","SUSE-SU-2021:2427-1","SUSE-SU-2021:2451-1","SUSE-SU-2021:2538-1","SUSE-SU-2021:2542-1","SUSE-SU-2021:2560-1","SUSE-SU-2021:2577-1","SUSE-SU-2021:2584-1","SUSE-SU-2021:2643-1","openSUSE-SU-2021:2184-1","openSUSE-SU-2021:2202-1","openSUSE-SU-2021:2427-1"],"references":[{"type":"ADVISORY","url":"https://www.starwindsoftware.com/security/sw-20220802-0002/"},{"type":"ADVISORY","url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210720-0004/"},{"type":"FIX","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5449e74802c1112dea984aec8af7a33c4516af1"},{"type":"FIX","url":"https://sites.google.com/view/syzscope/kasan-use-after-free-read-in-ucma_close-2"},{"type":"FIX","url":"https://syzkaller.appspot.com/bug?id=457491c4672d7b52c1007db213d93e47c711fae6"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36385.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"5.10"}]},{"events":[{"introduced":"0"},{"last_affected":"v8r12"}]},{"events":[{"introduced":"0"},{"last_affected":"v8-build14338"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}