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

From: Andrew Morton

Date: Wed Dec 02 2026 - 15:57:20 EST


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!!

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