Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1368106pxu; Thu, 8 Oct 2020 09:47:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRjMd8bDj1k4m0BE1mNYQpE4+6pvuldUCN3uRaYxJFwtDgO4TxqZi87bRKOctIrkOhbKp8 X-Received: by 2002:aa7:d4c6:: with SMTP id t6mr3992571edr.372.1602175621682; Thu, 08 Oct 2020 09:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602175621; cv=none; d=google.com; s=arc-20160816; b=g+BWDApOD1hYY4eYzsgws+aB4OC1Va4wmW1KkvQI5GU4Lntx9x5XrVNOvsROzTdYAx UOmy1RFeVT7lU5IEFerZpXbNjFTB1FYD/M6VtE1DhjluRmqZFA99lldnmQglRX0ix81p utezId94NKIY8qhCu+ofc2RJJrMT6ZCXZwgXTDv6MjoKZsNzWdUCTiP825JzDSzYtboz Qq7QKDmfRb/1ixY3338rf2nJFA9nDD57WVK9fOLFnpzkPltNPM0zBn5UVR2eqBwe/gRN WFG1ymvVKEVGv3AeycZWACAd9XigDjJpSckSdxyWknSffv9L4j0e6DFqDZuZI6AvumIV F5KA== 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=P6w4xCafRHbwrlFfPz4fGd6pUBvY7sGVwZN8EowUQ9E=; b=c0MySnT7EoSUL22voyLcSzszvSs9oFvVuaPhPTiAwHV2WHAW+l1iIz9xtZ9xTsZRj1 ftqJ+qsUEpRLB6h0yD2V6skfOkVJzb4DI5kqSKAFbuaHxnOatV7xrFwgIy86TX1Cv4tB PJWFNcDmAA7rYtIn0zkNHj0QhUU/c7gwwSdbLV3v0Q/8HNfgBJy6jqGsp5MeJOZWwKQT HtB6k9JWu8e2m6vItB9I9IrsHlXwH8VVlKZvhswNkn1eIPCJ3W3SsCvS76bZ2JCUH29d the3ybcniOVu18bNc3iU5ILIiLq8tnSqwwwrRJzypw16pQj6Ui6zMLZ/kWVTgiCVxKt4 kxnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=ZkHIYFq4; 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 oc24si4235772ejb.530.2020.10.08.09.46.37; Thu, 08 Oct 2020 09:47:01 -0700 (PDT) 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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=ZkHIYFq4; 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 S1730814AbgJHPCE (ORCPT + 99 others); Thu, 8 Oct 2020 11:02:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730697AbgJHPCC (ORCPT ); Thu, 8 Oct 2020 11:02:02 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1078FC0613D2 for ; Thu, 8 Oct 2020 08:02:01 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id y16so1842957ila.7 for ; Thu, 08 Oct 2020 08:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.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=P6w4xCafRHbwrlFfPz4fGd6pUBvY7sGVwZN8EowUQ9E=; b=ZkHIYFq4AG21UWWnea6lir2iqx9wcCge82U1rfSPA5awUvOZgjJcZsASTlzI9xcdb7 V2uqZ6iC/X3/Bh55wKjBUTQjaywr/t+yzb0//LbgL8qqeuZwgHN5mQAE6dpICI0KOE8R 0ahsq5LhagcyJt0u93o+5QFTuJrC67rYibr02TBLeOncD4tyPY2zGpKabFPf5bIDf9Ia wu+LD3bbrAbntvTm8sgAgojmGxL7uK3PuxYJ1FjI+wndPgVUrI6qtpQV3cD5VmlLrhVc e3gb2SBDuPARcuv4x96AViEYKnIZV6rxhVZgvicEWLzSRZ200/f62Eny16A9uJIa1xTu jEYw== 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=P6w4xCafRHbwrlFfPz4fGd6pUBvY7sGVwZN8EowUQ9E=; b=Rv6KmULxwd1yOKHNsj/Bf4maWvN7nqltAOyrd+OktkJpxywbrtwFWWaLTPLmXkE8UQ KpVMvv1UoHN+Brf0+GivgV2OmVKdC93QNBS4pARVfJxkeRERxdtnWPssG/Bqbe0uDvi+ HWj3/sUFjMVA3FVVQGnBWV8p+pydEOwfqBCwGAWLeaDWAXm+nTM6iyy06yl6J/w2xDOU jUCFcPAXwthQjgrCsbKBKT5y/FKn+6/UWq2LrLfHdy5YKDAiK1GukUNldakKAqqquVBz w8RKeL30I0Bh5skIToHipAUxuzIJcEKDVYciStXyTO0VBKD2fy6mQqZGU/7Da7HVEU+r feSw== X-Gm-Message-State: AOAM530RYqXByhzAlHiR9Za8J/MlJ1afItKJ+TKZBGybAl+B22swzIOB Cc49I8isEfR6dTbVe7JRcx0gXg== X-Received: by 2002:a92:c74c:: with SMTP id y12mr7242718ilp.19.1602169318868; Thu, 08 Oct 2020 08:01:58 -0700 (PDT) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id h14sm2760890ilc.38.2020.10.08.08.01.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Oct 2020 08:01:58 -0700 (PDT) Subject: Re: inconsistent lock state in xa_destroy To: syzbot , io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk References: <00000000000045ac4605b12a1720@google.com> From: Jens Axboe Message-ID: Date: Thu, 8 Oct 2020 09:01:57 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <00000000000045ac4605b12a1720@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/8/20 9:00 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: e4fb79c7 Add linux-next specific files for 20201008 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=12555227900000 > kernel config: https://syzkaller.appspot.com/x/.config?x=568d41fe4341ed0f > dashboard link: https://syzkaller.appspot.com/bug?extid=cdcbdc0bd42e559b52b9 > compiler: gcc (GCC) 10.1.0-syz 20200507 > > Unfortunately, I don't have any reproducer for this issue yet. > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+cdcbdc0bd42e559b52b9@syzkaller.appspotmail.com Already pushed out a fix for this, it's really an xarray issue where it just assumes that destroy can irq grab the lock. #syz fix: io_uring: no need to call xa_destroy() on empty xarray -- Jens Axboe