[PATCH] ima: add check for khdr->buffer_size
Mimi Zohar
zohar at linux.ibm.com
Thu Dec 15 15:20:37 UTC 2022
Hi Lucas,
On Thu, 2022-12-15 at 23:12 +0800, iuppiterlucas at gmail.com 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 at gmail.com>
When posting patches to the linux-integrity mailing list, patches
should be posted in plain text, not mime encoded.
thanks,
Mimi
More information about the Linux-security-module-archive
mailing list