Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp841596rdb; Tue, 23 Jan 2024 17:43:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHD6WpnbZkHjUD1mcklwUr33R5DI9c5PeflTNM78I3r3b/XW0wHG89oWjUX+eGr++hDgAX X-Received: by 2002:a05:6359:4e94:b0:175:5726:3693 with SMTP id os20-20020a0563594e9400b0017557263693mr5910605rwb.35.1706060630510; Tue, 23 Jan 2024 17:43:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706060630; cv=pass; d=google.com; s=arc-20160816; b=ASknFjQ5fnh2Hgdwjpdmn73oTGdiBeMQVVioHJ2Q2Ig/wHH8i65lt1WFCRo/fJQW7A z4T6G5xMTN5UxkvCOpznvkY3elzn5I4KSBpex+hlHj4vPfa+ZHgn3sO3U6GNPE3NeLQq 0tMw7dx4YhFNYQ4/hpRQvzHePkBtRU2FsNDL/Dn4QAB4DfV19rNa2vcBCGDEBeTQiUld Qc6Ve8dXlCHhD0Kkp9q6G/DA006+Ak8tzBdD9yTpasdDcsmZUIH2Gm6Fk3hv1SMEjZph GzsYV+DLcXO8+wotJgy8TmuUsf30kele1H0WRLDEdE7aATnWh8yWp1XvfXnBpFl1saot VCEg== 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=SmiRrmVeeh30FE7qJwrcCK9ksfiIcWxYJjVpj8saJyo=; fh=h5RcNlr7K/m5XuO1WDoG+9dlOPtcPXGsAvOySmpGVVE=; b=dIrQi7zaHgJO4juMUaOY0QpwmS2WAe6K/9S5pG3TDUgFg5pJwBr3tJ6bUkaJFeRI08 hw1T5RSAAbbsl4zxDgdpgK/loM2w3yTgPUQlWz5kLxDc7FCxlt1vnTy3hI6gwCxFj7K1 f9EnukwA/54vaoW25yacM/OwTzuIaG0/5h/eJKFUfvi2jmkOraiifQyCqFFyjGWlJoO6 Z6ehTAJ3JpG0CdcCxfB9tUus7nIm7W29b+yzMDZVMo4cjTDB1YWNZ//p6ryJxgo+vvaK qktpRI/Mewwi52dzSy6aMoxlpux8Sq4uLYAYGd8bK1HcMKZoTZQGQHLAd7nVEUKeDETz 94YQ== 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-36280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m65-20020a632644000000b005d42b072d31si1172634pgm.54.2024.01.23.17.43.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 17:43:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-36280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36280-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B8880B23415 for ; Wed, 24 Jan 2024 01:39:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0600D2109; Wed, 24 Jan 2024 01:38:59 +0000 (UTC) Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (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 E33481C16 for ; Wed, 24 Jan 2024 01:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706060338; cv=none; b=eaCVyOdL8RHor5KaTYtDdXTFgAyfQ4AA5uHD0pbTizFho8YD1Oc2CsqO52XvM18HX7XaOwDj6kH6OTb2c5DOkJZLgBfJAB6S+oYUmAdXkl4IRbWEiEzl76uFaHXyBOD3X8Ns6UZGfgreQsQDiUgebBpcWhIIksV75LOo9AqE4vI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706060338; c=relaxed/simple; bh=M4OByy/HDpQ3nE+NJeri8ZbevnYJ0vwrzaHmVGkccnc=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To:Cc: Content-Type; b=Ip+iauSWF68i8rb1XjiTQclU3gcDW+ogI8rXIpampaijoSNIORCAOB+dSKt6kMU2HtGV4UKIzUZnUHDac3jJOl4/PN/bxWSGp2Mn2XndOZc1D+U0MaCfS+DvAFG2Mcpx0WknYJpTp+DZKc1pKqNtb5Uj14gDurPd8KASstt1JLI= 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.71 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-f71.google.com with SMTP id ca18e2360f4ac-7bc32b2226aso410100139f.2 for ; Tue, 23 Jan 2024 17:38:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706060336; x=1706665136; 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=SmiRrmVeeh30FE7qJwrcCK9ksfiIcWxYJjVpj8saJyo=; b=p6DCiI2gGeE50kqLrbVYgqbPdn5u2c9HGiYR+x3kpuGzcLJntnupsu9dyIpTtpvDuG 7ahoGxn6khwdJyyTfMdatuv4pqEUnEbLwBuQscqwjQQFd/kXBW3c8UyOB7ExBsURX1KF QRHrP/3Qrnc4YOZqObx0AmFOVlFNcdn9piosKKGb99owMS2QIUm+xPPP7/om8ZFX87vL BaqT4uO/fg6yokajHdCJgoIHGoKKW81Ir0BO2wZ7jxkz1NeSp3GUvUXe0WfoKwUxplup y4MARmZiqYe0m2SaLCHAPpMunDrYOD3T89YnYhVq+lbFJ/B77X0qXFI+RKV2WKp86x8e 7e3A== X-Gm-Message-State: AOJu0Yxh+2fdZQwbjJEwJeXSBhBZ2ywPWy0O+We+bvY4CvYrfwM59J8z 919ld3Ij6lg0A/2BzsW6pKf4BgPR0Damm4o3TzFCTXW9JTCYKjndWMz395oufYpnRrzO1ZevSq4 fu2t4aGJSlnYPIoj9hbLPMV9Ji8gVxGhzqKTI/RgczZo/sJKZWP6MXsg= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:c54b:0:b0:361:a97c:e267 with SMTP id a11-20020a92c54b000000b00361a97ce267mr82660ilj.5.1706060336136; Tue, 23 Jan 2024 17:38:56 -0800 (PST) Date: Tue, 23 Jan 2024 17:38:56 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004d0ad7060fa720f3@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 want either no args or 2 args (repo, branch), got 1 > > 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, >