Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3470327pxu; Sun, 20 Dec 2020 04:09:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7cvbWwpDg2EDevaJR/wWz79Vft7lB8EUxLV6sOPXxW93vApduq3tg/pNv5AFaQKBnRcU5 X-Received: by 2002:a17:907:96a4:: with SMTP id hd36mr11205137ejc.393.1608466189102; Sun, 20 Dec 2020 04:09:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608466189; cv=none; d=google.com; s=arc-20160816; b=gzBrwrkKOkClujRediAkTyFIqNFITb3H6U2m7cBrV9+qcMTmov7v01gc2mOuC6jyYX 07obHxXLKmNgwmA+ME848fW9TKRJA3/VKMw73u0fQXLdTAc4nl0g7AQ0nJSivKhSzSg6 ltDaIpMIS1rrKx5LH9hMWZcgBIple8a0t0fVvDeqpNS5rKenjBW9RCe2fHOXopH8yWHY LvZFC+TzKOrIa24ZmYoBlUT3PPrreg36icjSXSzMqYSrnPeKFlYTF9bGi9Ybo80mxDfq Qy0MVO6bEmqGMX6cOUv5FaHXsEbCRSNhtZvfw7lpLpgfA+AAQIZamsx9qdQBVgPwjcJ6 tfWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=EBRqmfS+dz7ogOBw3uThHJDJM3f62uw7cEVQymNuQqc=; b=PEwAcXEtXeGL3OPNdfrZzv4elkoIOgjFr0e5ku3aMjGFg/vaNKRE4HUFLLwEXpERUT e0jPXXa/RzeLn53PCyEXpgk8/flGXMcr1FfuXi6g1f9d3bWAEZ9hEY+C5GUpxoygZnkU 6AssbSjbDnQD4ZxUaQrjEnb9zyGZnlefE+G0fubdxyajDqd4ebU3pfL7pfF5kbT5sfWr qOdd1XSvuvPDoh+vxRIFu+B9SOBLFs0Z2rnv/HBYqEsmVF0kH98odH3pgctEgqyv2sYx OQUlQfQk3KNSdCYgEcSUDtX8LelP66X5+9YEEmS/kqiU5UjrcY8DrokndAYzADYZ30F4 X3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Q3o2YGRm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 f10si9505489edc.491.2020.12.20.04.09.26; Sun, 20 Dec 2020 04:09:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=Q3o2YGRm; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727420AbgLTMGR (ORCPT + 99 others); Sun, 20 Dec 2020 07:06:17 -0500 Received: from m43-15.mailgun.net ([69.72.43.15]:43624 "EHLO m43-15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbgLTMGR (ORCPT ); Sun, 20 Dec 2020 07:06:17 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1608465957; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=EBRqmfS+dz7ogOBw3uThHJDJM3f62uw7cEVQymNuQqc=; b=Q3o2YGRmYSk520moE1M9fLIA+lGW6wkGLNz97l+GkyNV8WJqq8fgv3R5urre3khdUdPzHkX2 Q4IkvB5iCUstvbwbnTBZR947zUwTHu5Ocoi7ccloJSrEqkClb1aDEq+/Tg5JTXBMySvJgIYW 4sLFP2B034FdSAl3Sacw27fG/Mw= X-Mailgun-Sending-Ip: 69.72.43.15 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 5fdf3e06253011a4b8adb4f3 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sun, 20 Dec 2020 12:05:26 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6494CC433CA; Sun, 20 Dec 2020 12:05:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 021E3C433C6; Sun, 20 Dec 2020 12:05:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 021E3C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] mt76: mt76s: fix NULL pointer dereference in mt76s_process_tx_queue From: Kalle Valo In-Reply-To: References: To: Lorenzo Bianconi Cc: nbd@nbd.name, linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20201220120525.6494CC433CA@smtp.codeaurora.org> Date: Sun, 20 Dec 2020 12:05:25 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Lorenzo Bianconi wrote: > Fix a possible NULL pointer dereference in mt76s_process_tx_queue that > can occur if status thread runs before allocating tx queues > > Fixes: 6a618acb7e62 ("mt76: sdio: convert {status/net}_work to mt76_worker") > Signed-off-by: Lorenzo Bianconi Patch applied to wireless-drivers.git, thanks. f7217f718747 mt76: mt76s: fix NULL pointer dereference in mt76s_process_tx_queue -- https://patchwork.kernel.org/project/linux-wireless/patch/b49c1b4edacd87b2241a9fd0431dd4864c8963f6.1607418933.git.lorenzo@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches