Re: [PATCH] ima: add check for khdr->buffer_size

From: Mimi Zohar
Date: Thu Dec 15 2022 - 10:22:48 EST


Hi Lucas,

On Thu, 2022-12-15 at 23:12 +0800, iuppiterlucas@xxxxxxxxx wrote:
> When khdr->buffer_size > size, continuing to use ima_parse_buf
>
> may cause memory access out of bounds.
>
>
> Fixes: 94c3aac567a9 ("ima: on soft reboot, restore the measurement list")
>
>
> Signed-off-by: Lucas Iuppiter <iuppiterlucas@xxxxxxxxx>

When posting patches to the linux-integrity mailing list, patches
should be posted in plain text, not mime encoded.

thanks,

Mimi