From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFB8E40DFDA for ; Fri, 17 Apr 2026 00:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776384981; cv=none; b=tK51yvtfIHCFAhtJeVFgwhF92V7aHP90ciIqvevfGOLSi8DWqWYaQPqn9yyiBmQzpSdiB1wLepXa3SGhPrgf2/1m0rdygVxNmRe/doH+yMxWP0YTG8uaH10HV9uoeTW1vcDw+4+fUk6cfuWZhirRaKZx/9SzHqP58IGh1zQ+zSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776384981; c=relaxed/simple; bh=fhZ7ivcIhbQqdlLL/5UudWze43SbzqePQ1SVbUPEUwI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GPRa54EAJobie9ul1GAGkpYI4aAqyOQVtBRyFUta58Ipr1HSJLnFjfVSsGzcZIfm3OMmn8d2E9u92LWw+WLa6OzOe3gprT7InbiAZIA6u4UevIN/BQygy0+aajfxCqMwjOAjATg9X9CXUevGiK9sA7Y5gzeGtVv8u5vBB/JxdgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=QMU+xTHD; arc=none smtp.client-ip=74.125.82.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="QMU+xTHD" Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-2de831d2b20so193709eec.1 for ; Thu, 16 Apr 2026 17:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1776384979; x=1776989779; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1TWtEQzY5BC/s4xEANMMXADMCvmVpd07XkDBvJp6pOY=; b=QMU+xTHD0kpGCygDnF6IUI8oyGlbfN74dsnMsah/yFNxnQERLmTZqw1wXb0yuVsxIG cxAby7eBGtzyGRARxZ/0hdsdWggpO/5J4gFl904LEfQ2ZuD7naChwRSjpLMPhvAYBfqV JL6ssOUaZx6kPgSNxNlDS4gyWge1oj29b/Pag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776384979; x=1776989779; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1TWtEQzY5BC/s4xEANMMXADMCvmVpd07XkDBvJp6pOY=; b=U7kjx+9zrzR4LH79xkkJkVx5+x8ZZF0If5GNURLR1AP0zOAB8M9eIjSCxb5WpayNa4 IJOfnIA7Yqkit05uzGbPbEN2xEVkmXJIepEvxnHNKg7Lm6nRncVFyQtTGID6ZNcxj6fP qjqvO2vVQ/L5mZvL5tNiaRuBX+Bnut/5Caz2nK5IjWYx/S79TQB/PKCNSC36UTeEyuSp 8icR7OJHgNmcj8Z+l26wybaateFuFNXx5kUZ/yygC/I8BKL+OEvKHZ+0JUZLkknzMOlH adeYla2pKxuFWiz0D1mK8z5d0xULPLP0HEk+vhmNWUsoiSbEpEl3pFaY2FajtmRbZqXT Hhtw== X-Forwarded-Encrypted: i=1; AFNElJ+VIljzwJyv361mCUgClHtcyENBFsIrOcevYgx3P6cgYV4YiWYCXfrIQ1ce91DkAilt+2g6imweZLrmOak=@vger.kernel.org X-Gm-Message-State: AOJu0YzY2uVjhkQySCW3TuB7XoKYLDjCRJUrzqHGaOSxWpwtBc+MMX// dds00g2c7hIUI3KH70Rm2n6ZqGRxnnpvys/22IoI98EKEjSsUVp+Hx6UTb7yFOp2BA== X-Gm-Gg: AeBDietT6dzb9axiV04DCCa/iRGM2y/WEPgFYPQl33UEEKRiC+mif+nynRs+tZeBDel gNG4VqMSOlB8w1qwo6KTPIBFJhM7Pmqh0Vi6UV0SNvWlUzKX/6myrGkq2kpxdFuATBEyTwa4Cgq OLzF0gQIzqpXh3QeE86gSuxdBrT5KDRUXoor5lJJP6vfsqgAMGd5oyn4p5/x1XtEx8AYtt7Tno6 yk2wmj5SFC1Kj1wolE7THpwiwZb/g8kpffoscU5fG+n7IWlJ2XR0JlkTsABDLCft4ubYKUVj45W 6YjohKk18lPUcEASzCPy4QqgF9G6mCQm4Lk854IOyFHagl6vF4BdB5raCsxU+5Ll01ki78cO+Yy o2ESuWr2BtrnyH2xx4EL155Rg/0GOw0kCFkQrnexI4eR3AHCFjqI6DP2jFQdxas0lQMdmO5vfnW P0s6GRl4uaKSUar/46wHbpN5ZY04/19d0tU6fB8zCyf5OXPb8c9PDKYxcMJS++rL9eVJ/h9Q== X-Received: by 2002:a05:7022:ea2c:b0:128:dbbf:fd35 with SMTP id a92af1059eb24-12c73fa3c01mr261286c88.28.1776384979103; Thu, 16 Apr 2026 17:16:19 -0700 (PDT) Received: from localhost ([2a00:79e0:2e7c:8:804:58f7:217:62b3]) by smtp.gmail.com with UTF8SMTPSA id a92af1059eb24-12c7491d921sm9233c88.9.2026.04.16.17.16.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2026 17:16:18 -0700 (PDT) Date: Thu, 16 Apr 2026 17:16:16 -0700 From: Brian Norris To: Tristan Madani Cc: Johannes Berg , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] wifi: mwifiex: fix OOB reads and writes from firmware response fields Message-ID: References: <20260415222327.1539269-1-tristmd@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260415222327.1539269-1-tristmd@gmail.com> On Wed, Apr 15, 2026 at 10:23:21PM +0000, Tristan Madani wrote: > From: Tristan Madani > > Hi Brian, > > Note: this is a v2 resubmission. The original was sent via Gmail which > caused HTML rendering issues. This version uses git send-email for > proper plain-text formatting. You also sent it privately / directly to me, and I don't think you even sent the whole thing. You've fixed some of that now, thanks. > Six issues in mwifiex where firmware-controlled fields are used as array > indices or loop bounds without validation. Two are OOB writes, four are > OOB reads: > > Proposed fixes in the following patches. Several of these don't actually apply to wireless/for-next correctly, so I can't actually review them. On at least one, I think you seem to have stripped a line or two somehow. Please confirm you can apply your series to git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git for-next with 'git am', and then resend. Brian