Searched hist:"556 d971bdae643de4cd7e2976e14f70ca2a3061d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/integrity/ima/ |
H A D | ima_modsig.c | diff 556d971bdae643de4cd7e2976e14f70ca2a3061d Wed Aug 07 19:43:18 CDT 2019 Thiago Jung Bauermann <bauerman@linux.ibm.com> ima: Fix use after free in ima_read_modsig()
If we can't parse the PKCS7 in the appended modsig, we will free the modsig structure and then access one of its members to determine the error value.
Fixes: 39b07096364a ("ima: Implement support for module-style appended signatures") Reported-by: kbuild test robot <lkp@intel.com> Reported-by: Julia Lawall <julia.lawall@lip6.fr> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Reviewed-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
|