From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40F88C282C8 for ; Mon, 28 Jan 2019 21:19:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F3B262175B for ; Mon, 28 Jan 2019 21:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548710346; bh=bvCQ7a0SDNu2Cai138x1L/Xj8iXwhlV8vmOlQoMbUxs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=uT9g8Ko9sG92hePsdHhEiB1DXQMEiNtw8mEOtuXvgldOCZYitE1uSQxoipJrxjji/ hAAdW7jZY7R1T78is4CvPjwMgIAUdO1LoplBdAontmrb9CMmQHZDO3qGhbkjFuH98P OlUHtv1M3Zelo7l7HrEZiu+vh93LhBksz7w6iqCo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726802AbfA1VTF (ORCPT ); Mon, 28 Jan 2019 16:19:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:59030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726774AbfA1VTF (ORCPT ); Mon, 28 Jan 2019 16:19:05 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8B3F62171F; Mon, 28 Jan 2019 21:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548710344; bh=bvCQ7a0SDNu2Cai138x1L/Xj8iXwhlV8vmOlQoMbUxs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lmsnIBJRFeFQUriSpBYBLkp2nOeJeEkqTUIkizskT4uzdOYfX0q30J0+epv5PDStU J3qjmHtw8/3fkOgowoqb+kw5BZY1habXWM/VxfLH5IIwd+tUHPrhYTtB4KwdoQSxgZ RA5WY9wKTr/Itpnz1uGzv5lwzWn1Z/F5QD6b7HMM= Date: Mon, 28 Jan 2019 16:19:03 -0500 From: Sasha Levin To: Daniel Borkmann Cc: gregkh@linuxfoundation.org, ast@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH stable 4.20 00/10] BPF stable fixes Message-ID: <20190128211903.GN3973@sasha-vm> References: <20190128202330.32664-1-daniel@iogearbox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190128202330.32664-1-daniel@iogearbox.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Mon, Jan 28, 2019 at 09:23:20PM +0100, Daniel Borkmann wrote: >The following patches are targeted at 4.20 stable tree. > >Thanks! > >Daniel Borkmann (10): > bpf: move {prev_,}insn_idx into verifier env > bpf: move tmp variable into ax register in interpreter > bpf: enable access to ax register also from verifier rewrite > bpf: restrict map value pointer arithmetic for unprivileged > bpf: restrict stack pointer arithmetic for unprivileged > bpf: restrict unknown scalars of mixed signed bounds for unprivileged > bpf: fix check_map_access smin_value test when pointer contains offset > bpf: prevent out of bounds speculation on pointer arithmetic > bpf: fix sanitation of alu op with pointer / scalar type from > different paths > bpf: fix inner map masking to prevent oob under speculation > > include/linux/bpf_verifier.h | 13 ++ > include/linux/filter.h | 10 +- > kernel/bpf/core.c | 54 +++-- > kernel/bpf/map_in_map.c | 17 +- > kernel/bpf/verifier.c | 369 +++++++++++++++++++++++++++++------ > 5 files changed, 377 insertions(+), 86 deletions(-) I've queued these and the 4.19 ones, thank you. -- Thanks, Sasha