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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 A2286C47E48 for ; Thu, 15 Jul 2021 11:59:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7CB27611AD for ; Thu, 15 Jul 2021 11:59:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231391AbhGOMCV (ORCPT ); Thu, 15 Jul 2021 08:02:21 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47413 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbhGOMCV (ORCPT ); Thu, 15 Jul 2021 08:02:21 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BBF625C025D; Thu, 15 Jul 2021 07:59:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 15 Jul 2021 07:59:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=APLneAKskgIRuWTFaSNVvav62Ld iHrfIatCHo4V5EYY=; b=df4V4buKqqwTExvtHt9J4pjuh7Bdh/3TDSKnmwFgCSW mdfsqPRCvlREI3ZtgOcwRG/EUOcic5cxoQn9UHjU2u+6dTHFd2EKzB8atW0yGQ9X /RlsWpQ/y/Mk2wAFcvvu4+1YbvrRaJmvzjXd/PlchVTSWpQjGdXTndTXJjn14QJk FeIyIehKvAn1ilDnpUY2KphdH3sQb7R55UphkfJVM+ww6hBavrPxylLOLMpu7k7Z vUeXuqy6XVxAzsbXJ1s16oQETooP4k5mY3pU0bkM/lQ4pEFSPuqtUh/UNZO65JmX dfyqvvlt4zHCg/kFNlEWY+G+zfSWGw+t09TKxZhoIPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=APLneA KskgIRuWTFaSNVvav62LdiHrfIatCHo4V5EYY=; b=j6nJCppgzgzZP7/EyzIDLW xsUYd50rDQvqO/hPm6MidNsePx8ST2rohA3J028zAf793KpGFU835XxCgjjNEtb6 w83Tc00fLjDhGrvi7q87GO2hTroPTFI2LqgUYKzvNCWZMdfFtO2pqZeY9GeBNWZh 3LoItnZfDcv7ukiid0OvHTmmAmEpxnmGfr/7/23gkOigVsJ2S1iuKo5V52FqMkWx w0V+8Xu4NDupMAZpzYMoJxYT2jHNBO6yhnOzJa5PowdyDf+ouVPT/G9t+bbOVCwl 5ZVcO/ySnlbS0cx/7Ii+Lgj6h+ipAxoH3bRxXFvpTipGMpiJZCyy0jc1dUV7hrkA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghgucfm jfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepueelledthe ekleethfeludduvdfhffeuvdffudevgeehkeegieffveehgeeftefgnecuffhomhgrihhn pehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Jul 2021 07:59:27 -0400 (EDT) Date: Thu, 15 Jul 2021 13:55:32 +0200 From: Greg KH To: Davis Mosenkovs Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 4.14] mac80211: fix memory corruption in EAPOL handling Message-ID: References: <20210710183807.5792-1-davis@mosenkovs.lv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210710183807.5792-1-davis@mosenkovs.lv> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, Jul 10, 2021 at 09:38:07PM +0300, Davis Mosenkovs wrote: > Commit 557bb37533a3 ("mac80211: do not accept/forward invalid EAPOL > frames") uses skb_mac_header() before eth_type_trans() is called > leading to incorrect pointer, the pointer gets written to. This issue > has appeared during backporting to 4.4, 4.9 and 4.14. > > Fixes: 557bb37533a3 ("mac80211: do not accept/forward invalid EAPOL frames") > Link: https://lore.kernel.org/r/CAHQn7pKcyC_jYmGyTcPCdk9xxATwW5QPNph=bsZV8d-HPwNsyA@mail.gmail.com > Cc: # 4.14.x > Signed-off-by: Davis Mosenkovs > --- > net/mac80211/rx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Ah, see your other backports now, nice, all now is good. greg k-h