Received: by 2002:a89:2d5:0:b0:1ef:f8eb:5d24 with SMTP id d21csp114386lqs; Sun, 17 Mar 2024 13:08:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVECehwxY9MNe7+QTm8E8zGWGcQ3SMem+Gj+KF6+3baGfSuIbNJuOvgQmwzw9A9Kxud1mBPCf2tk90MDQlgMOU2QFe2jdSLofeOMfszzQ== X-Google-Smtp-Source: AGHT+IEGIy/r6dIoaf0zTyoZgO9pIJVMOgvkXsWszxVObgGVmIU21dT6jMggUqfXklRoqPBKHJTz X-Received: by 2002:a17:906:abc9:b0:a46:b496:f3bc with SMTP id kq9-20020a170906abc900b00a46b496f3bcmr1645082ejb.59.1710706134619; Sun, 17 Mar 2024 13:08:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710706134; cv=pass; d=google.com; s=arc-20160816; b=aGGq/iOONS6uoj6Lmdg4JXoDcKqhuU0mEJpDBKwEBZDzYeDzTK3nX+CXqRZrVmprMV vTOkcnkuW3lFO04qsm2HFB6aqaSRMpDohRRqEv8e93a9cbs5Mgiumin/QNNpRe3nd3NH BNVNPJ9Y7nnJ4N/IgLKpHVmLx+MNk6bsntsemLuhZFY+2B4HOPc/PyS1MhgniYNgy1lS /bewTvkPVKI2iEdKUVCzJ4Le+xQjBJo/geJ0bX7kxULcEgm9iGvK/JOaBkljq9NLHqXF lXj8SPr5u9hYUPI9AArGiHCRPhsgxxXyWpqWCSCzoR1FsX+gzGW9uJ8KmeVUdVUfMGX9 9a5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=e1fAaQ1BnGo0n5TgxuvIOkjN1kKDYARzhfblmTAoYr8=; fh=XCvO3Km5MPdVtA/+PkB69YYbNUdkuBG1tnLUHe76BhI=; b=ZB8Ml4oUCK9gLnZQJ/LTD/1YSL5jyvk//rlIz656d8zL33jzgef9545dYQ5iurvXno 500VKWrvOWZ9cY9fVGm8kEB1TQDHVP/AdGztTSCk4jvndHhtOp3JXo6rDBYejsYjb1qA UnLGM7M6gE/FrL0r42EvEioHhre0WdwBeTCCJD9Gt3OMoKgmrqFRS4D8VDvJ5UooETfG 0ayFdcjiPS72F9w2b79GhQHjrzEn87g/bkn65nCmZ41BeUdK+mE+0YOy/PyMxAvniM4b fsfZdqxSGCA+wzAoWupZhXNmz3vGITF0FnVaFA4WsbSP2XHtgcRxxM8+SHFk5dnMxGr3 aYVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=LSsc4gL0; arc=pass (i=1 spf=pass spfdomain=embeddedor.com dkim=pass dkdomain=embeddedor.com); spf=pass (google.com: domain of linux-wireless+bounces-4820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4820-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hr18-20020a1709073f9200b00a469af4ed7esi2065217ejc.919.2024.03.17.13.08.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 13:08:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=LSsc4gL0; arc=pass (i=1 spf=pass spfdomain=embeddedor.com dkim=pass dkdomain=embeddedor.com); spf=pass (google.com: domain of linux-wireless+bounces-4820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4820-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4491D1F21557 for ; Sun, 17 Mar 2024 20:08:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9C371F93E; Sun, 17 Mar 2024 20:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b="LSsc4gL0" X-Original-To: linux-wireless@vger.kernel.org Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 609A61F932 for ; Sun, 17 Mar 2024 20:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=35.89.44.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710706129; cv=none; b=FS2ctx0HFpSxIYrhfPd3XfK+FGKbS53WknTFVDQYRE+PdR4EvIkKrzPd9kvQuQ1JLAW0s4O7PfnEHX+/MYRtuC3ocDNNhglXeLL8Mjo9tVcjGFzUQOMmbcICQO3O+8vUz+K+HvHBeEvvGpUrBkFr+1d4cheMpFoutsQEIkrkO/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710706129; c=relaxed/simple; bh=e1fAaQ1BnGo0n5TgxuvIOkjN1kKDYARzhfblmTAoYr8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lp/dAxrQrVcCvP4GgOVLlm9dPQ+aIq1uuyDUNAMwgW4YoylXCx4rer2nwHBbCTjnFYIVtx+Igmbrlekn0UvtKy75zTTcF/pAEShv7t3wipJVS5hVfvbwg7ODLkvpRVQkMi2wNcwAS3k1cDaJPX68Gvf0KJ2zTPgDxVipi/pDkb8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=embeddedor.com; spf=pass smtp.mailfrom=embeddedor.com; dkim=pass (2048-bit key) header.d=embeddedor.com header.i=@embeddedor.com header.b=LSsc4gL0; arc=none smtp.client-ip=35.89.44.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=embeddedor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=embeddedor.com Received: from eig-obgw-6006a.ext.cloudfilter.net ([10.0.30.182]) by cmsmtp with ESMTPS id lrFFrLERytf2QlwmmrHADW; Sun, 17 Mar 2024 20:07:12 +0000 Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with ESMTPS id lwmjrjpO1dfVAlwmjrdKgM; Sun, 17 Mar 2024 20:07:09 +0000 X-Authority-Analysis: v=2.4 cv=Ndng1XD4 c=1 sm=1 tr=0 ts=65f74d6d a=1YbLdUo/zbTtOZ3uB5T3HA==:117 a=UtBFqMlDG83dypD0sxEoAQ==:17 a=IkcTkHD0fZMA:10 a=K6JAEmCyrfEA:10 a=wYkD_t78qR0A:10 a=fZdvlV4EY4FlDATLirAA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; 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=e1fAaQ1BnGo0n5TgxuvIOkjN1kKDYARzhfblmTAoYr8=; b=LSsc4gL0gwHtAPiIOgy3QVhhBj V7JLeP72AEugq+dHJ2Cc8br4ROlHOEh5M8DGtttdN6JVt1iRbobx11Phhv9TvpT47BGG0dcM920wj TGoNoFEovgExAgkNOdrro7ExI/L98xr3k3hoNv88KtOIDeErKDT5FdyIUaldEJaotBkjHW5kvJA7c Rf4D0JdTJzpWGqFLeTGteqFjfsSImRaExP8gwiJeuNmUdBWOlIV15rPLZX7v4N0vMzYk5q/qBRBly 6o0Qu7SR9HH0iVD6Dcwa7VjQuP34re33CD3BXpkPhRhr4R06TaeweNaNz5i9sC46fN2Vsr8VMwzWF Na1VnW4A==; Received: from [201.172.174.229] (port=50598 helo=[192.168.15.10]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rlwmi-004BoJ-2I; Sun, 17 Mar 2024 15:07:08 -0500 Message-ID: <264f7b4c-d711-4f47-9297-79a9ab60999c@embeddedor.com> Date: Sun, 17 Mar 2024 14:07:07 -0600 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mwl8k: Avoid overlapping composite structs that contain flex-arrays Content-Language: en-US To: Erick Archer Cc: Kalle Valo , Johannes Berg , Kees Cook , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org References: <20240316150712.4633-1-erick.archer@gmx.com> <20240317152225.GA2850@titan> From: "Gustavo A. R. Silva" In-Reply-To: <20240317152225.GA2850@titan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 201.172.174.229 X-Source-L: No X-Exim-ID: 1rlwmi-004BoJ-2I X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.15.10]) [201.172.174.229]:50598 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 3 X-Org: HG=hgshared;ORG=hostgator; X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfKt9hpkYCov7Soxpdb5zP0SQz/b/kiVk7kr/Y1sfQhz1wfspoUW/YtWgRMh5nE9h6FZtPisV4aTuAoOy6UZxhdSG3d2Uu0/hg00OyPr+Q+l0vAhEZ3ek 5hwK5xtRWmazMy4zjLVBdkmpLbC4WlC6qNWWcSFcR7OvEl5x3KHT0iayZxrqPicl5iYrJSNTZ/8HqcGJW2be20ysxPiV+HdxpdwJQlDGDoJJVsPoUTHXfDuw > So, are you working in a patch for the "mwl8k"? Or do you prefer > a v2 of this patch based on your proposal? I'm working on multiple different patches to address the whole thing across the kernel. I think it's wise for you to wait and see how those patches are received. Once the best approach to fix these issues becomes clear and widely accepted, it will be easier for you to join us and help address the rest. Meanwhile, we want to avoid any possible overlap or stepping on each other's toes. Thanks -- Gustavo