[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170811.145635.1954762995141694287.davem@davemloft.net>
Date: Fri, 11 Aug 2017 14:56:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vasilyev@...ras.ru
Cc: isdn@...ux-pingi.de, geliangtang@...il.com,
johannes.berg@...el.com, stephen@...workplumber.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] mISDN: Fix null pointer dereference at mISDN_FsmNew
From: Anton Vasilyev <vasilyev@...ras.ru>
Date: Fri, 11 Aug 2017 15:57:22 +0300
> If mISDN_FsmNew() fails to allocate memory for jumpmatrix
> then null pointer dereference will occur on any write to
> jumpmatrix.
>
> The patch adds check on successful allocation and
> corresponding error handling.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Anton Vasilyev <vasilyev@...ras.ru>
Applied, thank you.
Powered by blists - more mailing lists