Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp183870imj; Thu, 14 Feb 2019 18:10:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IZQSlyjvjvtozQxACcnFMLzYbZgLVzste0H1m1chsHvYMJKDl+3kq/AeozTPVG50I5jO6Al X-Received: by 2002:a17:902:bb0b:: with SMTP id l11mr7638188pls.127.1550196645858; Thu, 14 Feb 2019 18:10:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550196645; cv=none; d=google.com; s=arc-20160816; b=H1n0zwXPXM7yWc/a9R0CySyq/Be8YSVSum8smK+EWejAR0/0FiGV7hrwG+lsUtZl/a WJ9s1DFNPSdqwEdIUyiKm3qc16zAwOolYBR17jdMJcJgxXTEQGUTDEQRjhDfMpHGxVFl eAqOPkFT7MRKWYYPpvqRJU7w/1qz2HFNPG4BnibItpMyy3cqyxozsdA37nJ8PZv5WmCX 86C81wxQUmvLluMOfWxHM4In7OaK9mRQzc3hxZ4W2XWVBOY8rSuU5uqk9LnYjssYXeHK dyMpFidCjL4II16uZXpZXkCCDHA4tGr7LXtiqh4zVAPiHVqCKM042+hcQTkvnMeJwxyY /Ujw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=2so8kiOFENLyPAkFgv1ffYpBNdVb7L0+z9Dwof+vfOo=; b=Y6K2XFdwPuukkqSsgUYyo2Eu+/dV0zzLdDnbGi3iy2Rv32npJjyvPB4UpN9PNBjHNE /yfB/KDCQcvRfs9A2vu0e3nxPWLXTPFvrHM9B+q+5h+/1JphHU296/HQKOFry9F5Q8Pv +o2Y09yU05L7+TIo5nyGTgo118axewRNkJAYzJgt4im7EbJP5FL1CSlVVEZIwhSYAdOi 7IH3+n9FuUoFoE0+AE79DAvCIjIlMPI/cyBX7qq1Ejrp0Qc0lGrfnaaEvfFwnEZG1lZi XlhR3LzkhlYi9ylQCAr++9te4ME2b6sNL2p9a6ZavC9a5GLn76S/QpOKDIoSBUuN0qE1 eF5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g129si4037209pgc.593.2019.02.14.18.10.29; Thu, 14 Feb 2019 18:10:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406087AbfBNTdv (ORCPT + 99 others); Thu, 14 Feb 2019 14:33:51 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:40159 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbfBNTdu (ORCPT ); Thu, 14 Feb 2019 14:33:50 -0500 Received: by mail-pf1-f194.google.com with SMTP id h1so3588906pfo.7; Thu, 14 Feb 2019 11:33:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=2so8kiOFENLyPAkFgv1ffYpBNdVb7L0+z9Dwof+vfOo=; b=O8xnYIRrQ3tH6qY+rBXYOwOlvd3/pZ/nsvSnU4BuzvV80r6dtiO9bmGZ7+USFPfOVZ osWKc9c5eYUx5jis+WGdVrgw1FcC9wpjm+G1QZqzOYMFYDWMknQLzlqS8Zjt8grwzWku 9Sq2KBd9TI4tAOz/pUqDbv98DKf8AnFzspm3SN8MdRGqvVD1pN9Wgs/p5VvFd/PxlSvW 1X24j6LqbaJBJHkvOrSyCD93glge/RZElPvvbzE4Kfp5zcPS6470uylad6Sxu9H3vnlF lyN++iV2ZlCiJaNyUaZqdwTAArftzK+5c0PFq11iVPH7eRG49KgCOax1R0xzi6cbE24K 0JuQ== X-Gm-Message-State: AHQUAuYpgVBVooWMe7irgPangPXEf9bsdJMJKlgsAZnYE+fIUaeAFHOw 5E0PS++FMKY5e9yzLBhPQhs= X-Received: by 2002:a63:a:: with SMTP id 10mr1462650pga.121.1550172829716; Thu, 14 Feb 2019 11:33:49 -0800 (PST) Received: from ?IPv6:2620:15c:2c1:200:fb9c:664d:d2ad:c9b5? ([2620:15c:2c1:200:fb9c:664d:d2ad:c9b5]) by smtp.gmail.com with ESMTPSA id 64sm4371786pff.101.2019.02.14.11.33.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Feb 2019 11:33:48 -0800 (PST) Message-ID: <1550172827.93548.5.camel@acm.org> Subject: Re: KASAN warning in bt_for_each From: Bart Van Assche To: Evan Green , linux-block Cc: LKML , Jens Axboe Date: Thu, 14 Feb 2019 11:33:47 -0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-7" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-02-14 at 10:04 -0800, Evan Green wrote: +AD4 Greetings, block experts+ACE +AD4 +AD4 I'm trying to track down a KASAN warning I'm seeing in our downstream +AD4 4.19 kernel, and I could use a little help. The warning looks like +AD4 this: +AD4 +AD4 +AFs 224.564894+AF0 BUG: KASAN: use-after-free in bt+AF8-for+AF8-each+-0x1ac/0x28c +AD4 +AFs 224.571195+AF0 Read of size 8 at addr ffffffc17c621340 by task fio/3851 +AD4 +AFs 224.577745+AF0 +AD4 +AFs 224.579320+AF0 CPU: 2 PID: 3851 Comm: fio Tainted: G W 4.19.16 +ACM-398 Please have a look at this e-mail thread: https://lore.kernel.org/linux-block/1545261885.185366.488.camel+AEA-acm.org/ Bart.