From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net ([212.227.15.19]:54211 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753075AbeGCXiK (ORCPT ); Tue, 3 Jul 2018 19:38:10 -0400 Subject: Re: A list of bugs in btrfs found by fuzzing To: "Xu, Wen" Cc: "linux-btrfs@vger.kernel.org" References: <4A4B5ACC-09BA-4C26-B062-5454DA4B60F8@gatech.edu> <802fb262-8204-1639-9a8d-0829881a2270@gmx.com> <6408ed6e-12c0-c34c-a940-c559e238a212@gmx.com> From: Qu Wenruo Message-ID: Date: Wed, 4 Jul 2018 07:38:00 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BZDzimyaxOYGXGyLKIxRKAEZBXP7YQUbS" Sender: linux-btrfs-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BZDzimyaxOYGXGyLKIxRKAEZBXP7YQUbS Content-Type: multipart/mixed; boundary="ESBFuAIwATqBtCUhTlKIOe3zT4nbPpPNo"; protected-headers="v1" From: Qu Wenruo To: "Xu, Wen" Cc: "linux-btrfs@vger.kernel.org" Message-ID: Subject: Re: A list of bugs in btrfs found by fuzzing References: <4A4B5ACC-09BA-4C26-B062-5454DA4B60F8@gatech.edu> <802fb262-8204-1639-9a8d-0829881a2270@gmx.com> <6408ed6e-12c0-c34c-a940-c559e238a212@gmx.com> In-Reply-To: --ESBFuAIwATqBtCUhTlKIOe3zT4nbPpPNo Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2018=E5=B9=B407=E6=9C=8804=E6=97=A5 07:26, Xu, Wen wrote: > I see, then does BTRFS have a dev branch for merging into mainline?=E2=80= =A6 We have, although these fixes are not fully merged yet. https://github.com/kdave/btrfs-devel/tree/misc-next Thanks, Qu >=20 > Thanks, > Wen >=20 >> On Jul 3, 2018, at 6:36 PM, Qu Wenruo wrote: >> >> >> >> On 2018=E5=B9=B407=E6=9C=8804=E6=97=A5 00:27, Xu, Wen wrote: >>> So this is the dev branch of btrfs?=E2=80=A6 >> >> Just my branch of all the related fixes. >> >> Thanks, >> Qu >> >>> >>> Thanks, >>> -Wen >>> >>>> On Jul 3, 2018, at 9:36 AM, Qu Wenruo wrote= : >>>> >>>> >>>> >>>> On 2018=E5=B9=B407=E6=9C=8803=E6=97=A5 20:37, Xu, Wen wrote: >>>>> Sure, thanks for your efforts! So as I suppose, 199833 and 199835 a= re implicitly fixed by these patches as well? >>>>> >>>>> -Wen >>>> >>>> Yep. >>>> >>>> Kernel can know detect all related chunk <-> block group mapping pro= blem >>>> in all 6 images and exit gracefully with error message showing what'= s >>>> going wrong. >>>> >>>> You could also test using this branch: >>>> https://github.com/adam900710/linux/tree/tree_checker_enhance >>>> >>>> Thanks, >>>> Qu >>>> >>>> >>>>> >>>>>> On Jul 3, 2018, at 4:32 AM, Qu Wenruo wro= te: >>>>>> >>>>>> >>>>>> >>>>>> On 2018=E5=B9=B407=E6=9C=8801=E6=97=A5 08:06, Xu, Wen wrote: >>>>>>> Dear BTRFS developers, >>>>>>> >>>>>>> I would like to know if these issues are fixed or handled? Thanks= =2E >>>>>>> >>>>>>> -Wen >>>>>> >>>>>> All these images should be addressed by the following patches now:= >>>>>> https://patchwork.kernel.org/patch/10503415/ >>>>>> https://patchwork.kernel.org/patch/10503413/ >>>>>> https://patchwork.kernel.org/patch/10503403/ >>>>>> https://patchwork.kernel.org/patch/10503147/ >>>>>> https://patchwork.kernel.org/patch/10503099/ >>>>>> >>>>>> Some of them may need extra cosmetic updates, but the basic fix sh= ould >>>>>> not change much. >>>>>> >>>>>> If you have any newer fuzzed image which could pass kernel mount a= nd >>>>>> cause unexpected behavior, feel free to submit them to btrfs maill= ist >>>>>> and kernel bugzilla. >>>>>> >>>>>> Thanks, >>>>>> Qu >>>>>> >>>>>>> >>>>>>>> On Jun 3, 2018, at 6:22 PM, Wen Xu wrote:= >>>>>>>> >>>>>>>> Hi btrfs maintainers and developers, >>>>>>>> >>>>>>>> Here are a list of bugs found in upstream kernel recently. Pleas= e check: >>>>>>>> >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199833 >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199835 >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199837 >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199839 >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199847 >>>>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=3D199849 >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Wen >>>>>>> >>>>>>> -- >>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-b= trfs" in >>>>>>> the body of a message to majordomo@vger.kernel.org >>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.htm= l >>>>> >>>>> N=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDr=EF=BF=BD=EF=BF=BDy=EF= =BF=BD=EF=BF=BD=EF=BF=BDb=EF=BF=BDX=EF=BF=BD=EF=BF=BD=C7=A7v=EF=BF=BD^=EF= =BF=BD)=DE=BA{.n=EF=BF=BD+=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD{=EF=BF=BDn= =EF=BF=BD=DF=B2)=EF=BF=BD=EF=BF=BD=EF=BF=BDw*=1Fjg=EF=BF=BD=EF=BF=BD=EF=BF= =BD=1E=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=DD=A2j/=EF=BF=BD=EF=BF= =BD=EF=BF=BDz=EF=BF=BD=DE=96=EF=BF=BD=EF=BF=BD2=EF=BF=BD=DE=99=EF=BF=BD=EF= =BF=BD=EF=BF=BD&=EF=BF=BD)=DF=A1=EF=BF=BDa=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=EF= =BF=BD=1E=EF=BF=BDG=EF=BF=BD=EF=BF=BD=EF=BF=BDh=EF=BF=BD=0F=EF=BF=BDj:+v=EF= =BF=BD=EF=BF=BD=EF=BF=BDw=EF=BF=BD=D9=A5 >>> >>> N=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDr=EF=BF=BD=EF=BF=BDy=EF= =BF=BD=EF=BF=BD=EF=BF=BDb=EF=BF=BDX=EF=BF=BD=EF=BF=BD=C7=A7v=EF=BF=BD^=EF= =BF=BD)=DE=BA{.n=EF=BF=BD+=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD{=EF=BF=BDn= =EF=BF=BD=DF=B2)=EF=BF=BD=EF=BF=BD=EF=BF=BDw*=1Fjg=EF=BF=BD=EF=BF=BD=EF=BF= =BD=1E=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=DD=A2j/=EF=BF=BD=EF=BF= =BD=EF=BF=BDz=EF=BF=BD=DE=96=EF=BF=BD=EF=BF=BD2=EF=BF=BD=DE=99=EF=BF=BD=EF= =BF=BD=EF=BF=BD&=EF=BF=BD)=DF=A1=EF=BF=BDa=EF=BF=BD=EF=BF=BD=7F=EF=BF=BD=EF= =BF=BD=1E=EF=BF=BDG=EF=BF=BD=EF=BF=BD=EF=BF=BDh=EF=BF=BD=0F=EF=BF=BDj:+v=EF= =BF=BD=EF=BF=BD=EF=BF=BDw=EF=BF=BD=D9=A5 >=20 --ESBFuAIwATqBtCUhTlKIOe3zT4nbPpPNo-- --BZDzimyaxOYGXGyLKIxRKAEZBXP7YQUbS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEELd9y5aWlW6idqkLhwj2R86El/qgFAls8CNgACgkQwj2R86El /qhmIwf/VL53daTRyZZyf/djxA+ytkai97WzqYNN4196B76U0ylM6Oy/UuWOaUJb /3W9Xjm4O8fCK9CTk/WLbBnRDaqrj59XoL/Q/9y3u8B/EqkVDBh+9jwvaljJjv7N y8oXRn0rZoISmZ8PAER2hw5qO/koY5Ge9dXMQC9HdJ8OaSNAVNhgPezNlOJZGg17 akX2uDtuMaTK9Wpn9X+zwWw3YP5eMe9wSq5ddSSC35v7We3e5ECcM+F+pRxttb0c dh4tHfDUH5/6wVHdN3g9UFWYf5SyRAFZYc7Vwr8ojDt9qS38LQPmCUUWdDtyXbuM Tnqw0VWaWEGCGgwrMi6p41Xvist5Gg== =nu/y -----END PGP SIGNATURE----- --BZDzimyaxOYGXGyLKIxRKAEZBXP7YQUbS--