[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160725.112515.1809603371800148887.davem@davemloft.net>
Date: Mon, 25 Jul 2016 11:25:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vegard.nossum@...cle.com
Cc: samuel@...tiz.org, irda-users@...ts.sourceforge.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] net/irda: fix NULL pointer dereference on memory
allocation failure
From: Vegard Nossum <vegard.nossum@...cle.com>
Date: Sat, 23 Jul 2016 07:43:50 +0200
> I ran into this:
...
> The problem is that irda_open_tsap() can fail and leave self->tsap = NULL,
> and then irttp_connect_request() almost immediately dereferences it.
>
> Cc: stable@...r.kernel.org
> Signed-off-by: Vegard Nossum <vegard.nossum@...cle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists