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=-8.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 1DB1DC56202 for ; Thu, 12 Nov 2020 01:50:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BAA49207F7 for ; Thu, 12 Nov 2020 01:50:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="vQitJ22q"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Q6UYuzcx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728349AbgKLBcR (ORCPT ); Wed, 11 Nov 2020 20:32:17 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:58531 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727035AbgKKWo4 (ORCPT ); Wed, 11 Nov 2020 17:44:56 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0C255953; Wed, 11 Nov 2020 17:44:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 11 Nov 2020 17:44:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h= mime-version:content-transfer-encoding:content-type:from:to:cc :subject:date:message-id:in-reply-to; s=fm2; bh=UJhI0Jwd4ebO9DiK T8gR7UB5jh1vkIQ9vDaGY4SHBqw=; b=vQitJ22qA12PE2xaTRHybhEyAvUo9B6F A4HP+0Xsmrof300UnTjpUMhJXLhXFvouE/g7hBJU+dqlnbcQ32CJcOtXNEu3dscL T0A9e1j6RPn5utRVTMF0sGVXhtS/GbBgoK1W8YQuuZA3X0cJ5xf+F+x+q9oN7W0u MLFRjvruCsR1AN5lo+6BRFNrPbsMFidLGD36yy/dtkMPD/n6YhO4wugy3mEoblkN yt3tkeJDzxuv/O5R8JHglCmCEfCsSMemrtMEEqS5EPhNd80DR5B2htNcFySva1rC PUi/OnT3KPbnZeyN+27SekCIdDE0+nvsV2nDwvQc4fDfjqbtFMWMCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=UJhI0Jwd4ebO9DiKT8gR7UB5jh1vkIQ9vDaGY4SHBqw=; b=Q6UYuzcx J8D4Gqu1SCh5maOmvhUf2MyhXF0FA1YdehqC0BK68EJAxClzGpBvMeuBNXqWn/wA 3f+OEEkateqqBc6zSuTxOsusj5miAD+5/NIs5qA+p6hApRppyXCvliANKmfRw27f k+DSXh9CqgrD9dvXotmz+J849wBx7937+tM8N08FIVVjxIZmzfCbtlFbTb8Ew8MG Bwa+CT7vH0F5CxbIHMceRTg7MsTDJBzQHXnFj/QXiVvNzz+XzDekjse11+LSZhYu 2McQQuWETzA3nHo6lmGCE0jAXJolI7kLoXm4dlLZtK/4oylVe22enyr6wHxtUUhR cxK266REE72awA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvuddgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpegggfgthffvufffkfgjsehtqhertddttdej necuhfhrohhmpedfffgrnhhivghlucgiuhdfuceougiguhesugiguhhuuhdrgiihiieqne cuggftrfgrthhtvghrnhepgeejffduieffgeduveeuvdffieehgfdtueduieelfedvgeeu gfeludejteelueelnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpkhgvrhhnvghlrd horhhgnecukfhppeeiledrudekuddruddthedrieegnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepugiguhesugiguhhuuhdrgiihii X-ME-Proxy: Received: from localhost (c-69-181-105-64.hsd1.ca.comcast.net [69.181.105.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 493FC3280068; Wed, 11 Nov 2020 17:44:52 -0500 (EST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 From: "Daniel Xu" To: "Daniel Borkmann" , "kernel test robot" Cc: , , , , , "0day robot" , Subject: Re: [selftest/bpf] b83590ee1a: BUG:KASAN:slab-out-of-bounds_in_l Date: Wed, 11 Nov 2020 14:43:31 -0800 Message-Id: In-Reply-To: <8f040468-f45f-d272-af37-b7e634aeefa9@iogearbox.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On Mon Nov 9, 2020 at 8:54 AM PST, Daniel Borkmann wrote: > Hi Daniel, > > On 11/9/20 3:54 PM, kernel test robot wrote: > > Greeting, > >=20 > > FYI, we noticed the following commit (built with gcc-9): > >=20 > > commit: b83590ee1add052518603bae607b0524632b7793 ("[PATCH bpf v3 2/2] s= elftest/bpf: Test bpf_probe_read_user_str() strips trailing bytes after NUL= ") > > url: https://github.com/0day-ci/linux/commits/Daniel-Xu/Fix-bpf_probe_r= ead_user_str-overcopying/20201106-033210 > > base: https://git.kernel.org/cgit/linux/kernel/git/bpf/bpf.git master > > I've tossed them from the tree for now as it looks like these are adding > regressions > for regular strncpy_from_user() calls, please take a look. > > Thanks! Sorry about the KASAN issue. I spent a day reproing. The kasan warnings seem a bit misleading but I think I have a fix. I'll put a v5 shortly. I'll see if any of the bots find errors on it. Thanks, Daniel