Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2364847imn; Mon, 1 Aug 2022 23:11:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR62bxPzUC7Grr3gNZmG+MBvXR/IqnAcXQuEJQI0l+I0fATDQVBcqqc/+tabetwBI+zkzi7E X-Received: by 2002:a17:903:228c:b0:16e:df74:34e5 with SMTP id b12-20020a170903228c00b0016edf7434e5mr11068927plh.49.1659420697769; Mon, 01 Aug 2022 23:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659420697; cv=none; d=google.com; s=arc-20160816; b=nH6fjTmNpDzSAtUSV0XyPcqLnm87G5k5UQeuhRY6fFTHLtvCc1H3BY5evLwhYTDWxf 2H+BH7DBvHcgd6vL86HgKpR+fu6EHi5lli1NSDWQwEHkhPo7vuXHDKtJAC+uE/zwra0k NzVgUOdF8J7plHpXE5eVAjFPZcj6LukF4o44BIlOQACK1aDpwDptmNDulAilo4qmYdCZ dNi/4Xum84cRu9LGAm2xih/jGtb4rhtvT8yvb3adp0vkuTETABLrdUU5NglHtjaJVA4h 2A1kXS7Jdnb0XTavvSSOZX01Y0c+K0hCq4xK2Eu65ChgvgIGpL3aAjJ/9k2EJOtayKOs DPUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:auto-submitted :content-transfer-encoding:references:in-reply-to:message-id:date :subject:to:from:dkim-signature; bh=wXrM0KD8xLL43A0PZdsxwyl5uppWrjEp9TCqV0kLotA=; b=gTI6UyeYsXt8uNWymQXqdme1RUZBN4yhYbWjn7/B//8Ucn3Ky3Z6T4t3feWYfIVQer gREbLhVWemazZCDqtYuTXn99pGD6xv8HsDZqCGG6JJ2wCIcp+GFectQnvN+sSMwxO4/n /pUehsp+x/VJ/EFxDXRw+D6xR5odbw18EgHCdBdh4g0jH7BjCbL1xl82B3Vge8WCcHGz WftjmQdjPq5JjG/cnsynbtQLJO5MSYIfQGcBVCrRP92K+uHt+MbWlwb81AI5DStrzn0H lLoNxOuPrjiLyzgDlFshFcuZ6X48vucezXeF+ys8QAqfUO/3SvUdL2TiCC7paSMQWEbX ocaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t++iT/1n"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb10-20020a17090b008a00b001f31a3344adsi14939017pjb.44.2022.08.01.23.11.22; Mon, 01 Aug 2022 23:11:37 -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=pass header.i=@kernel.org header.s=k20201202 header.b="t++iT/1n"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232875AbiHBF6X (ORCPT + 99 others); Tue, 2 Aug 2022 01:58:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbiHBF6V (ORCPT ); Tue, 2 Aug 2022 01:58:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 642211BEBE for ; Mon, 1 Aug 2022 22:58:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1888EB816A3 for ; Tue, 2 Aug 2022 05:58:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id B55E2C433C1 for ; Tue, 2 Aug 2022 05:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659419897; bh=wXrM0KD8xLL43A0PZdsxwyl5uppWrjEp9TCqV0kLotA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=t++iT/1n+7qfHq1dOXll9cPCbaenLmeQwvceIKMAV9KLXon06TSysOanz61AIpnuq 510TKUeF32rvj7M/4BxxhU2OyfFjf/6HWh+kRdYqhqduxszvtUAh1b/RKvSXbuLJNk K20sCJ2zv8y4Ph6Q9bjCYPbBJmvkR0sl+wSt92MKR+n/YyYR0n8M8hzaQDV2kFu6hx w5EYGGQoIqShLTDzUngXIjjGGVsFVDNAzr5TjpH81hOOlA8GtKLgTWQcXz+WIRmXc3 iZNga8Vc/ub64PclKIZ6+BxAUSeHzt9XjosITFBSo6UksV2Nq/h+yOr4aIMdK+cjwa TO60Oq1NzL51A== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 9EB01C433E6; Tue, 2 Aug 2022 05:58:17 +0000 (UTC) From: bugzilla-daemon@kernel.org To: linux-ext4@vger.kernel.org Subject: [Bug 216317] "ext4: lblock 0 mapped to illegal pblock" after upgrading to 5.19.0 Date: Tue, 02 Aug 2022 05:58:17 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Product: File System X-Bugzilla-Component: ext4 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: high X-Bugzilla-Who: gerbilsoft@gerbilsoft.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: fs_ext4@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 https://bugzilla.kernel.org/show_bug.cgi?id=3D216317 --- Comment #2 from David Korth (gerbilsoft@gerbilsoft.com) --- After doing some searching, it looks like this commit may fix the issue: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?h=3D= dev&id=3Df50f5a5eac8092fb9b3365ca4b1d7407cdab8427 ext4: fix reading leftover inlined symlinks Since commit 6493792d3299 ("ext4: convert symlink external data block mapping to bdev"), create new symlink with inline_data is not supported, but it missing to handle the leftover inlined symlinks, which could cause below error message and fail to read symlink. ls: cannot read symbolic link 'foo': Structure needs cleaning EXT4-fs error (device sda): ext4_map_blocks:605: inode #12: block 2021161080: comm ls: lblock 0 mapped to illegal pblock 2021161080 (length 1) Fix this regression by adding ext4_read_inline_link(), which read the inline data directly and convert it through a kmalloced buffer. --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=