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 4E2BDC433EF for ; Fri, 27 May 2022 13:31:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 00D4F84369; Fri, 27 May 2022 15:30:43 +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="fQf1yx/U"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9A97B842C4; Fri, 27 May 2022 15:30:21 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 7BF5484347 for ; Fri, 27 May 2022 15:30:18 +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-x72d.google.com with SMTP id c1so4765992qkf.13 for ; Fri, 27 May 2022 06:30:18 -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=DGWUR+7fl10S1SCiE6nyo8oZ+ho4rilB081etgJuor0=; b=fQf1yx/UuFDfGXtBwoiaVFs/ssni5G2sd4PpD8hLjh4xpmjsd4GpqJlcmWearVW+Bo 9RiDjvBfLMRoMFnmsxUX6OHbY0tnIbZsnar214pY43hspF3MQjewJ/aCk5v0DANHUT9j QfQwhv0x9YHB0CzSPc4o12q44cp0v5Pl0I3vY= 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=DGWUR+7fl10S1SCiE6nyo8oZ+ho4rilB081etgJuor0=; b=s0Pj8i6cZ8L7WHZQUzXoPApWNTXDiuY+wCfMvR9N164UayA21OwMvO0jEnfarTr9hy zR8XhtAK2btC+BFpR6UyCM1IlhBE/nqhPXULTC96NE2/nVTjIjIqpCDlDqzJCq95XAhD Hg+jKAl4xKpai1JJGHrLkBcQ5D2Xz5KcaVThddPu6yI0x4yTBcMLRdv2FF3OkQHMQr/n /kAVspjvBRR9JBhzAMYwmw5O3cUBkCKD1x/o3l1tj2I5IE8B2ijq295V5ZVQ5QEaAbyQ TrEhb6cFYD2uBMJRO0zzjZBAwDWNHM1BzgDe65KVyosUh5hBamU/WN66/4f38tx8vktM Mvkw== X-Gm-Message-State: AOAM532tae6y29rq16fDoS/KiN57GaRWeEI3vfktwUsXNSoLtwoCQPTC ZjfKDiLI0JBTYv4X/vBhIJPYsg== X-Google-Smtp-Source: ABdhPJyR1YFenE1jrAdTHzlIwpNamjz6wbfgqmH3S3vK7vYd+uo6B94MFRtsjT1/+EB+XcpD3ihB8Q== X-Received: by 2002:a37:6296:0:b0:6a3:42a9:40ce with SMTP id w144-20020a376296000000b006a342a940cemr25896337qkb.640.1653658217236; Fri, 27 May 2022 06:30:17 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-25fd-0000-0000-0000-1003.res6.spectrum.com. [2603:6081:7b00:25fd::1003]) by smtp.gmail.com with ESMTPSA id 2-20020ac85942000000b002f90f479af6sm2600364qtz.40.2022.05.27.06.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 06:30:16 -0700 (PDT) Date: Fri, 27 May 2022 09:30:14 -0400 From: Tom Rini To: Andrea zi0Black Cappa Cc: u-boot@lists.denx.de Subject: Re: [PATCH v2] Fix CVE-2022-30767 (old CVE-2019-14196) Message-ID: <20220527133014.GF25375@bill-the-cat> References: <20220518163103.372-1-zi0Black@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ey/N+yb7u/X9mFhi" Content-Disposition: inline In-Reply-To: <20220518163103.372-1-zi0Black@protonmail.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 --ey/N+yb7u/X9mFhi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 18, 2022 at 04:30:08PM +0000, Andrea zi0Black Cappa wrote: > This patch mitigates the vulnerability identified via CVE-2019-14196. > The previous patch was bypassed/ineffective, and now the vulnerability is= identified via CVE-2022-30767. The patch removes the sanity check introduc= ed to mitigate CVE-2019-14196 since it's ineffective. > filefh3_length is changed to unsigned type integer, preventing negative n= umbers from being used during comparison with positive values during size s= anity checks. >=20 > Signed-off-by: Andrea zi0Black Cappa Applied to u-boot/master, thanks! --=20 Tom --ey/N+yb7u/X9mFhi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKQ0mYACgkQFHw5/5Y0 tyy+yAv/aj0WSfeuInsMryaZ6brxce3hCenVZ0JgpPLEhS4q4eVshai5aMzdjeQ9 rW2POLFmEazqlPjKRrvoiAw9g/SraSqVGgHU80CZFAF/vUIVrJS/XRTQSBZDMK3W ZqrvAReqUVjk6QKO7JjaDS1vOoKybAG+x6uiVbMitz/IayraUObojEYma/tykO1N BXVyQ+XUJXZBq9Yb42VMJ0JbelCPO4R7j7qnLtEyOb82vMqUDonI5Z3YCGr8pT9D 9hIQa3CZJSdTgwrAbbOca9GsnMP2KFstInHkCFvXbg6V8bwUnXLrQJ66EdPi4kzc JcHVyBWws8Urx1K/g9vGPLVAUOMMbVohcXkt2tE1Q3vV1XqpN2ajs3Z+HwHCmKiO P0P8CIC9dEFiBH7XajEot8MJpq2MA8zI8k1AL+0hDoPoYEgGeZEzBJPOHM/dwL5D v+4/lMvGiobyCAfYyqYuERxmO0YmUhAahV2j6sJ06BzlUOYvZKIMmC0DkOx6yL4q iGA8y/lw =SvmE -----END PGP SIGNATURE----- --ey/N+yb7u/X9mFhi--