Received: by 2002:a05:6520:3645:b029:c0:f950:43e0 with SMTP id l5csp453453lki; Mon, 22 Feb 2021 10:22:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/4HQMH5pkh3gFYLn6IN3bV+6f8pORk3rs14i6R6gncG9fGuAr50PnizELJ57JqoA0tTEB X-Received: by 2002:aa7:c881:: with SMTP id p1mr30484eds.249.1614018150111; Mon, 22 Feb 2021 10:22:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614018150; cv=none; d=google.com; s=arc-20160816; b=LKTE5wj6kz/foFbAfDnN6t0LQVsX+7JSQcabHFgS5y9xW/nV9ud+UunlyHIWyQ13aD +m/r5CGWNAflIFrEjDVHSAhLv4G4Cpfr7HJy3GNMQ5+Cv3t9CBS4D9HK2D9YMmKSUdJl iV2IBzrp4zStt/BTlCNxQbK+eQjFnqzZM2D7U04h19cidgIOKqrHQ5yeguqgL8WKOTMK Q6L3HcQNneS8I0l6mUgKS/UbdyE597jm1y86OFAO4+KRylQTHNO2U30+RxhCsDPMe4z7 SBunpEQbqt0PwxjdG7kZrZeJFLIixeGfgxan/uPqGbBpjlTDt8NiDgYha6En61wKyW7s oYUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=afQMezrHHZ/s/cFD66A7wjauGG6Mot8qzrIoVlp+Mjs=; b=nxmmIzKhJmekkniVBwxGbRv+kb4Dq349yLDWgpvc8ri+X1aLLi2Jijf930JtZSjF3L Xnaimfnrw52n2HN/8OyVsggVr7lzTcoALT0pcekOy+LkfqsoTSNv1EP8Iwv4sm/DXiBU gPYrhyikbAS7KC+ZmOnmOkHDh564wUL7embGPYGtcv2m38e8A7XbGNehH/v+CtwPfv9i oAfyUKDghXxod4iTYTSxCbST6hvDNxPeAkzn5gle/LmuyMi/kRcAwL45ko+YaqhBJlM8 7JYZh8tKYK6t64wmoDZtTUha86lgcNqivpy/XO+w+mweVgWOgJugHrpLr+Jvzz9A/njx zmWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=DHrXj9tM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oy5si7308666ejb.312.2021.02.22.10.22.06; Mon, 22 Feb 2021 10:22:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@toxicpanda-com.20150623.gappssmtp.com header.s=20150623 header.b=DHrXj9tM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232387AbhBVSUz (ORCPT + 99 others); Mon, 22 Feb 2021 13:20:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbhBVSSP (ORCPT ); Mon, 22 Feb 2021 13:18:15 -0500 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAD3DC061786 for ; Mon, 22 Feb 2021 10:17:34 -0800 (PST) Received: by mail-qt1-x82d.google.com with SMTP id v3so9941212qtw.4 for ; Mon, 22 Feb 2021 10:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=afQMezrHHZ/s/cFD66A7wjauGG6Mot8qzrIoVlp+Mjs=; b=DHrXj9tMDFBraxw7X4jINTU+CsW1tO9WZM8lqySA+3+QPTXgB75H65JRSLty4fkbc+ grztx9O4Sd4IbLW6h05IGADg7dRhZAq2bBCyy7Zfs7aQ+pDlqpsvxmPjYAcke8FDpbbE DrBD29lvXrFQ2RY+nI0Me/MkOsUj+CMPIKmfgRUcJnNCFpq87TDC4MX0vXkF4LyBpxmp UzN7sltqmxCPCr5gdMK6dCtZTcPhHf01RKYmm1pg2neUHj1WcyVfgTRbnKw9MfszNlOz s386jdT7k3hR3+I5Pnz6gQNedrI7syzZSe7m/TSUilko46VXzXxU8erXuXGuYb1ThJ7D 1Wbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=afQMezrHHZ/s/cFD66A7wjauGG6Mot8qzrIoVlp+Mjs=; b=M1QIH794HFvJmrJZOwPjRTb9eJyfjhqXf8ot/P0vh8PVIYq+gkk5ABlw89vD8RlVut 3p04OhnF7DytrX3kp5Lui+0lEOjntXmzF05E4PMKDbcOXIrsQ/+q9p5F637aPqkulrcZ 3w49xQxwoNtF9YvQOIkkmrrq2GbFIbYBqhfSK/WJ8qHGcZAjwiy4mlqjoM+r/6p7QYr9 8EvuInsiD56EAUKju0cI16McxvBYqq8R5OWPfe+/YCDyvftmnkKsAsVtNLXeDeXfYZlq D4wcvaxu/I/KOabLmQpedP39Yffb873SMTamMEyWOzSGJG4CdH0psUV4toPjUQaHNzeY 47sA== X-Gm-Message-State: AOAM530EvehBNb7sexG3ZIcKVH5S2AGKTEXH9ro3ieVT9mnLB7C60tsc 9MBfQExExVdhlidwGof3Zly9ig== X-Received: by 2002:ac8:4c8e:: with SMTP id j14mr21698071qtv.92.1614017853927; Mon, 22 Feb 2021 10:17:33 -0800 (PST) Received: from [192.168.1.45] (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id o194sm12816499qke.101.2021.02.22.10.17.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Feb 2021 10:17:33 -0800 (PST) Subject: Re: KASAN: use-after-free Read in nbd_genl_connect To: syzbot , axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, nbd@other.debian.org, syzkaller-bugs@googlegroups.com References: <000000000000bda69205bbe88a09@google.com> From: Josef Bacik Message-ID: <49ac93fc-57b0-1f94-c43e-f9ab9a3913af@toxicpanda.com> Date: Mon, 22 Feb 2021 13:17:32 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <000000000000bda69205bbe88a09@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/22/21 3:25 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: f40ddce8 Linux 5.11 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=179e8d22d00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=e53d04227c52a0df > dashboard link: https://syzkaller.appspot.com/bug?extid=429d3f82d757c211bff3 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10d190cad00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13dc8a82d00000 > > Bisection is inconclusive: the issue happens on the oldest tested release. > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1128ae60d00000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=1328ae60d00000 > console output: https://syzkaller.appspot.com/x/log.txt?x=1528ae60d00000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+429d3f82d757c211bff3@syzkaller.appspotmail.com > #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git nbd-kasan-fix