Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp653862lqh; Sat, 4 May 2024 17:35:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUqB86tJoEdtmruWRYKK6Kx5HJRlh+QW2zwAyBDgHuCUpoM2Tb8ac1EduKxBC4ebH0mcLvbB4PF7nJ11kZDIY6mIF8EoXrGfp8WBr22w== X-Google-Smtp-Source: AGHT+IHX/Hp56fAK5Uzch6s0Dt+BqdOcjB+8VE4+QujcToxJKmqf6ixmmQJcpso9lyRXMb0FBZvM X-Received: by 2002:a05:620a:c08:b0:78e:fd29:84bf with SMTP id l8-20020a05620a0c0800b0078efd2984bfmr6400037qki.74.1714869315650; Sat, 04 May 2024 17:35:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714869315; cv=pass; d=google.com; s=arc-20160816; b=UE2PoRXxzoR/0YU21TXjl/R6Y6SNCy+GbC+sl++tZZkpiOWcLYiLK8QMynDbiENHKZ Gij1XqXlpQbTbeZEo8zd82qJ24e3gveunVldMGCBgEEXCL+SHLLCrJQVc4Qa+QtitmKX bd0blwRPwL1H6McrcaMsTxmQzarFcOwCvIaXpoE1p0lZSwgK7dPC12p+WRJD5REF5xWy 1Ko7kFlOjtwFGapJsnuORd4WHTmtxbMjvUIRu9vACRomPmDuZLUMGvhOvTgQrwxdUu4h 62lVTTcVFLcVG2jSC6mSb7xR4iqqhqbYJTF+YxfZGSNVPT3ABfpNm2j4ZMISmKRjgKOt ZN0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=GQCgYFbXCI7Q2niaNhE+aI9odULkuIJr2iIWjifovcE=; fh=zFu2LruXjeKHT7hPBvdjLljNFD0yQdpEQ0m7riz0gDg=; b=J62f4YlyjjjmHSlC8PQTfj4Dfrt45uTfkKYV8C3rUklcrJCZsGf7anFlWeRcRZucOM wa4/eCR7L9YNjpv93JolDxAPMHoNA20/SqF2TLQMMKBJr7DnGb6UGeCPTOYfQuxxMg0m CIKSemV9nbgkvLl8It22hM4S3gtmixWP6efyl3kOSYuDwKabfhZtytaIbtrszHP3xgfW 8x9kyLlCA65ZgpjnDhjObmlaPbUtVgz+BT7h169znp3J6L63tC2mXWkuw2wldOItpohM S7btvr8uBm2IU6I1eMJxC7gUeC6PsS+G/ZtFb3UNbVbwxjIO+9g+Rw3MJDlDLVo/Yb2J So1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-crypto+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l9-20020a37f509000000b007926ae5563csi6123069qkk.59.2024.05.04.17.35.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 17:35:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-crypto+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 62C8D1C20B8A for ; Sun, 5 May 2024 00:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16CF515A8; Sun, 5 May 2024 00:35:07 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EE27816 for ; Sun, 5 May 2024 00:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714869306; cv=none; b=SqlzA7Apy4IroE6Bpk9PDKRl0PxEYB5LwA7ol5Epw0JdqY1By0wsLjp38C7oEQyjUEZQmd6s3muuToKeLANgqJg3NhvmyLCDNs3A1FRaaOPzMGBd5aB+A7Ri8uudpiTyANSmL6aa33qLflF/TOfE2sr/eWZ5cyiZSduOOE6FO+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714869306; c=relaxed/simple; bh=3lWAJAfUZvClkbre3n9Mn5LFR4Th6NocSJxukhF+bcc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=aVEzkGPM7Rrue732ZXxCzPsm9bsozO4ui6w3C9xnKO0bAb5D9KxdfJhWNLHFoiKIr5CLCyRYU09q2IB2Id8tFAB37rFs290R6hBib2FbdK7v7ck/CVDFPdF1NWBtcY1y/omGhjn5PtEaC/YCE/7nT+Gepxa2BVLP/6UYXPpTKHI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f69.google.com with SMTP id ca18e2360f4ac-7d9d0936d6aso114849739f.0 for ; Sat, 04 May 2024 17:35:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714869304; x=1715474104; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GQCgYFbXCI7Q2niaNhE+aI9odULkuIJr2iIWjifovcE=; b=lKtIcB7ZZtI4BgZ5+MdIb42hlyjBHa2esTXWn1AmLJJOuH3qkluK4YT4KSIaoeCw4H UlNAlUQ44S/idibgY6AUsKeG9cVsrx666+RpqWu2jXylsLFIxtLuwLS6R9m2qbMCi5/c fNwOehjAlbYynllZt945yCraaAoqKEjHZpU3ht6SLa7Fyp/iKqYJNUDMNMjd0E00a09J FltBszTUzuNPoO8LfSvyaeXLJiFhgevs7Gi/BVnsFM6BZvk6gEjHcF6+gy7LrDvcDX+q lV0OMJ1VcXyS6Ywuy+AcuQTVIW1rUmyGik8KzIW0fLG/JNHgwhTf5r4MdoHqJm+vSxYM 1+KA== X-Forwarded-Encrypted: i=1; AJvYcCVtMIm02XHBnFDoWEw7ucylIfIaQXr0bl8Y/MyIJ75lzZUgv1o1SW+vqIPbr4YNcgEqQpedvw1CBl+Mq20WLYC/BFjd+jrzAZqw8vSX X-Gm-Message-State: AOJu0YwJrtF9AMBk8qC5eRS+xkgnhT8Xn6XvAjkIxRBujWR2MbuxcFzJ LGt/aCAiD1gzeV9KcVLUn64TH9Mlrxjw6OT45oDwq9Qt8FhpDXzZTqD7Ruk2dNUaPrDNDiGY+QI +s0ZVeg2992lvRrV+B+DOClWE28I+tsj8cxAcse0EcTFfb6z4kPzf7VU= Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6638:614b:b0:487:cd4:4bda with SMTP id ez11-20020a056638614b00b004870cd44bdamr247216jab.4.1714869304673; Sat, 04 May 2024 17:35:04 -0700 (PDT) Date: Sat, 04 May 2024 17:35:04 -0700 In-Reply-To: <0000000000003392c606179ddd1a@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000bdedb60617aa1f12@google.com> Subject: Re: [syzbot] [bcachefs] KASAN: use-after-free Read in scatterwalk_copychunks From: syzbot To: bfoster@redhat.com, davem@davemloft.net, herbert@gondor.apana.org.au, kent.overstreet@linux.dev, linux-bcachefs@vger.kernel.org, linux-crypto@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot has bisected this issue to: commit dc6f2eb000d76ac8f93f4d59a8012ddfccca927a Author: Kent Overstreet Date: Wed Apr 17 05:26:02 2024 +0000 bcachefs: make btree read errors silent during scan bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16629450980000 start commit: 9221b2819b8a Add linux-next specific files for 20240503 git tree: linux-next final oops: https://syzkaller.appspot.com/x/report.txt?x=15629450980000 console output: https://syzkaller.appspot.com/x/log.txt?x=11629450980000 kernel config: https://syzkaller.appspot.com/x/.config?x=8ab537f51a6a0d98 dashboard link: https://syzkaller.appspot.com/bug?extid=8c4acf719c3fc41e8439 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=111abc97180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10059004980000 Reported-by: syzbot+8c4acf719c3fc41e8439@syzkaller.appspotmail.com Fixes: dc6f2eb000d7 ("bcachefs: make btree read errors silent during scan") For information about bisection process see: https://goo.gl/tpsmEJ#bisection