Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3545283ybf; Tue, 3 Mar 2020 07:53:47 -0800 (PST) X-Google-Smtp-Source: ADFU+vsxN0ERpxAZUy5zTnW8HbneOhuOUXAcCtScdLYbq2B4ENzKNZBBU921FJWIWDngC5+OpZgp X-Received: by 2002:a05:6808:4e:: with SMTP id v14mr168811oic.70.1583250827021; Tue, 03 Mar 2020 07:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583250827; cv=none; d=google.com; s=arc-20160816; b=O41us2Hz6CHhJds/PvmbljO/z5DiR49MDtn6x8kvF3hrfb/fGB+aOlhtx1T1GhxAWK 3VyInXpOAJ2jvRyGSmQ7QqMQCZT86u3QTZpFICEGnurg+K8S4OIzN0DVY41s7a0uPtpk QPOCJl0b8lRCuEfqKSjAl8dOLv+yEH+tqm70KHiKAIz6K4yCwmmgyoGPtvmz1lSwn+R5 G2qJNYF2uF+l2JCtnvWYmSQLMssc9GcXxPhSKORh3tMZXNryGEW4HR1OIIDR8Qfox4ih urcXCVo0KRTcmEK5o/+MU199mTB4eGVI7JKvcm+R27eN1G+Pogbducfc0coIiuYcLXmd roiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature; bh=3BxebRKEMOAjMUrBvm+Lh7nAfMlbm486WARWBwD2ECo=; b=w7NWe/D71sCJ7SwedGZmw0lDjIONrZA9VeZEsyKHsJxlEWx3IZNlusWYLdIq8dZPrn LZYUSUM7sQheDVBXUQmY7k6DqNi8NCFSrJwM208b1UPSVm3wLVtFvDUtsh4VKviSZxTx XPWAo/+hPXe5munFL1lAelFA5T0LRdP9wd8FICC3IQdNW+USWFtEhookTKPCktDhvq0y 1Be6WPgdTEtd8gH+vCSibdH2YnEZ8L18BBJdbjEwSoGhxCK+qws9moDCqCsMdbn+V8bD a/9LaVfs6r4fb6Txua524YkPpSRPDxW5Q7S2Ei7FBWtnFzkj1Um0ZYdRC2nsVzjTe8pj xp5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=FfJK5yGD; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 g10si795071otn.244.2020.03.03.07.53.36; Tue, 03 Mar 2020 07:53:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=FfJK5yGD; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729936AbgCCPa5 (ORCPT + 99 others); Tue, 3 Mar 2020 10:30:57 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:64117 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729855AbgCCPa5 (ORCPT ); Tue, 3 Mar 2020 10:30:57 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583249456; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=3BxebRKEMOAjMUrBvm+Lh7nAfMlbm486WARWBwD2ECo=; b=FfJK5yGDPJxpDaZEsiUBprcN4XxTMu7gkaD2NUXbvrQSiEeL77H0ftijRvaQA36rM5s0uqKy YtBeHiZZbpnsjWY6KjMrNrBIAeTY6gbVvFHpZTJQgs1sqxL4nk2zDHg0Dmz3O4XRSMxxqoPb 8OUyB6fJGHRdWCTHlHOA7sickSw= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5e5e7828.7f4a201e8848-smtp-out-n01; Tue, 03 Mar 2020 15:30:48 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 15991C4479D; Tue, 3 Mar 2020 15:30:48 +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=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE,URIBL_BLOCKED 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 E8CEBC43383; Tue, 3 Mar 2020 15:30:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E8CEBC43383 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=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 5.6] mt76: fix array overflow on receiving too many fragments for a packet From: Kalle Valo In-Reply-To: <20200220114139.46508-1-nbd@nbd.name> References: <20200220114139.46508-1-nbd@nbd.name> To: Felix Fietkau Cc: linux-wireless@vger.kernel.org, stable@vger.kernel.org User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20200303153048.15991C4479D@smtp.codeaurora.org> Date: Tue, 3 Mar 2020 15:30:48 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Felix Fietkau wrote: > If the hardware receives an oversized packet with too many rx fragments, > skb_shinfo(skb)->frags can overflow and corrupt memory of adjacent pages. > This becomes especially visible if it corrupts the freelist pointer of > a slab page. > > Cc: stable@vger.kernel.org > Signed-off-by: Felix Fietkau Patch applied to wireless-drivers.git, thanks. b102f0c522cf mt76: fix array overflow on receiving too many fragments for a packet -- https://patchwork.kernel.org/patch/11393869/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches