Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1237878iof; Tue, 7 Jun 2022 01:11:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybS9mZgOszZs4NS4Q/lGGLcFqzwn3d7gRz+Te4GSbuyJcX1YnyHXvUhs5pPOgTKNf7Ef+1 X-Received: by 2002:a17:907:e91:b0:707:c7af:93aa with SMTP id ho17-20020a1709070e9100b00707c7af93aamr25958420ejc.382.1654589519384; Tue, 07 Jun 2022 01:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654589519; cv=none; d=google.com; s=arc-20160816; b=Pwv3NZ6K67u886ZCgsS25y5PASXsnyV9W97oHX7WKBf++wjWoXSVB5HrGYcPYRCUFT FXMBOn9b79zzcBcEr4KL0X61TgYegx0GPWdrQipqNu5R8IE62FKj9dRuQZzg+ff810Ks A4O5Ozi7pdx7PYTfUC0Voo0QhlBMHNhRZX+Py9I5YaXdkwJSA+6hMUU77lcvD84wVHnE rAcBBpaPLcah7DA52diVtmo9dHTfc9u2jI+CgoJc4U4HXXfWKCbYKPiiOS8jo9aiPoIX XLdjrBB3BjdBoZHKG1sKY9NWdTH+jTZvdNAm+m+ecbJEHiz/hp7ep6VLGVe7wb32cNEs Cw2w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=w+poh8gtYCNG8Es7zEuMWkXxFTCqKP5C/9m/Dib5Cns=; b=kT/GPNgrKf/fb6CBKuv3s3tBA4h38RQXHHzRp3XIRzIanvjLirkUrnB5sUFk4TcaeM +OM2JUp6cM6EWbLLGxzD8bsnUcVs7OVmTZQZhLLBDYIzHbUfjh3RUVWQ7DKX1kkTmoV4 ssTj3zxiVGlbbqKUh1qt1SENsRXqamHHwlcpVoZ0JHNfC7gjzjn6q+6jGjJgVnn30WfH 8dRN8e/HgNgHFz58n6dygiDZcoPeWTtezPLkMWqvkrLPTBs0uDXOzLshlQiAGNx4csg0 u2wR0O6PoWmFLnmtIxSymvOJVbO1SG2j+H2ZRT63NR/ptZDht422yO61uk1nTizVHmuc TMww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=SvIVR9ZH; 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 k18-20020a170906055200b006e8c745f302si17439284eja.314.2022.06.07.01.11.28; Tue, 07 Jun 2022 01:11:59 -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=SvIVR9ZH; 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 S236541AbiFGEZq (ORCPT + 99 others); Tue, 7 Jun 2022 00:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236549AbiFGEZo (ORCPT ); Tue, 7 Jun 2022 00:25:44 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA9F2B82CB for ; Mon, 6 Jun 2022 21:25:42 -0700 (PDT) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 2574PRSr005545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 Jun 2022 00:25:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1654575929; bh=w+poh8gtYCNG8Es7zEuMWkXxFTCqKP5C/9m/Dib5Cns=; h=From:To:Cc:Subject:Date; b=SvIVR9ZHLXO1bomFUizAr/7wmMARopW+8vtjNjjR3G4UAyMrNGArzV0dpgH2Kps/Y bY3NN+xc4ApEAQTmZ5yGRRLUANa9fqGx2ytQUPLFnkeDSJQbkm3u5clzlG9KO5tEGx p3vdgbA7vEriCG67q1+p/kF7avBwd7nj30pDFffaywLJRTajlRCkCpavH5Fj92I1c8 tL8XGaAubdffyARg0QbGIulmzuxrkc8Pz9BMCGQhhFEUGtnx6Ut7aKwfoZA7O9mMP1 oB5plH1u+FW0JVAETwcQkz4fJZoeiZcu0Ycl+mBbgK5NKUNo/iwYbUXpiUAlLQVUpm +whjJfq1Ltfiw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id BD32215C3E1F; Tue, 7 Jun 2022 00:25:27 -0400 (EDT) From: "Theodore Ts'o" To: Ext4 Developers List Cc: Nils Bars , =?UTF-8?q?Moritz=20Schl=C3=B6gel?= , Nico Schiller , "Theodore Ts'o" Subject: [PATCH 0/7] Fix various bugs found via a fuzzing campaign Date: Tue, 7 Jun 2022 00:24:37 -0400 Message-Id: <20220607042444.1798015-1-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 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, T_SCC_BODY_TEXT_LINE 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 Theodore Ts'o (7): e2fsck: sanity check the journal inode number e2fsck: fix potential out-of-bounds read in inc_ea_inode_refs() libext2fs: add check for too-short directory blocks e2fsck: check for xattr value size integer wraparound e2fsck: avoid out-of-bounds write for very deep extent trees libext2fs: check for cyclic loops in the extent tree libext2fs: check for invalid blocks in ext2fs_punch_blocks() e2fsck/extents.c | 10 +++++++++- e2fsck/journal.c | 9 ++++++++- e2fsck/pass1.c | 21 +++++++++++++-------- lib/ext2fs/alloc_stats.c | 3 ++- lib/ext2fs/dir_iterate.c | 4 ++++ lib/ext2fs/ext2_err.et.in | 3 +++ lib/ext2fs/ext2_ext_attr.h | 11 +++++++++++ lib/ext2fs/extent.c | 11 +++++++++-- lib/ext2fs/punch.c | 4 ++++ 9 files changed, 63 insertions(+), 13 deletions(-) -- 2.31.0