Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2262325rwb; Thu, 29 Sep 2022 08:06:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4J9QZNOKR2whD/A2uCYSwSmTZkVajuJV8NIFPgLCXQj3i51XUB/jGDl3W2D7mtETwXslKz X-Received: by 2002:a17:903:2443:b0:178:221d:c599 with SMTP id l3-20020a170903244300b00178221dc599mr4030476pls.100.1664463984877; Thu, 29 Sep 2022 08:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664463984; cv=none; d=google.com; s=arc-20160816; b=nBrlj0NrKKAw+dpMXf+ZyVOu/YKyh0B2etxWYrGtl+ZIJSidrHGLr+9BuCV8W4FqBm 9qh1wwZnG8+3luCz5H67IUD4Tydhs4whLief/tvpzyPm6iLYBTgrBievwLq4xHM3gi7j 2xn0lFxE9nqynu88k9lZvXn8A7IotXXhjmv3OR3mZrMk2PwFXz+yskjCT/kMiTTwofNC WddSq582pTxDnx5J/MCQ/DsqIpkMYvdjWIEKEPiCOIswni8Nv8SqsCY3lh3s2XMkiHA+ 8sHGkVWDqrV2Wj42LYW2opxOqimqWB+hECp/xk7xAyCmow7v5Fud/hCuLUUlUCGJeH54 OtRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XdnqQwti8MU8K4U7XKcxgq3p/hXMwfXFEDlPznxZawg=; b=jbUgqRiKnpnSeIhNw2FGLFQL+efZRHuGD69xe8GsjjiDUZ9sDil4t7JJ6p3HaUY5a6 7mo5csWu0gvxrFmBSOxRptPt86bOFndjd34w31FF5QlRteq8K+TM30af1lqrf9p3DsRv rCKXPZaD4SBo3aAZXG5i2N6MGwkzURkzNAc/HY6E1LdfISuLGBsOfX6+4X2BgMoQ/7PR 7INO20t1lZLdO4ecvkcbuYgrD+1Sox4VifCavgVI6zf7hhl4e5sifmYsBWbjixH0Ivg+ lkpIu/i226dU2Hm+KrR5Ta539escHH1GfvQPkVMlj3CP+nUkYUXf4DH7Mpp3/9SIA4cX cdbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=G9+cMlJe; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a170903018100b0017676f11aebsi4012plg.5.2022.09.29.08.06.03; Thu, 29 Sep 2022 08:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=fail header.i=@mit.edu header.s=outgoing header.b=G9+cMlJe; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235813AbiI2O6y (ORCPT + 99 others); Thu, 29 Sep 2022 10:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235740AbiI2O6u (ORCPT ); Thu, 29 Sep 2022 10:58:50 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28ED149786; Thu, 29 Sep 2022 07:58:47 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 28TEwT1O008324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 10:58:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1664463511; bh=XdnqQwti8MU8K4U7XKcxgq3p/hXMwfXFEDlPznxZawg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G9+cMlJeGYN9ep/h9QScFQAOrkK48RUrtpt2tnKdc1mNGoTEU1NbtKoBC/e5jmv3S unEiy8+piDiF+wYwfqHhm/i1v7S+azIC0f84PaDGuEybl4k96+QrgxS+ZWLySgcK9q RWCUWxGYnlxtws+AiPEy3JuocJEJCuWll7fwWApgOwxKXbKZQHt39L4nQIAaXrrPbS C+MTn2fibXhWThZZxBcvacr0vf+ZbYLIccbW5AvJNwUt3UkBvd5orb2IvmW14vB71+ U+f+xTjfwD1Af1p9JQ9RdJDK9Af8wG5kUGtdPkXukw1IdUtJJ36BEwDqoeIeWUkCB3 BlTTIFfc9MRMQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 754E115C00C9; Thu, 29 Sep 2022 10:58:29 -0400 (EDT) From: "Theodore Ts'o" To: jack@suse.cz Cc: "Theodore Ts'o" , carnil@debian.org, linux-ext4@vger.kernel.org, lczerner@redhat.com, stable@vger.kernel.org Subject: Re: [PATCH] ext4: Fix check for block being out of directory size Date: Thu, 29 Sep 2022 10:58:23 -0400 Message-Id: <166446350048.149484.14790223647442624434.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220822114832.1482-1-jack@suse.cz> References: <20220822114832.1482-1-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org On Mon, 22 Aug 2022 13:48:32 +0200, Jan Kara wrote: > The check in __ext4_read_dirblock() for block being outside of directory > size was wrong because it compared block number against directory size > in bytes. Fix it. > > Applied, thanks! [1/1] ext4: Fix check for block being out of directory size commit: 013c07e4705fb994e5e56530af0bc6272884b5c1 Best regards, -- Theodore Ts'o