Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E26DC433EF for ; Tue, 7 Jun 2022 16:47:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 812F78432A; Tue, 7 Jun 2022 18:46:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="T+7BTuAc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 84870842F2; Tue, 7 Jun 2022 18:46:16 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C2D11842FE for ; Tue, 7 Jun 2022 18:46:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id n197so6571731qke.1 for ; Tue, 07 Jun 2022 09:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=F21j/+c51D4g6dGav3PFigVkavFiKqjn6jt8blK8GZo=; b=T+7BTuAc9IRf3+JzoeOHYBlU4P49k164T8t9/+jHXerzCs74K5WTkqDISdydgTqqOP 7bkPrtexAfB3v9A/Q21WUM3IefQ2y1YVs0mpoh08mb3atGPZcuXXvDeoNN95x6RDXvPN W+wceDo8E4Wm8pshP9L5M5JL6f482d9W2KpsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=F21j/+c51D4g6dGav3PFigVkavFiKqjn6jt8blK8GZo=; b=Sk7YWjHyuZNEwbzp6E+PVJK/eWCI2qHQ7YTwJeysUzlgx6+Ji/mC3JxjCd49kqLwHR 45Ve/HKvj7PsNZOa5QeRLYyfhBJYdf97Iz4y6yvOZH8eJgiZ5859/ckYpKRskE3FsptP Cv3kCAPnRyiV9vYbh4OdCeYrHCDvhB9OujxXjWYY84JkJlTXeZ1JtIOUxeUhiimOvuKo JFQ5HMoYjESBOkQP5F4vnSHlKcnacTTYjrLZ3ypcX1O9csJPW753tDRLY9TsUhcae/o4 Cz3OzwwE5iwk3oAGYDD3IxKgFq3yAd4ud0gM9YBzWTwRLs9Cf8YfKplf3nn82iFm8N9Y kuwg== X-Gm-Message-State: AOAM530AI+4k7VRudgOxwNskUa0p46fTjl5EQgrXnttYguPS6tCH7zCy h1EEN94u3QQ3/MEEHy4EJnsjYpUKnKfZ3w== X-Google-Smtp-Source: ABdhPJyzUv9jjJW0pFfCJs0dgVPnLF9tiTmgKuce+2k53GaRHMvmAyrbdt52wEdz5LkocqwWW3YOyQ== X-Received: by 2002:a05:620a:410:b0:6a6:abbe:2018 with SMTP id 16-20020a05620a041000b006a6abbe2018mr12184718qkp.645.1654620371254; Tue, 07 Jun 2022 09:46:11 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id m16-20020a05620a291000b006a6bb044740sm5895919qkp.66.2022.06.07.09.46.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 09:46:10 -0700 (PDT) Date: Tue, 7 Jun 2022 12:46:08 -0400 From: Tom Rini To: u-boot@lists.denx.de Cc: "Gan, Yau Wai" Subject: Re: [PATCH] zlib: Port fix for CVE-2018-25032 to U-Boot Message-ID: <20220607164608.GF2484912@bill-the-cat> References: <20220510183659.1749717-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ExXT7PjY8AI4Hyfa" Content-Disposition: inline In-Reply-To: <20220510183659.1749717-1-trini@konsulko.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --ExXT7PjY8AI4Hyfa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 10, 2022 at 02:36:59PM -0400, Tom Rini wrote: > While our copy of zlib is missing upstream commit 263b1a05b04e ("Allow > deflatePrime() to insert bits in the middle of a stream.") we do have > Z_FIXED support, and so the majority of the code changes in 5c44459c3b28 > ("Fix a bug that can crash deflate on some input when using Z_FIXED.") > apply here directly and cleanly. As this has been assigned a CVE, lets > go and apply these changes. >=20 > Link: https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c6= 15f8020c531 > Reported-by: "Gan, Yau Wai" > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --ExXT7PjY8AI4Hyfa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKfgNAACgkQFHw5/5Y0 tyzKpQv9GdwcOeghFmuhdUj6+b0QuAFdU6UnzS2juYYim0hYXlNXsgUCqFoaR2SC /x5WVJJFpmI3eqQZ55XqIm3IIe/0/ZC6N+qkzIAzFuM/cCeT2sduRJ5aSsDU1l9w onh0n1se6lRErERNYhBDqLI9CTTy43I94Rpght2vKFJuAotjcsP0CBEf5MSi1Mqz ZNfPiUYHS2bgLsqbbONtX5FdpiF4VbabBBcIBUo5hY3+z4S/sZgR02DyrTlAKEhs r07UKkTmJlyBHDxsEW74j2R1dVzd0gUNQeuFsct8l67c4AddXBwNHOnR/3kA84Pp PQ+qkJIjsj9skVnCmktXF+FxRxYoEhd28R4c0fkv6x8qpToZK3nGhUjAYwZha9+r lOYJ6Y/9BLR44cCdVKN+n2uTmoBM/+//7WKRio1XLITMEjWdoW4S/FzYYD+yljPZ 4GckWKB9ZofGMh7xXg4wtCJowxkiRkYYz2DZQ/CygyRD0UOxceopsmACmSz6nTG3 xCVO7LfZ =7wKX -----END PGP SIGNATURE----- --ExXT7PjY8AI4Hyfa--