[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140829.202259.1402624640108814825.davem@davemloft.net>
Date: Fri, 29 Aug 2014 20:22:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ying.xue@...driver.com
Cc: jon.maloy@...csson.com, erik.hugne@...csson.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next] tipc: fix a potential oops
From: Ying Xue <ying.xue@...driver.com>
Date: Thu, 28 Aug 2014 10:02:41 +0800
> Commit 6c9808ce09f7 ("tipc: remove port_lock") accidentally involves
> a potential bug: when tipc socket instance(tsk) is not got with given
> reference number in tipc_sk_get(), tsk is set to NULL. Subsequently
> we jump to exit label where to decrease socket reference counter
> pointed by tsk pointer in tipc_sk_put(). However, As now tsk is NULL,
> oops may happen because of touching a NULL pointer.
>
> Signed-off-by: Ying Xue <ying.xue@...driver.com>
> Acked-by: Erik Hugne <erik.hugne@...csson.com>
> Acked-by: Jon Maloy <jon.maloy@...csson.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists