diff options
| author | 2022-01-13 11:44:38 -0800 | |
|---|---|---|
| committer | 2022-01-24 18:37:36 -0500 | |
| commit | 926fd9f23b27ca6587492c3f58f4c7f4cd01dad5 (patch) | |
| tree | a2ed3b06e4a78df0c6171b387c92b5d80d3c4ab5 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.17-rc1 (diff) | |
| download | linux-dev-926fd9f23b27ca6587492c3f58f4c7f4cd01dad5.tar.xz linux-dev-926fd9f23b27ca6587492c3f58f4c7f4cd01dad5.zip | |
ima: fix reference leak in asymmetric_verify()
Don't leak a reference to the key if its algorithm is unknown.
Fixes: 947d70597236 ("ima: Support EC keys for signature verification")
Cc: <stable@vger.kernel.org> # v5.13+
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
