Loading
crypto: iaa - Fix async_disable descriptor leak
mainline inclusion from mainline-v6.9-rc1 commit 262534ddc88dfea7474ed18adfecf856e4fbe054 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9TA1S CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=262534ddc88dfea7474ed18adfecf856e4fbe054 -------------------------------- The disable_async paths of iaa_compress/decompress() don't free idxd descriptors in the async_disable case. Currently this only happens in the testcases where req->dst is set to null. Add a test to free them in those paths. Intel-SIG: commit 262534ddc88d crypto: iaa - Fix async_disable descriptor leak. Backporting patches for Intel IAA crypto driver on Intel Xeon platform. Signed-off-by:Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Xiaochen Shen <xiaochen.shen@intel.com>