Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932504AbdCIQca (ORCPT ); Thu, 9 Mar 2017 11:32:30 -0500 Received: from mail-it0-f51.google.com ([209.85.214.51]:37778 "EHLO mail-it0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754906AbdCIQcZ (ORCPT ); Thu, 9 Mar 2017 11:32:25 -0500 Subject: Re: [block] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970 To: Mike Galbraith , LKML References: <1489072619.3839.9.camel@gmx.de> From: Jens Axboe Message-ID: <6b17c360-d11f-6db5-4933-0c91f70d6a89@kernel.dk> Date: Thu, 9 Mar 2017 08:38:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1489072619.3839.9.camel@gmx.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 23 On 03/09/2017 08:16 AM, Mike Galbraith wrote: > Greetings, > > Building master.today with kasan enabled (because I saw the same when > trying out kasan on rt), the below fell out. > > Config is enterprise based (tune for maximum build time), plus PREEMPT. > > [ 5.335444] ================================================================== > [ 5.337030] BUG: KASAN: use-after-free in rb_erase+0x1431/0x1970 at addr ffff88035e78abb0 > [ 5.338642] Write of size 8 by task swapper/7/0 > [ 5.340204] CPU: 7 PID: 0 Comm: swapper/7 Tainted: G E 4.11.0-kasan #160 > [ 5.341774] Hardware name: MEDION MS-7848/MS-7848, BIOS M7848W08.20C 09/23/2013 Should be fixed in my for-linus branch, it'll go out soon. If you want to verify, pull: git://git.kernel.dk/linux-block for-linus into master and see if that works for you. -- Jens Axboe