In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - Fix use after free in cccipherexit() kfreesensitive(ctxp->user.key) will free the ctxp->user.key. But ctxp->user.key is still used in the next line, which will lead to a use after free. We can call kfreesensitive() after devdbg() to avoid the uaf.