Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp110005pxt; Thu, 5 Aug 2021 19:49:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgt50aSfYn+r56C9fb3/RoEjGQGdLidqQMW1JSmJcIsa5YHRlE7AVTT03Z67HbVEg4lE3X X-Received: by 2002:a05:6402:230d:: with SMTP id l13mr10616554eda.10.1628218147540; Thu, 05 Aug 2021 19:49:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628218147; cv=none; d=google.com; s=arc-20160816; b=GKg3sbcCnJj+FzvtA4yNncqe4O1q2jzJq1tA7eZSf7QDaZ/LrNk/xKOecFsJPM28Xn UIwr/+DTJodWl/psJKthkX417L+kllCdzAaUIPVdC63WzHkRXhRgFM19XenxaYPplj4m hgc7H/1PQXXH1iYoGGimDzYiZ/zqS7w72GqVvqK8XIjxnMxoj+Ddq1d68Afb+4TH9IKT 1Tgq8zc2czc4riCfz8MglqDnoiia9SRini4AWGDI56LLdiza9zfztK+ZNjV0AKHz8ueg bxgjEWLBwdGrw0s1O2P6KNHk5v4iKhLxVdzy7yLfAOdIzHf6/pTjXr+uml/gfNpehYNi Ad/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oaWe4Rb4Sb+yllZuKQhcGO1PiFo9j2WFptbAWoZbRwo=; b=HAn10l/ck7r+dF8T8VIGwORDa7C2Tg6LDO8EHlCWM0nSo3fl2EAj2w/zPywOwM962c IzZC0nENxUbm69bOaljqAt9JCKtvtO5B/fXGO9jLDghcAx7xH0/JsUUwdw/E8XafKoWk CNIs9TFnSELIxgkSa0V4zbINiA1VSnKH4mQcNSSfMV73zqJva4iIs8GJhMQT5XAHw1zP EYCuxPYIAXQd1HzLBBLA0N6x7yISr2kfOG4NRd7YBMhZDpKm7wbNYvJ0wkGUNpq5chjE q+uNgBwvmKnoMBJ1mFzBhYtet8zhhfKBSuEiluYCD/9ot5eFCwIB/puoOLxou23IVyGR ncVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UTgayJVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si8084081ejy.194.2021.08.05.19.48.39; Thu, 05 Aug 2021 19:49:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=UTgayJVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243069AbhHFAsz (ORCPT + 99 others); Thu, 5 Aug 2021 20:48:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:51544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243028AbhHFAsu (ORCPT ); Thu, 5 Aug 2021 20:48:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3EF1C60F14; Fri, 6 Aug 2021 00:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628210915; bh=ebSCxHPLyiLi3QtLw46r1IOo/s6BBPhByAQ8UJYP2kc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UTgayJVEpwi1QPCt4Jq5pi3YwiJznCf/jxdX63XE4S7egAFn1hD0BWykWuoHulg8z TiRTWhfBWejXyCydFin1Kp1asf69JymlmBFirTqcaeHes871cn9yFtO/f8gdB/cSEd yiYVu+ygwao2Mn5xRz+Iu7vswSCU6o3/eDOEotrj8Gq+7VtMU3nkc9UUQbHi1chkT4 sDIvBZanMznGFKIEZWwtKIBQjNuykOEECW/hbNRlJApz2gFkNSlS7Ymb2PkkWBY4al APzQ+IYe/e3Hnf/3cSoo9FXELSZNuOqmMiZMJ0AP6bJE+Q9OEX+4pMIaUpiZuOwHdm 2ThIkeqXnWq/Q== From: Mark Brown To: Samuel Holland , Liam Girdwood Cc: Mark Brown , linux-kernel@vger.kernel.org, Kuninori Morimoto , alsa-devel@alsa-project.org Subject: Re: [PATCH] ASoC: simple-card-utils: Avoid over-allocating DLCs Date: Fri, 6 Aug 2021 01:47:53 +0100 Message-Id: <162821054281.18754.4391897780830223126.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210805050706.46833-1-samuel@sholland.org> References: <20210805050706.46833-1-samuel@sholland.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Aug 2021 00:07:06 -0500, Samuel Holland wrote: > The allocation of the DAI link components (DLCs) passed the wrong > pointer to sizeof. Since simple_dai_props is much larger than > snd_soc_dai_link_component, there was no out of bounds access, only > wasted memory. > > > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: simple-card-utils: Avoid over-allocating DLCs commit: 36a9d79e5e9518dfd9548e3237e7a49464c16922 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark