Linux kernel bug fix: x86/sgx: Maintain encl->refcount for each encl->mm_list entry
Subsystem: arch/x86 (arch/x86/kernel/cpu/sgx/driver.c)
Bug type: use-after-free, severity: low
Keywords: refcount;use after free
Files changed: arch/x86/kernel/cpu/sgx/driver.c;arch/x86/kernel/cpu/sgx/encl.c
Introduced by Jarkko Sakkinen on 2020-11-18 18:04:11 +0100; fixed by Jarkko Sakkinen on 2021-02-08 19:11:30 +0100 (lifetime: 82 days)