Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965519Ab3GSFX4 (ORCPT ); Fri, 19 Jul 2013 01:23:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6805 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965438Ab3GSFXy (ORCPT ); Fri, 19 Jul 2013 01:23:54 -0400 Date: Fri, 19 Jul 2013 10:53:45 +0530 From: Amit Shah To: Yoshihiro YUNOMAE Cc: linux-kernel@vger.kernel.org, Hidehiro Kawai , Greg Kroah-Hartman , Masami Hiramatsu , Arnd Bergmann , yrl.pp-manager.tt@hitachi.com Subject: Re: [PATCH 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write Message-ID: <20130719052345.GD3087@amit-x200.redhat.com> References: <20130718231927.3664.50418.stgit@yunodevel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130718231927.3664.50418.stgit@yunodevel> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 20 On (Fri) 19 Jul 2013 [08:19:27], Yoshihiro YUNOMAE wrote: > Hi, > > This patch set fixes two bugs of splice_write in the virtio-console driver. > > [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write. > => This induces oops in sg_init_table(). > > [BUG2] No lock for competition of splice_write. > => This induces oops in splice_from_pipe_feed() by bug of any user > application. Spotted a bug in the 2nd patch. Do you want to also CC these to stable@? Amit -- 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/