ima: add check for khdr->buffer_size
Subsystems (2)
Mimi Zohar
maintainerHi Lucas,
Quoted 9 lines · On Thu, 2022-12-15 at 23:12 +0800, [email protected] wrote:
When
khdr->buffer_size> size, continuing to useima_parse_bufmay cause memory access out of bounds.
Fixes 94c3aac567a9 ("ima: on soft reboot, restore the measurement list")Signed-off-by Lucas Iuppiter <[email protected]>
When posting patches to the linux-integrity mailing list, patches should be posted in plain text, not mime encoded.
thanks,
Mimi