Re: [PATCH v9 11/23] x86/virt/seamldr: Allocate and populate a module update request

From: Dave Hansen

Date: Fri May 15 2026 - 14:59:58 EST


On 5/15/26 11:44, Edgecombe, Rick P wrote:
> On Fri, 2026-05-15 at 11:24 -0700, Dave Hansen wrote:
>>> + /* Check the calculated payload size against the data size. */
>>> + if (HEADER_SIZE + sigstruct_len + module_len != size)
>>> + return -EINVAL;
>>> +
>>> + /*
>>> + * Don't care about user passing the wrong file, but protect
>>> + * kernel ABI by preventing accepting garbage.
>>> + */
>> How does this "protect kernel ABI"?
> I think it means to not allow values in that field in case the kernel wants to
> make them mean something new, later.

Maybe I'm just being dense, but I don't have any idea what either of you
is saying. ;)

Could you try a concrete example, please?