Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2496418rwb; Fri, 16 Dec 2022 02:56:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf6OuGJSeeOU1bE46kE/0QglLLyOHCRM9gEalBSe5Hb/QUJkXxobsin54tHYXn6cPe9DSZl+ X-Received: by 2002:a05:6a00:4390:b0:576:81a:4da2 with SMTP id bt16-20020a056a00439000b00576081a4da2mr42464739pfb.20.1671188211924; Fri, 16 Dec 2022 02:56:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671188211; cv=none; d=google.com; s=arc-20160816; b=dvgMhIB2i9sT/DlVL3TLazeOTQsrzaDHuwNbK4fvtKh9ATFeoGA0TwgRHdOnFY8Mdp lc1UIeTHlc3rD65Abr9771/pRpFbZFcWLSZve7E5clbW6kJSUYCIn7ZJcP66+TodUuH9 DX8XvrwtYfpzZFvq0Sr1GJLSfHHNZVYefN2vxjRRgcf+4/GjmK2jj2+qJu65gcXfr3fV LzXUygolB+nXpxpCxkKnovw4xCVVlmIPTdG1BP32+lNg8Q27wM5tpYU+qwpp6TF1zSlB hFz0zd/deU4V3zCg3WsVjL7qg82hqysRaubqck8nOAswc1FPDM4HMpoYxNmwzNRMthcr /blw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3sQktB/k3UsirYS1fs7WfS5u4qObJftXkM3ux4Mudrg=; b=CFoQshHE2b/L6FR70QF4BQDlyx39j6+BKlr/5Q93VXZ/peLcghU2x40AhQxdtBamZk UaW+FfsFyTnilGJGzvU3aN99Xbwed4JQAp5heD+84R9ysfMj1a+mFoCBH47Zr2TEGhgt OKHnEt4so8IJo508bJgQxzMBLzJqkLU5dIlsssED0X75tfEaQ/UnERpb0xoEXoCdmjvn kZCYF9yeuNS0C0tIzzCUuAlp6hXbqW20MIR3nBBHLwOBlKH+71QiEyYdHrpD2nY1HSBv PMOK/jauZP65HrI6Kn11Xh+94H8DBXl7TadGg/CL4DPAvw9dRVXu5FhrCCcYSpGNbei8 L70g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=SrfcXFPr; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a056a001a8d00b00573965be387si2115678pfv.103.2022.12.16.02.56.42; Fri, 16 Dec 2022 02:56:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=SrfcXFPr; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230342AbiLPKu2 (ORCPT + 67 others); Fri, 16 Dec 2022 05:50:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbiLPKu1 (ORCPT ); Fri, 16 Dec 2022 05:50:27 -0500 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2FF963C8 for ; Fri, 16 Dec 2022 02:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3sQktB/k3UsirYS1fs7WfS5u4qObJftXkM3ux4Mudrg=; b=SrfcXFPrvkNE6G3OSEUtl5Oy9V 4ik1cljdvOUbuzpMkhJ4Y8JQm1/khlBnR8IIwZj3uc/zALpm9M+w4ER9C8xPupbQBg9kWxGiM6kQ6 IxjZVKk7u0fK3fdvlgQeB8+mB+ZkZ0uVnoopUrwpDMvLGsYEnG7zEuIk9cE8lT/yQz5A=; Received: from p200300daa7420a02090f62f75c4aa0ce.dip0.t-ipconnect.de ([2003:da:a742:a02:90f:62f7:5c4a:a0ce] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1p68IK-009IlG-LO; Fri, 16 Dec 2022 11:50:24 +0100 Message-ID: <184255f9-426d-1718-5216-3eb44d21c7e3@nbd.name> Date: Fri, 16 Dec 2022 11:50:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] wifi: mac80211: fix initialization of rx->link and rx->link_sta Content-Language: en-US To: Kalle Valo Cc: linux-wireless@vger.kernel.org, johannes@sipsolutions.net References: <20221215190503.79904-1-nbd@nbd.name> <877cyrljnp.fsf@kernel.org> From: Felix Fietkau In-Reply-To: <877cyrljnp.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 16.12.22 11:36, Kalle Valo wrote: > Felix Fietkau writes: > >> There are some codepaths that do not initialize rx->link_sta properly. This >> causes a crash in places which assume that rx->link_sta is valid if rx->sta >> is valid. >> One known instance is triggered by __ieee80211_rx_h_amsdu being called from >> fast-rx. > > An example crash log would be nice to include, it would make it easier > to find this fix. Sure. Will add the one that was sent to the list yesterday to v3. - Felix