Re: [PATCH net] rxrpc: fix some null-ptr-deref bugs in server_key.c

From: Paolo Abeni
Date: Thu Mar 31 2022 - 09:20:35 EST


On Thu, 2022-03-31 at 13:16 +0100, David Howells wrote:
> Paolo Abeni <pabeni@xxxxxxxxxx> wrote:
>
> > It looks like we can add a couple of fixes tag to help stable teams:
> >
> > Fixes: d5953f6543b5 ("rxrpc: Allow security classes to give more info on server keys")
>
> Not this one. This includes a check for the one op it adds:
>
> + if (sec && sec->describe_server_key)
> + sec->describe_server_key(key, m);
>
>
> > Fixes: 12da59fcab5a ("xrpc: Hand server key parsing off to the security class")
>
> There's a missing 'r' in "rxrpc:" in the patch subject, but otherwise this one
> looks like the right one.

Thank you for double-checking. No need to repost, I'll add the tag
while applying it.

Cheeers,

Paolo