Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758568Ab2FTXeG (ORCPT ); Wed, 20 Jun 2012 19:34:06 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64358 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756861Ab2FTXeD (ORCPT ); Wed, 20 Jun 2012 19:34:03 -0400 Date: Wed, 20 Jun 2012 18:33:54 -0500 From: Jonathan Nieder To: Ming Lei Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Alan Stern , stable@vger.kernel.org Subject: Re: [PATCH] driver core: fix shutdown races with probe/remove(v2) Message-ID: <20120620233307.GA3120@burratino> References: <1339391600-17815-1-git-send-email-ming.lei@canonical.com> <20120615220343.GA8928@kroah.com> <20120618222550.GB11737@kroah.com> <20120620223754.GA5864@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120620223754.GA5864@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 32 Greg Kroah-Hartman wrote: > On Tue, Jun 19, 2012 at 10:00:36AM +0800, Ming Lei wrote: >> If Documentation/stable_kernel_rules.txt is the correct doc for stable rule, >> looks reporter requirement isn't listed in the file, but the below can be found: >> >> - No "theoretical race condition" issues, unless an explanation of >> how the race can be exploited is also provided. >> >> so I marked it as -stable because I have explained how the race can be >> exploited in reality. > > Ok, but as this has been there since when, 2.5, I'll refrain from > marking it this way, as no one has reported a real problem like this > before. Just to clarify, if I understand correctly, exploited != reproduced. :) That is, if you have an example of how the race can be exploited by an unprivileged prankster to make a sysadmin's life miserable, that would definitely be real problem. On the other hand, if you have a test case for a rare race condition that has not appeared in the wild and is not exploitable, that's very useful (test cases make programming much easier!) but it doesn't make it qualify for stable. Hope that helps, Jonathan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/