[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110321.181816.15242871.davem@davemloft.net>
Date: Mon, 21 Mar 2011 18:18:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: eric.dumazet@...il.com, mingo@...e.hu,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
a.p.zijlstra@...llo.nl, tglx@...utronix.de
Subject: Re: [held lock freed] Re: [GIT] Networking
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 21 Mar 2011 16:22:40 +0100
> net/appletalk: fix atalk_release use after free
>
> The BKL removal in appletalk introduced a use-after-free problem,
> where atalk_destroy_socket frees a sock, but we still release
> the socket lock on it.
>
> An easy fix is to take an extra reference on the sock and sock_put
> it when returning from atalk_release.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied, thanks Arnd.
--
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