From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751231AbbJCRDc (ORCPT ); Sat, 3 Oct 2015 13:03:32 -0400 Received: from tiger.mobileactivedefense.com ([217.174.251.109]:43386 "EHLO tiger.mobileactivedefense.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbbJCRDa (ORCPT ); Sat, 3 Oct 2015 13:03:30 -0400 From: Rainer Weikusat To: Mathias Krause Cc: Jason Baron , "David S. Miller" , netdev@vger.kernel.org, "linux-kernel\@vger.kernel.org" , Eric Wong , Eric Dumazet , Rainer Weikusat , Al Viro , Davide Libenzi , Davidlohr Bueso , Olivier Mauras , PaX Team , Linus Torvalds , Peter Zijlstra Subject: Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll() In-Reply-To: (Mathias Krause's message of "Sat, 3 Oct 2015 07:46:06 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Date: Sat, 03 Oct 2015 18:02:16 +0100 Message-ID: <87twq7ans7.fsf@doppelsaurus.mobileactivedefense.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (tiger.mobileactivedefense.com [217.174.251.109]); Sat, 03 Oct 2015 18:02:24 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathias Krause writes: > On 2 October 2015 at 22:43, Jason Baron wrote: >> The unix_dgram_poll() routine calls sock_poll_wait() not only for the wait >> queue associated with the socket s that we are poll'ing against, but also calls [useless full-quote removed] > My reproducer runs on this patch for more than 3 days now without > triggering anything anymore. Since the behaviour of your program is random, using it to "test" anything doesn't really provide any insight: It could have been executing the same codepath which doesn't happen to trigger any problems for all of these three days. Nobody can tell.