FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-02-2012, 07:09 PM
Tim Gardner
 
Default ACK: ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID

On 03/02/2012 09:18 AM, Herton R. Krzesinski wrote:

SRU justification
=================

Impact
------
Kernel crash, due to race explained in upstream bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=27142
In practice likely to happen on a highly loaded webserver

Fix
---
Upstream commit d694ad62bf539dbb20a0899ac2a954555f9e4a83

Testcase
--------
https://bugzilla.kernel.org/attachment.cgi?id=66162
I'll attach to this bug as well.
- Build with gcc -o timedrm timedrm.cpp -lpthread
- Run with "test 250", sometimes you have to run more than one time to get the
oops, but it's very easy to get the crash.

Note: only needed for natty. The problem affects 2.6.35 and later, but
we already got fixes for Maverick/Oneiric through stable, Precise has
the fix in also.




--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-02-2012, 08:22 PM
Seth Forshee
 
Default ACK: ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID

On Fri, Mar 02, 2012 at 01:18:54PM -0300, Herton R. Krzesinski wrote:
> SRU justification
> =================
>
> Impact
> ------
> Kernel crash, due to race explained in upstream bug report:
> https://bugzilla.kernel.org/show_bug.cgi?id=27142
> In practice likely to happen on a highly loaded webserver
>
> Fix
> ---
> Upstream commit d694ad62bf539dbb20a0899ac2a954555f9e4a83
>
> Testcase
> --------
> https://bugzilla.kernel.org/attachment.cgi?id=66162
> I'll attach to this bug as well.
> - Build with gcc -o timedrm timedrm.cpp -lpthread
> - Run with "test 250", sometimes you have to run more than one time to get the
> oops, but it's very easy to get the crash.
>
> Note: only needed for natty. The problem affects 2.6.35 and later, but
> we already got fixes for Maverick/Oneiric through stable, Precise has
> the fix in also.
>
> --
> []'s
> Herton
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Fri Mar 2 23:30:04 2012
Return-path: <devel-bounces@lists.fedoraproject.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Fri, 02 Mar 2012 23:22:42 +0200
Received: from bastion01.fedoraproject.org ([209.132.181.2]:41203 helo=bastion.fedoraproject.org)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <devel-bounces@lists.fedoraproject.org>)
id 1S3Zw2-0005A9-Ol
for tom@linux-archive.org; Fri, 02 Mar 2012 23:22:42 +0200
Received: from lists.fedoraproject.org (collab03.vpn.fedoraproject.org [192.168.1.70])
by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id 8C23A21673;
Fri, 2 Mar 2012 21:22:47 +0000 (UTC)
Received: from collab03.fedoraproject.org (localhost [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 330DA40AF0;
Fri, 2 Mar 2012 21:22:45 +0000 (UTC)
X-Original-To: devel@lists.fedoraproject.org
Delivered-To: devel@lists.fedoraproject.org
Received: from smtp-mm02.fedoraproject.org (smtp-mm02.fedoraproject.org
[66.35.62.164])
by lists.fedoraproject.org (Postfix) with ESMTP id 0AE5040AA3
for <devel@lists.fedoraproject.org>;
Fri, 2 Mar 2012 21:22:43 +0000 (UTC)
Received: from mail-ww0-f51.google.com (mail-ww0-f51.google.com [74.125.82.51])
by smtp-mm02.fedoraproject.org (Postfix) with ESMTP id 9F20E41C29
for <devel@lists.fedoraproject.org>;
Fri, 2 Mar 2012 21:22:44 +0000 (UTC)
Received: by wgbed3 with SMTP id ed3so1396504wgb.20
for <devel@lists.fedoraproject.org>;
Fri, 02 Mar 2012 13:22:43 -0800 (PST)
Received-SPF: pass (google.com: domain of johannbg@gmail.com designates
10.180.8.164 as permitted sender) client-ip=10.180.8.164;
Authentication-Results: mr.google.com;
spf=pass (google.com: domain of johannbg@gmail.com
designates 10.180.8.164 as permitted sender)
smtp.mail=johannbg@gmail.com;
dkim=pass header.i=johannbg@gmail.com
Received: from mr.google.com ([10.180.8.164])
by 10.180.8.164 with SMTP id s4mr84941wia.6.1330723363936 (num_hops =
1); Fri, 02 Mar 2012 13:22:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
bh=NSGdF8Kn8nS35szUm5rd25yWyq8kKjtNUD7HrxqBibc=;
b=fRqmjq9hMJPDCTVFXZdxFMaVgwod16kY2u7yygehVIW8JLJp b2yoxF3UIdhT1NZciO
UTbK6RXgvblDz20qdl4sRUN7KryFXZbQXj0FurFF3jemCcGeZ8 oPTBDrFB9lHWmYp+Xr
xH++i+NJBMYa/W9+AMlNas4CjgNW/V3JUQuQV8ugJdsLGyoJZyzMi/yemD5muUcW4qHw
cEZTpHAQmhK4rwNGLigm6a/MTHbHNfMn0kXtSezMazDoUO7hzayoJpl/GVPCIrqYqHJa
jS6tzrPZ8Gbvdt5WfwVBtlrDgwfnNDdPojmXzrqEnY8k1alzRq U0oMWWIk2nxKQjNOb/
yQ1w==
Received: by 10.180.8.164 with SMTP id s4mr65353wia.6.1330723363881;
Fri, 02 Mar 2012 13:22:43 -0800 (PST)
Received: from localhost.localdomain (89-160-152-155.du.xdsl.is.
[89.160.152.155])
by mx.google.com with ESMTPS id fw5sm6066083wib.0.2012.03.02.13.22.42
(version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 13:22:42 -0800 (PST)
Message-ID: <4F5139C9.4060405@gmail.com>
Date: Fri, 02 Mar 2012 21:21:13 +0000
From: =?UTF-8?B?IkrDs2hhbm4gQi4gR3XDsG11bmRzc29uIg==?=
<johannbg@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
MIME-Version: 1.0
To: devel@lists.fedoraproject.org
Subject: Re: Automating the NonResponsiveMaintainers policy
References: <4F509EDA.4000907@gmail.com>
<CAMqY-FedH4R+paxH0Z-Nr-+SAnmrUn9v2RTb_n3EeDi9p-unCA@mail.gmail.com>
In-Reply-To: <CAMqY-FedH4R+paxH0Z-Nr-+SAnmrUn9v2RTb_n3EeDi9p-unCA@mail.gmail.com>
X-BeenThere: devel@lists.fedoraproject.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Development discussions related to Fedora
<devel@lists.fedoraproject.org>
List-Id: Development discussions related to Fedora
<devel.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/options/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/devel/>
List-Post: <mailto:devel@lists.fedoraproject.org>
List-Help: <mailto:devel-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: devel-bounces@lists.fedoraproject.org
Errors-To: devel-bounces@lists.fedoraproject.org

T24gMDMvMDIvMjAxMiAwNzo1NCBQTSwgZHJhZ28wMSB3cm90ZT oKPiBJIHVuZGVyc3RhbmQgdGhh
dCB0aGlzIGlzIGZydXN0cmF0aW5nIHRvIHlvdSBidXQgeW91ci Bzb2x1dGlvbiBpcyBqdXN0Cj4g
d3JvbmcgSU1PLgo+IFdlIGRvbid0IGhhdmUgaW5maW5pdGUgcm Vzb3VyY2VzIHNvIHRocm93aW5n
IHBlb3BsZSBvdXQganVzdCBiZWNhdXNlCj4gdGhleSBkaWQgbm 90IHJlc3BvbmQgd2l0aGluZyBh
IHdlZWsgaX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 08:33 PM
Brad Figg
 
Default ACK: ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID

On 03/02/2012 08:18 AM, Herton R. Krzesinski wrote:

SRU justification
=================

Impact
------
Kernel crash, due to race explained in upstream bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=27142
In practice likely to happen on a highly loaded webserver

Fix
---
Upstream commit d694ad62bf539dbb20a0899ac2a954555f9e4a83

Testcase
--------
https://bugzilla.kernel.org/attachment.cgi?id=66162
I'll attach to this bug as well.
- Build with gcc -o timedrm timedrm.cpp -lpthread
- Run with "test 250", sometimes you have to run more than one time to get the
oops, but it's very easy to get the crash.

Note: only needed for natty. The problem affects 2.6.35 and later, but
we already got fixes for Maverick/Oneiric through stable, Precise has
the fix in also.




--
Brad Figg brad.figg@canonical.com http://www.canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 07:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org