Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp5486pxb; Wed, 11 Nov 2020 17:53:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwc0/c7R2oba1oYEWk3VDo3UyaVF1e2lB6Ni7Jt9Ja9EiZiIDOEgcgVo+rRNsFkYHO6vKvU X-Received: by 2002:a05:6402:1009:: with SMTP id c9mr2608691edu.157.1605146008071; Wed, 11 Nov 2020 17:53:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605146008; cv=none; d=google.com; s=arc-20160816; b=rRav1+wcKkSdCSOdRun7HAMh3OmOuZ61w3e8LFmpb1l2U59iTsnwaB+NqzeE1FSQpI snSrZuQQoMGfggCWoDmAROv791POQODDPxqm3+NxLtUkCE5v/NU1/GSe2zwh2nvTd++k +1EBZkBZ0d6i+gHz15lpRwLwiNdGDCA+sRie0DmUNZ7qC7ZFdDodG4Nwe5y3KR81I4HN 0a9XEMHw/WhwZBiusg74VIxYLsrYTdMUWiO7aoymBldFZAWG/2xUncJBMtP1b5R13Htc PmmdA6KIyv58/f5O9Q43WpAWECRyLpPd4AP9jp0LqoeEvLkiLu9Nv4aqEYYwbT6PkCyY OfTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:message-id:date:subject:cc:to:from :content-transfer-encoding:mime-version:dkim-signature :dkim-signature; bh=UJhI0Jwd4ebO9DiKT8gR7UB5jh1vkIQ9vDaGY4SHBqw=; b=YFerRWeiY/o5AkeMcpez1KZKUai42nvZ9zZSVOs5ji2T72GOez8AdVEKsZHRGQtNkR hxPQRkSYdDET3xNBnPMh8D+t9TJCNz+E1qREqcYLN7IDyEHFZ2bcmIWOYpkZWoieRJJN fW8rwb83DITDzYdqFF9z3CTHCMjNm+dv/aRq1xuJNSOoh1+0dpzoYYe0kC2Qw1pyo28Q VjMJWd7daovbY1R96k4naNs7IYh5WV6X2rknjFt6funON6UuUgBLZbRytwrHhOCWHk26 OjK/wVSgAmcc+Nz+fUP4O8okv+hn9pVlBGWAulc2CeJuZuFjDNpuWZCkrVQQ3pIWc7gD zVVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm2 header.b=vQitJ22q; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Q6UYuzcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si2454449ejt.383.2020.11.11.17.53.04; Wed, 11 Nov 2020 17:53:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dxuuu.xyz header.s=fm2 header.b=vQitJ22q; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Q6UYuzcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbgKLBcQ (ORCPT + 99 others); Wed, 11 Nov 2020 20:32:16 -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