Skip to contentSkip to conversation

ima: add check for khdr->buffer_size

PATCH Mimi Zohar 1 participant 1 message Dec 15, 2022 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mimi Zohar

author maintainer
#1 lore raw

Hi Lucas,

Quoted 9 lines · On Thu, 2022-12-15 at 23:12 +0800, [email protected] 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")

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

thanks,

Mimi