[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y7+yLgGr1GO/rXun@unreal>
Date: Thu, 12 Jan 2023 09:09:34 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Esina Ekaterina <eesina@...ralinux.ru>
Cc: Zhao Qiang <qiang.zhao@....com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH v4] net: wan: Add checks for NULL for utdm in
undo_uhdlc_init and unmap_si_regs
On Wed, Jan 11, 2023 at 10:55:33PM +0300, Esina Ekaterina wrote:
> If uhdlc_priv_tsa != 1 then utdm is not initialized.
> And if ret != NULL then goto undo_uhdlc_init, where
> utdm is dereferenced. Same if dev == NULL.
>
> Found by Astra Linux on behalf of Linux Verification Center
> (linuxtesting.org) with SVACE.
>
> Signed-off-by: Esina Ekaterina <eesina@...ralinux.ru>
> ---
> v4: Fix style
> v3: Remove braces
> v2: Add check for NULL for unmap_si_regs
> ---
> drivers/net/wan/fsl_ucc_hdlc.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
In addition to what Jakub said, please don't send patches as reply-to.
Please sent them as new threads.
Thanks
Powered by blists - more mailing lists