From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf] bpf: properly enforce index mask to prevent out-of-bounds speculation Date: Thu, 24 May 2018 08:20:47 -0700 Message-ID: <20180524152046.dfbxehkceqfxrnis@ast-mbp.dhcp.thefacebook.com> References: <20180524003253.2918-1-daniel@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Daniel Borkmann Return-path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:46327 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966472AbeEXPUv (ORCPT ); Thu, 24 May 2018 11:20:51 -0400 Received: by mail-pf0-f195.google.com with SMTP id p12-v6so1043870pff.13 for ; Thu, 24 May 2018 08:20:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180524003253.2918-1-daniel@iogearbox.net> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, May 24, 2018 at 02:32:53AM +0200, Daniel Borkmann wrote: > While reviewing the verifier code, I recently noticed that the > following two program variants in relation to tail calls can be > loaded. > > Fixes: b2157399cc98 ("bpf: prevent out-of-bounds speculation") > Signed-off-by: Daniel Borkmann > Acked-by: Alexei Starovoitov Applied, Thanks.