Re: [PATCH 0/3] lib/digsig: fix some bugs in digsig

From: Dan Carpenter

Date: Thu Dec 03 2026 - 01:19:07 EST


On Wed, Dec 02, 2026 at 12:57:16PM -0800, Andrew Morton wrote:
> On Wed, 02 Dec 2026 15:20:27 +0300 Dan Carpenter <dan@xxxxxxxx> wrote:
>
> > Pereq is doing formal verification work. These are some bugs we found.
> >
> > * Dereferencing an error pointer on the error path
> > * Not implementing the RFC correctly
> > * Allowing garbage bytes after a signature
> >
> > Fixing the last two bugs is just about correctness and they don't
> > actually affect real life.
> >
> > lib/digsig.c | 11 +++++++++++
>
> Thanks.
>
> hp2:/usr/src/mm> scripts/get_maintainer.pl -f lib/digsig.c
> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> (maintainer:LIBRARY CODE)
> linux-kernel@xxxxxxxxxxxxxxx (open list:LIBRARY CODE)
> LIBRARY CODE status: Supported
> hp2:/usr/src/mm>
>
> Someone please change this!!

Someone needs to summon Greg. Say his name three times. :P

Realistically, it's probably going to fall to Mimi or maybe we could put
it under crypto?

regards,
dan carpenter

>
> Also, Dmitry wrote this in 2011 and may no longer be @intel.com. Let's
> add his gmail.com identity.