[Skiboot] [PATCH v2 2/4] secvar: Make `validate_esl_list` iterate through esl chain

Nayna nayna at linux.vnet.ibm.com
Fri Jul 2 03:34:56 AEST 2021


On 6/28/21 3:37 PM, Nick Child wrote:
> Currently, the loop in validate_esl_list is not iterating through the ESL
> entries. As a consequence, all of entries after the first are not being
> validated and can contain any data. In order to iterate, the pointer to the
> esl buffer must be incremented by the amount of already read bytes.
>
> This commit also adds a new test case and file. The file is
> `multipletrimmedKEK.h` the array is very similar to the one in `trimmedKEK.h`
> except this one only has an invalid ESL as the second ESL in the chain. This
> then tests the condition that this commit tests because only the second ESL
> is invalid.
>
> Signed-off-by: Nick Child <nick.child at ibm.com>
> Reviewed-by: Daniel Axtens <dja at axtens.net>
> ---
>   libstb/secvar/backend/edk2-compat-process.c  |   5 +-
>   libstb/secvar/test/data/multipletrimmedKEK.h | 225 +++++++++++++++++++
>   libstb/secvar/test/secvar-test-edk2-compat.c |  16 ++
>   3 files changed, 243 insertions(+), 3 deletions(-)
>   create mode 100644 libstb/secvar/test/data/multipletrimmedKEK.h
>
> diff --git a/libstb/secvar/backend/edk2-compat-process.c b/libstb/secvar/backend/edk2-compat-process.c
> index e1101a4c..7d83c912 100644
> --- a/libstb/secvar/backend/edk2-compat-process.c
> +++ b/libstb/secvar/backend/edk2-compat-process.c
> @@ -260,11 +260,10 @@ int validate_esl_list(const char *key, const char *esl, const size_t size)
>   	int eslvarsize = size;
>   	int eslsize;
>   	int rc = OPAL_SUCCESS;
> -	int offset = 0;
>   	EFI_SIGNATURE_LIST *list = NULL;
>   
>   	while (eslvarsize > 0) {
> -		prlog(PR_DEBUG, "esl var size size is %d offset is %d\n", eslvarsize, offset);
> +		prlog(PR_DEBUG, "esl var size size is %d offset is %lu\n", eslvarsize, size - eslvarsize);
>   		if (eslvarsize < sizeof(EFI_SIGNATURE_LIST))
>   			break;
>   
> @@ -310,7 +309,7 @@ int validate_esl_list(const char *key, const char *esl, const size_t size)
>   		count++;
>   
>   		/* Look for the next ESL */
> -		offset = offset + eslsize;
> +		esl = esl + eslsize;
>   		eslvarsize = eslvarsize - eslsize;
>   		free(data);
>   		/* Since we are going to allocate again in the next iteration */
> diff --git a/libstb/secvar/test/data/multipletrimmedKEK.h b/libstb/secvar/test/data/multipletrimmedKEK.h
> new file mode 100644
> index 00000000..bff93bf0
> --- /dev/null
> +++ b/libstb/secvar/test/data/multipletrimmedKEK.h
> @@ -0,0 +1,225 @@
> +unsigned char multipletrimmedKEK_auth[] = {
> +0xe4 ,0x07 ,0x09 ,0x0e ,0x0e ,0x37 ,0x12 ,0x00  ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00
> +,0xd3 ,0x05 ,0x00 ,0x00 ,0x00 ,0x02 ,0xf1 ,0x0e  ,0x9d ,0xd2 ,0xaf ,0x4a ,0xdf ,0x68 ,0xee ,0x49
> +,0x8a ,0xa9 ,0x34 ,0x7d ,0x37 ,0x56 ,0x65 ,0xa7  ,0x30 ,0x82 ,0x05 ,0xb7 ,0x06 ,0x09 ,0x2a ,0x86
> +,0x48 ,0x86 ,0xf7 ,0x0d ,0x01 ,0x07 ,0x02 ,0xa0  ,0x82 ,0x05 ,0xa8 ,0x30 ,0x82 ,0x05 ,0xa4 ,0x02
> +,0x01 ,0x01 ,0x31 ,0x0f ,0x30 ,0x0d ,0x06 ,0x09  ,0x60 ,0x86 ,0x48 ,0x01 ,0x65 ,0x03 ,0x04 ,0x02
> +,0x01 ,0x05 ,0x00 ,0x30 ,0x0b ,0x06 ,0x09 ,0x2a  ,0x86 ,0x48 ,0x86 ,0xf7 ,0x0d ,0x01 ,0x07 ,0x01
> +,0xa0 ,0x82 ,0x03 ,0xca ,0x30 ,0x82 ,0x03 ,0xc6  ,0x30 ,0x82 ,0x02 ,0xae ,0xa0 ,0x03 ,0x02 ,0x01
> +,0x02 ,0x02 ,0x09 ,0x00 ,0xda ,0xf3 ,0xf9 ,0x20  ,0x41 ,0x00 ,0xa8 ,0xeb ,0x30 ,0x0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d ,0x6b
> +,0x16 ,0xd3 ,0xac ,0x94 ,0x2a ,0x15 ,0x27 ,0xa6  ,0x54 ,0x31 ,0xa9 ,0x05 ,0xae ,0xb5 ,0x72 ,0xe5
> +,0x8e ,0x0e ,0x93 ,0xe9 ,0xd6 ,0x67 ,0xd1 ,0xba  ,0x86 ,0xa1 ,0x2c ,0x84 ,0x43 ,0xa6 ,0x8b ,0x43
> +,0x6f ,0x5f ,0x2c ,0x6c ,0xcc ,0x91 ,0x60 ,0x29  ,0x45 ,0xdf ,0x95 ,0x4e ,0x82 ,0xee ,0xea ,0x1e
> +,0x5d ,0x34 ,0x5a ,0xc0 ,0x65 ,0x07 ,0x85 ,0x00  ,0x4c ,0x4c ,0x42 ,0x8f ,0x28 ,0x3a ,0x95 ,0xfb
> +,0x96 ,0xa0 ,0x1c ,0x97 ,0xfc ,0x42 ,0x78 ,0x11  ,0x77 ,0xdf ,0xdf ,0x6c ,0xdc ,0x61 ,0xaf ,0x2a
> +,0x00 ,0x93 ,0xa6 ,0xca ,0x81 ,0xb4 ,0x9f ,0x3e  ,0x9b ,0x61 ,0x89 ,0xdb ,0x36 ,0x1d ,0x99 ,0x4e
> +,0xbc ,0x50 ,0xcb ,0x55 ,0xbc ,0xe7 ,0x34 ,0x70  ,0xf7 ,0x31 ,0x3a ,0xf2 ,0xca ,0xb2 ,0x83 ,0x1a
> +,0xb4 ,0xe7 ,0x20 ,0x2d};
> +
> +unsigned int multipletrimmedKEK_auth_len =  3540;
> diff --git a/libstb/secvar/test/secvar-test-edk2-compat.c b/libstb/secvar/test/secvar-test-edk2-compat.c
> index a769863b..93ade920 100644
> --- a/libstb/secvar/test/secvar-test-edk2-compat.c
> +++ b/libstb/secvar/test/secvar-test-edk2-compat.c
> @@ -17,6 +17,7 @@
>   #include "./data/dbsigneddata.h"
>   #include "./data/OldTSKEK.h"
>   #include "./data/multipleKEK.h"
> +#include "./data/multipletrimmedKEK.h"
>   #include "./data/multipleDB.h"
>   #include "./data/multiplePK.h"
>   #include "./data/dbx.h"
> @@ -336,6 +337,21 @@ int run_test()
>   	ASSERT(5 == list_length(&variable_bank));
>   	ASSERT(0 == list_length(&update_bank));
>   
> +	/* Add multiple KEK ESLs with one w one missing 5 bytes */
> +	printf("Add multiple KEK with one trimmed\n");
> +	tmp = new_secvar("KEK", 4, multipletrimmedKEK_auth, multipletrimmedKEK_auth_len, 0);
> +	ASSERT(0 == edk2_compat_validate(tmp));
> +	list_add_tail(&update_bank, &tmp->link);
> +	ASSERT(1 == list_length(&update_bank));
> +
> +	rc = edk2_compat_process(&variable_bank, &update_bank);
> +	ASSERT(OPAL_PARAMETER == rc);
> +	ASSERT(5 == list_length(&variable_bank));
> +	ASSERT(0 == list_length(&update_bank));
> +	tmp = find_secvar("KEK", 4, &variable_bank);
> +	ASSERT(NULL != tmp);
> +	ASSERT(0 != tmp->data_size);
> +
>   	/* Add multiple KEK ESLs, one of them should sign the db. */
>   	printf("Add multiple KEK\n");
>   	tmp = new_secvar("KEK", 4, multipleKEK_auth, multipleKEK_auth_len, 0);

Thanks Nick !!

Reviewed-by: Nayna Jain <nayna at linux.ibm.com>

Tested-by: Nayna Jain <nayna at linux.ibm.com>


Thanks & Regards,

       - Nayna





More information about the Skiboot mailing list