From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756848AbbCCPYO (ORCPT ); Tue, 3 Mar 2015 10:24:14 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:4112 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755043AbbCCPYM (ORCPT ); Tue, 3 Mar 2015 10:24:12 -0500 Date: Tue, 3 Mar 2015 10:23:56 -0500 From: Chris Mason Subject: Re: [PATCH] Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref. To: CC: Quentin Casasnovas , Mark Fasheh , lkml , Message-ID: <1425396236.29552.2@mail.thefacebook.com> In-Reply-To: <20150303143817.GO8720@twin.jikos.cz> References: <1424966437-29795-1-git-send-email-quentin.casasnovas@oracle.com> <20150303143817.GO8720@twin.jikos.cz> X-Mailer: geary/0.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed X-Originating-IP: [192.168.16.4] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-03_05:2015-03-03,2015-03-03,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=2 spamscore=2 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1503030166 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 3, 2015 at 9:38 AM, David Sterba wrote: > Adding linux-btrfs to CC > > On Thu, Feb 26, 2015 at 05:00:37PM +0100, Quentin Casasnovas wrote: >> Improper arithmetics when calculting the address of the extended >> ref could >> lead to an out of bounds memory read and kernel panic. >> >> Signed-off-by: Quentin Casasnovas > > Good catch. Thanks Quentin, can you please bounce the patch to linux-btrfs so it'll be in patchwork? -chris