Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp586668rwb; Mon, 26 Sep 2022 03:18:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5n5ocRWgQZbVeXb0UtyijqWVA5rZORc/Olt2MQQD8MaAkRq6QvCgkj97FQMhh0IEGsr3m9 X-Received: by 2002:a17:907:2c77:b0:77c:59aa:c011 with SMTP id ib23-20020a1709072c7700b0077c59aac011mr17555473ejc.724.1664187520203; Mon, 26 Sep 2022 03:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664187520; cv=none; d=google.com; s=arc-20160816; b=Mr9CuZwSoi0RQiPNhm9itH0oUz87IXWxYiHubDNtn2nVOH5oo9Ku263c2ULQ0CZoTy 8TfKucmbIgXNlgpa1JprAjDJi6n9yMgkgTAVt0uhKKfr6KayUrmPWIvFlWb5OHOFNLKh lbdNcSpPqC59TfKnP5zENnrv477uQmbei5RqzjTNpy0aWmQojXgyvh4B5SWJp7KWL283 sy2k7+ULPy5TSz/Mi3X7ua3UmDCeXO7mkZg/hAWroxOOyeZGlS3mHMRK7CePkrYhBn04 mn61CHpaMzHDTN4vtA1IdQYTZcS1NorIu6AOzbGfojq3L4HlTdFN5YkUIKRNp4FJ1oQ8 y9NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=RMivvzdJImEjzPUG1xZSPrb1sw7OyHM+Raq97VRxsCA=; b=tlgyPB97RZxRrZsRQGDtTd+pqm9wjlMpfmxbd9N792JvVCrGlcPRMGiMmw/OqInsFJ 3w8sPsWMC6BYuHxWgRQVVcpBCvIGzDcgM8bB2VctYP31uOFg1o1ZmA9UdZCSW7F2qJZl fcCBMvYL54iizojgLTB1eOh/OvEYXYCPA6B9iFKMg2SXulwvRWGdDXQAd+7ExUT2k5fY OdIOLxqSH9NM36L2TsbY10myXCnDtqcxYCszAz/8cjriGWn7dXqwyaT6K4uikOTJpXr7 cDvCE1pYcKXXpmSO97huur3duDud/4XEieUUo4ud8W00A/zRDPlNEtcT7Ev59sfBGTyp 68FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X3Y2zEGl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a056402269000b0043c2e89d0acsi17971855edd.3.2022.09.26.03.18.11; Mon, 26 Sep 2022 03:18:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X3Y2zEGl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234851AbiIZKGK (ORCPT + 99 others); Mon, 26 Sep 2022 06:06:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234602AbiIZKGC (ORCPT ); Mon, 26 Sep 2022 06:06:02 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68CB73719D; Mon, 26 Sep 2022 03:06:01 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id n12so9372055wrx.9; Mon, 26 Sep 2022 03:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=RMivvzdJImEjzPUG1xZSPrb1sw7OyHM+Raq97VRxsCA=; b=X3Y2zEGlEdX2dReB7gHnUjEzNL04KOKJuH4vCtJeA5w2XdnRJitoAAVgOota75m3jY JUk1jJxzOCBqVvA/U900zVK712ziT7DQKRD5XeXNJZMfOQDLDpxCz07rAcsOBNVzyuM6 FQbUYasbpX/PZKfEoQkdatiEjwXvkOoflouoGVhXVotR7ljGE5SomXU44kt74+iAjEXN lt0cmMHhQpoOxSUhyulZ5bRAyvowstIGUEyyba6bQ2jj+P0mwi6Cc/vdrLbpYqzBpMzI L30Q623PxQvZ6GC/YXVUHSRvEoizLuF6Ia2AcL1HTgkdHgD0jAnhgIN3zYXpBineAsE0 cdbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=RMivvzdJImEjzPUG1xZSPrb1sw7OyHM+Raq97VRxsCA=; b=ZcxtnKqAkkmvCUzcMjWJubDhLhXb33eZz+a/BltI6958IB5MtaS8p9u6ON7AB4jKlP DXoAF3DRgkI+jrCztcKHmc8qO+onupy+BYpaorE3WeAFeMG5wdRVYPHJFt1e4deDm4yu DzaQd2jHuLJQ821CDH+YHpzuKrIEaVerB9Qi9me9A1xd+PIZ/PcL/n9fW4XVCpiGGY0v DdpsxMRTg4rtioGRXMgWYSDlV7mUGGx6NAIwYtLbOdeNptUhOJUllseq675NJJIxtgem OG7gV5ahcJvym/o+62yMaHjbbzz2IBlnq/ERtVRvxccBfOYG0C7PnomicmPDU2vVYEZg pikw== X-Gm-Message-State: ACrzQf1pnDXkjdGcvPYFrV0b+6JNRgzYexBwywhHI+qJoNfuXafDXa54 nEF3uRQ5pAgDuPoQxUV/BgYWYWzaQwk= X-Received: by 2002:a5d:65ce:0:b0:228:d8b6:d1 with SMTP id e14-20020a5d65ce000000b00228d8b600d1mr12928071wrw.486.1664186759884; Mon, 26 Sep 2022 03:05:59 -0700 (PDT) Received: from [192.168.8.198] (94.196.6.209.threembb.co.uk. [94.196.6.209]) by smtp.gmail.com with ESMTPSA id z5-20020a5d6405000000b0022af9555669sm16251734wru.99.2022.09.26.03.05.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Sep 2022 03:05:59 -0700 (PDT) Message-ID: Date: Mon, 26 Sep 2022 11:04:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [syzbot] KASAN: invalid-free in io_clean_op Content-Language: en-US From: Pavel Begunkov To: syzbot , axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <00000000000091b65005e983c19d@google.com> <8c9845cf-a5fe-21c0-10a5-2369758dd23c@gmail.com> In-Reply-To: <8c9845cf-a5fe-21c0-10a5-2369758dd23c@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/25/22 18:54, Pavel Begunkov wrote: > On 9/25/22 18:29, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:    aaa11ce2ffc8 Add linux-next specific files for 20220923 >> git tree:       linux-next >> console+strace: https://syzkaller.appspot.com/x/log.txt?x=1608cadf080000 >> kernel config:  https://syzkaller.appspot.com/x/.config?x=186d1ff305f10294 >> dashboard link: https://syzkaller.appspot.com/bug?extid=edfd15cd4246a3fc615a >> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 >> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=144acdef080000 >> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=10686540880000 >> >> IMPORTANT: if you fix the issue, please add the following tag to the commit: >> Reported-by: syzbot+edfd15cd4246a3fc615a@syzkaller.appspotmail.com > > #syz test: git://git.kernel.dk/linux.git for-6.1/io_uring Should be similar to the previous net/op_clean problem but now zc and because of that we set CLEANUP too early. Just a guess, will take a look at the repro -- Pavel Begunkov