From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1oyRAu-0004zh-Ii for mharc-grub-devel@gnu.org; Fri, 25 Nov 2022 00:22:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyRAs-0004zW-OO for grub-devel@gnu.org; Fri, 25 Nov 2022 00:22:54 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyRAq-000850-HA for grub-devel@gnu.org; Fri, 25 Nov 2022 00:22:54 -0500 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AP5KfoP002775; Fri, 25 Nov 2022 05:22:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : in-reply-to : references : message-id : content-type : content-transfer-encoding : mime-version; s=pp1; bh=ezBAjBcMfYIIHyG41K5yi9wuHp3UxocG4T3BEkYXuZ0=; b=M7N3yImZH8m9VI3ciBUywtJrBDZ+RIFQdU15Me4D5VcWje6lbYuOpeSk7C56N2Bcym6E JYDChdwugcv3unBwVLVYebq9wbHBCq2xvYC6W7QbOldo42YyhHfvd+aA7xhlO9bZNaoR O4iUhs0aj75Fm8EPYBKOwWQyzEGFmvEDJVNkYIxmjCPv1CKpFc7LqqsfJsx5ayqVw62f vPc6Vi/DJJsRZl0m1MZHLm9+7QBiC+OKoAeO7dpvbEcvGv3GbOjgiA7bgesWDp53b+3x Nt65Qm9WXGgvPmTslHWr8sgfAbau7h50TIWj8+Pgvgu4z58Yf1Yb5qEHOH7XyGwC3At+ AQ== Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3m2qfqr15x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Nov 2022 05:22:42 +0000 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2AP5LD8p009987; Fri, 25 Nov 2022 05:22:41 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([9.208.129.113]) by ppma03wdc.us.ibm.com with ESMTP id 3kxpsa5r15-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Nov 2022 05:22:41 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2AP5Mdom36503934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Nov 2022 05:22:40 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 901DB58061; Fri, 25 Nov 2022 05:22:39 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 434D258063; Fri, 25 Nov 2022 05:22:39 +0000 (GMT) Received: from ltc.linux.ibm.com (unknown [9.5.196.140]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 25 Nov 2022 05:22:39 +0000 (GMT) Date: Fri, 25 Nov 2022 10:52:39 +0530 From: sudhakar To: Daniel Kiper Cc: Steve McIntyre , grub-devel@gnu.org, 1021846@bugs.debian.org, programmer11180@programist.ru, dja@axtens.net Subject: Re: [programmer11180@programist.ru: Bug#1021846: grub-install is broken since 2.06-3: error: unknown filesystem] In-Reply-To: <20221124150919.4gyme4ctscigrmws@tomti.i.net-space.pl> References: <20221115183132.GJ3245702@tack.einval.com> <20221124150919.4gyme4ctscigrmws@tomti.i.net-space.pl> Message-ID: X-Sender: sudhakar@linux.ibm.com Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: X3vx6FoH9I1whft5qQi7TKqL4etFQ9hL X-Proofpoint-GUID: X3vx6FoH9I1whft5qQi7TKqL4etFQ9hL Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-25_02,2022-11-24_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211250039 Received-SPF: pass client-ip=148.163.156.1; envelope-from=sudhakar@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2022 05:22:55 -0000 Hi Steve, It seems invalid Commit id which you reported. It should be 4bd9877f62166b7e369773ab92fe24a39f6515f8 did you applied below patch and tested? Could you please confirm that. fs/f2fs: Do not read past the end of nat journal entries https://git.savannah.gnu.org/cgit/grub.git/patch/?id=4bd9877f62166b7e369773ab92fe24a39f6515f8 thanks, Sudhakar Kuppusamy On 2022-11-24 20:39, Daniel Kiper wrote: > Adding Daniel Axtens... > > On Tue, Nov 15, 2022 at 06:31:45PM +0000, Steve McIntyre wrote: >> Hi all! >> >> программист некто (in CC) reported this bug a few weeks back in >> Debian. Since I applied the bundle of filesystem bounds-checking fixes >> a few months back, he can't run grub-install. He's done the work to >> determine that the patch that breaks things for him is >> >> 2d014248d540c7e087934a94b6e7a2aa7fc2c704 fs/f2fs: Do not read past the >> end of nat journal entries >> >> The full thread of our discussion is at >> https://bugs.debian.org/1021846 >> >> I don't have any knowledge of f2fs to go any further here. Help >> please! :-) >> >> ----- Forwarded message from программист некто >> ----- >> >> From: программист некто >> To: submit@bugs.debian.org >> Date: Sat, 15 Oct 2022 23:54:36 +0300 >> Subject: Bug#1021846: grub-install is broken since 2.06-3: error: >> unknown filesystem >> Message-Id: <3168731665867229@wf4nrjvtssjecb53.iva.yp-c.yandex.net> >> >> Package: grub-pc >> Version: 2.06-3~deb11u1 >> Severity: critical >> >> Hello. Since version 2.06-3, grub-install is broken: it fails with >> "error: unknown filesystem". >> I test command /usr/sbin/grub-install -v /dev/sda >> in some versions. Results in mail attachments. >> Versions older than 2.06-3 works without error (2.06-2 and lower). >> Tested versions: 2.04-20, 2.06-1, 2.06-2, 2.06-3~deb10u1, >> 2.06-3~deb11u1, 2.06-4. >> >> Disk partitions: >> >> # fdisk --list-details >> Disk /dev/sda: 29,82 GiB, 32017047552 bytes, 62533296 sectors >> Disk model: TS32GSSD370S >> Units: sectors of 1 * 512 = 512 bytes >> Sector size (logical/physical): 512 bytes / 512 bytes >> I/O size (minimum/optimal): 512 bytes / 512 bytes >> Disklabel type: dos >> Disk identifier: 0xc7177f7e >> >> Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs >> /dev/sda1 2048 22763519 22761472 83 Linux 4/4/1 1023/254/2 >> /dev/sda2 * 25866240 62531583 36665344 7 HPFS/ 1023/254/2 1023/254/2 >> 80 >> >> $ disktype /dev/sda1 >> --- /dev/sda1 >> Block device, size 10.85 GiB (11653873664 bytes) >> F2FS file system (version 1.14) >> >> $ disktype /dev/sda2 >> --- /dev/sda2 >> Block device, size 17.48 GiB (18772656128 bytes) >> NTFS file system >> Volume size 17.48 GiB (18772652032 bytes, 36665336 sectors) >> >> ----- End forwarded message ----- >> -- >> Steve McIntyre, Cambridge, UK. >> steve@einval.com >> Mature Sporty Personal >> More Innovation More Adult >> A Man in Dandism >> Powered Midship Specialty