Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp841538rdb; Tue, 23 Jan 2024 17:43:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUGxj34y2ekIBFWEtHUDBkBPcMskEnLgjdLHhdEUKuZmq/t4hO14aeYCwuD6FxrmzanDWY X-Received: by 2002:a05:6871:5211:b0:210:90fa:1ff7 with SMTP id ht17-20020a056871521100b0021090fa1ff7mr2431248oac.74.1706060619046; Tue, 23 Jan 2024 17:43:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706060619; cv=pass; d=google.com; s=arc-20160816; b=0o9nncOtlIIwNTkraoQe1J3KWX32eCMlWAsIJzHARL7trvdq6H+bIdlrH2ocbk3uE5 Hb2bjXaQ3KarkWi2k7LBzd/+JcmXjuuL01Ts1ga6AGlcS+ZpxqJ6i0zFZduoJTsw1016 51Ma432Fjff0hNI2iCoJ/Xi8Nw3wgqDs+HE2mc6sTg8YgYmqFuTDiL6Nk4FrlZ55nyep JP+UTLzkvGjR8+QDj5wtbf37D1cnMCAQVZaprevnPw+E5qnm0xG6QCGHx/jf8X5D9cIP 8oRnl1Vd41P3up0pGXYf0V6erRV1VXydraNMuz6j1pB8JyzHS6RJ7Wa8zhoVYOtoOI7S IVRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=K5gZh8/QdnqiVwwPYOQzQKaz2g82YQry5vkssfRH5us=; fh=h5RcNlr7K/m5XuO1WDoG+9dlOPtcPXGsAvOySmpGVVE=; b=eQRqgsd/J7I72QXwKofrGTcElUD2w6PO2hLwp70MJmMMqsXs08ONS/dG8m6TMr4F76 PPxlnLCDr11XMjz/uKTc3Pt5iGeKGHyxDXU0m8g73dVcBp/L9IfQLhxzaiZ+BkuM6EfI a2Medxo5RG3xFMvSZ08UZh0DAH142B9dphZCcc7KnY9mQ42NHv+m4B2puHcWTMctmAhi qTpXgyXVBx4PLF1t2QDOKHf54Y1Ci5xI3S/acp/FDIlp1gAz/6gQkPXZAnpBgEVSERGi zaow6/jRIxFyPNyGbdZGB3GTnLbfbqKBZEAHeCSP53jSdFPPgNO8xQBUagk+AyduNoQz dkqA== 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-kernel+bounces-36284-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36284-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. [147.75.199.223]) by mx.google.com with ESMTPS id t13-20020a0cb38d000000b006819bb01c60si9238936qve.598.2024.01.23.17.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 17:43:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36284-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-36284-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36284-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 C6FAD1C22356 for ; Wed, 24 Jan 2024 01:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94FF31FB9; Wed, 24 Jan 2024 01:43:28 +0000 (UTC) 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 C14331874 for ; Wed, 24 Jan 2024 01:43:26 +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=1706060608; cv=none; b=BbbtmbQjVAJanGalinIm772x0hyNFznutS+EaoSYmFHglTjm02UVkPKDJWsN9NNb7GwKpasMi+WPbxENlZe+J/fUOae3Vg/mK1UWiH0iyL2iPofbb8bSMBQHNELf+q8TmPcPBMlkcFN3+plivMocXkPRl6HYtzOwEGGESIsYQHo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706060608; c=relaxed/simple; bh=R5aFdD+Xe0TcHNwIgY6OB8nZAzW5dpO7Hy+8bxGeQWc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=A7aWDzY+Npt754k0j0K5xAn0Uu2D/gvSasx5Oojf9Ib9H3TkUZr5+M0O4XsFixKSDVntqb9ZQEqhgQ5xQXLIknQxjUN9ZCvJOet9jwyByPhJZbukBfRIjROI/0BjGblCakKLUxeypwQmiDZsITVaOhIwTT0RI4AClQRGYIVYh/U= 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-7bf0305ded5so286516439f.1 for ; Tue, 23 Jan 2024 17:43:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706060606; x=1706665406; h=cc: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=K5gZh8/QdnqiVwwPYOQzQKaz2g82YQry5vkssfRH5us=; b=jSq1pujd1JEBcW2FCRUPaIZfhW423wW1QTRkjLLKClRyMNoTZhtZ1VKguhur5b9rf0 pZIr9ajg6s+jlboujneB028s8m00TG/an2qysOXcHQOJD+42VcHt1UYc/GhbAHKs+Zdm WxMkQpR2/EDtbcKTMCTPLmt9I5LnBBCmUzNDuKWRLPdEUoCd3o3HN/JkC2IEAW6wg0f5 EV4WRLz1bJ9PKpGGKguyJ7yAwxAKsy0TULmS15z4m6IYPodbot1W6DBh64VQZ9VFQEVJ K5qsATpDpEv9p6D0kR1hsyaPBmbvOWVIUcOIu0m5Wm0lxYCkquwtty8PpR7xIsf+tdi/ B+HQ== X-Gm-Message-State: AOJu0YxzUBPUXITQNftTvh+q2+K8cJb6I3KJQ9mSaZ+NnO2siTiErccU aI9DR5N+uuBrPQnMX09q3EUQ5Yy4yKmDp9ucFBri/yVy0eXg3ucn0dRyRJI4V7bdZIJK/PZ8ExY xAhNSJ3jMc2QaiBIQYmkqdyYGYbiPgyCgLN/3FDu4RODcoUX0Ks67Gjk= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6638:4115:b0:46e:daeb:40f4 with SMTP id ay21-20020a056638411500b0046edaeb40f4mr9223jab.3.1706060605952; Tue, 23 Jan 2024 17:43:25 -0800 (PST) Date: Tue, 23 Jan 2024 17:43:25 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000621a0c060fa730a4@google.com> Subject: Re: [syzbot] [jfs?] WARNING in dbAdjTree From: syzbot To: eadavis@qq.com Cc: eadavis@qq.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" > please test WARNING in dbAdjTree > > #syz test upstream master "upstream" does not look like a valid git repo address. > > diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c > index 8eec84c651bf..bed14d5169f8 100644 > --- a/fs/jfs/jfs_dmap.c > +++ b/fs/jfs/jfs_dmap.c > @@ -2294,6 +2294,7 @@ static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, > */ > dbitno = blkno & (BPERDMAP - 1); > word = dbitno >> L2DBWORD; > + printk("dbitno: %d, blkno: %ld, word: %d, %s\n", dbitno, blkno, word, __func__); > > /* block range better be within the dmap. > */ > @@ -2875,8 +2876,9 @@ static void dbAdjTree(dmtree_t *tp, int leafno, int newval, bool is_ctl) > /* pick up the index of the leaf for this leafno. > */ > lp = leafno + le32_to_cpu(tp->dmt_leafidx); > + printk("lp: %d, leafno: %d, tp: %p, %s\n", lp, leafno, tp, __func__); > > - if (WARN_ON_ONCE(lp >= size || lp < 0)) > + if (lp >= size || lp < 0) > return; > > /* is the current value the same as the old value ? if so, >