Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1155045ybl; Tue, 3 Dec 2019 02:38:55 -0800 (PST) X-Google-Smtp-Source: APXvYqzE6mEK3HDn7bLRhWVpIiaUTYfYjOYeKZg2Qc1WKn4FgO04buSMkHvSNa2Ast1th4Dz947H X-Received: by 2002:a9d:7c83:: with SMTP id q3mr2643508otn.66.1575369535175; Tue, 03 Dec 2019 02:38:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575369535; cv=none; d=google.com; s=arc-20160816; b=gYd5gS2lAOVonouD8Dd8qBWYJPf173UDkGkkN5jKgNR4Gy92yb0kqmvypgdVC3Bfkv +4L6RZe9CQkJ7GVl7U+BfM8SXheWkVDE8dG6wsisC65qcXPSakeJsvbuHHSArZAHZXgc mBscajKFdwlEEeDpqMgky0iY1nyUELdDz5DomZOLPV5viDQgxZ9q3ozhtkNDjrEl7KIi a0NXRPIIwwC+1fJ3G7+LaIAmc5WLtR5oStYO5E/egPHoU5ZVnkzhcD3GLhauhTnubzSo 05lABs4X3Uq+2nP1dwb11nDG/vE1/oeKKBkI1aHWGCoplKP72vEJ+KyY3rdcbEw+3Cl6 qquA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=o9i3/yanwDyaN0+23FOIDMIC4RdoI5wBh4FGxZDhL/A=; b=gaFGTx5wy56mhNMGfZIDYbi/u0lvuy4Gqq52mYG78RBipsUiGNg+UqwD57kwlfirgN Y8BbdoEipiDvf/Soqow1nvQuaZyPpGiCVgmykC+rf4UYd3ix7DLXTVIHOOGhJuE9Yixt owCzjKCDOscLSw+EgtP+H3JVQkgs3Q9Agrc8i8TR243daaoTt+A02rmPbSN9Lse6PrcE yr9B9f5Dauu40VBO6p1gvZ5pZBL3WmCNsI0UMt5HwNuhcsfgIq7Mr7pEqdlUe2axhJcI m1OzzF0zdJojqHEuA4jQNn/KTOjtdPBDXiVRXhlnGce/dEulBzZZH364DB+J62xqVcZ+ vC2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=UaoPpRXQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si94906oth.136.2019.12.03.02.38.42; Tue, 03 Dec 2019 02:38:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@hartkopp.net header.s=strato-dkim-0002 header.b=UaoPpRXQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726075AbfLCKiO (ORCPT + 99 others); Tue, 3 Dec 2019 05:38:14 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:36543 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbfLCKiO (ORCPT ); Tue, 3 Dec 2019 05:38:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1575369492; s=strato-dkim-0002; d=hartkopp.net; h=In-Reply-To:Date:Message-ID:From:References:To:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=o9i3/yanwDyaN0+23FOIDMIC4RdoI5wBh4FGxZDhL/A=; b=UaoPpRXQMqj4GhUq/jJ+ahNInZkU0YYIm4NpH0YyOJ1C+3NVwTgYEa1tOeoCy60y6c Vi5+Ep2lcnGUPJyIL7tUiVS5Mo8yE1amZxc88KvMjW5Olr8uD9X5g5dLRhLZQyGaKasI frKvAPNS3gsX7ZhcodNSFGN2wyBVT9cIvV36pWKefJ/IkNo+i+4CFjQyZvLGjwoIUTzO iccQXRu8tJNnLhpXjJx0g3rcxvpCREpANHajUJ643beXdyr/TzQrawyz0gfVEW+YnKke RV9MmGwILPDsL+RgE9D0LqDbfLmC1B7r4cvxdE7/sirK8F0npUrD480/TFpYLUd8NmbN nQJQ== X-RZG-AUTH: ":P2MHfkW8eP4Mre39l357AZT/I7AY/7nT2yrDxb8mjG14FZxedJy6qgO1q3jXdVqE32oRVrGn+26OxA==" X-RZG-CLASS-ID: mo00 Received: from [10.180.55.161] by smtp.strato.de (RZmta 46.0.2 SBL|AUTH) with ESMTPSA id 90101evB3Ac33Ap (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 3 Dec 2019 11:38:03 +0100 (CET) Subject: Re: KMSAN: uninit-value in can_receive To: Marc Kleine-Budde , Eric Dumazet , syzbot , davem@davemloft.net, glider@google.com, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <0000000000005c08d10597a3a05d@google.com> <7934bc2b-597f-0bb3-be2d-32f3b07b4de9@hartkopp.net> <7f5c4546-0c1a-86ae-581e-0203b5fca446@pengutronix.de> <1f7d6ea7-152e-ff18-549c-b196d8b5e3a7@hartkopp.net> <9e06266a-67f3-7352-7b87-2b9144c7c9a9@gmail.com> <3142c032-e46a-531c-d1b8-d532e5b403a6@hartkopp.net> <92c04159-b83a-3e33-91da-25a727a692d0@gmail.com> <0f395f1e-b7d4-6254-2a0c-54029b4dc38f@pengutronix.de> From: Oliver Hartkopp Message-ID: <82b02a62-51ff-4568-c33d-90223a2aed86@hartkopp.net> Date: Tue, 3 Dec 2019 11:37:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <0f395f1e-b7d4-6254-2a0c-54029b4dc38f@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No. I have analyzed several solutions which turn out to be either unsafe in processing or need some changes in af_packet :-( I'm currently very busy @work but will come up with a discussion until end of this week. There is no big pressure as the problem is more unpleasant than causing a real problem right now. Best regards, Oliver On 03/12/2019 11.09, Marc Kleine-Budde wrote: > On 11/20/19 9:10 PM, Oliver Hartkopp wrote: > [...] >> So the KMSAN detection was right at the end :-( >> >> I'll take a closer look to enable PF_PACKET to send CAN frames again >> which will fix up the entire problem. > > I'm going to send a pull request today. Do you already have a fix for this? > > regards, > Marc >