Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6829877rdb; Fri, 15 Dec 2023 09:19:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuPf69rnV0oN+fpkJZT8emCzCUSOK2gYHln6XjoMTTw+6p/NfcU5xdScQusQQBZ/WJz58z X-Received: by 2002:ac8:5dca:0:b0:425:8a27:4bee with SMTP id e10-20020ac85dca000000b004258a274beemr15153282qtx.79.1702660795971; Fri, 15 Dec 2023 09:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702660795; cv=none; d=google.com; s=arc-20160816; b=1HeUGG2B7UijwoLD4xIvmOVFt3mMya0c06qMj8HEwGC9I7qD/8jIl1Sh8djjnwf2Jf uQGFlKoG1iYipKfEMglg9UrtPKqHbFyCxDsJnb5yFAD522pOkEdSI1KBtmjmVfMjCzFe PGNO6vnUm62IfKm0rMGU9e116wykyyLNRAx0hPP0zpTXrs+ot7amr6YtQWY3vsbeF5mD byjwguYdVhkUqkFawHTscQ0Tv8Szu9AKoSgxhGlmkMAot1dAMye3ukRXZxY4jOjtRqRF PUT+GNEdQMN4u0Ej7Ek++nh6e56SGn+2Un8FOBAP6+ZYeWLnhQk0LFtwmpeX7Ll96K3/ 7/aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=73pb/B10cI63wR2MENVut7V55QHJojMIRn16hFjeZRQ=; fh=MOg++oOQvmk+vOdUnJpJQC1aMJ8o4nnncHQWCRDvSlc=; b=NACDqjNkwv4z3au3wwM0+yk+b1V71/eupMGt91X7knbJy8VOON3EwINCxbfUzG3jZs RING1vMdIJw897i7XCnSiAc8pE/lhnxanorUJkFpXZrpoUTimD08AyZePIUQ4nhLPwRv z3CMPsqIoj7n2aa8Ik7TbDJERzKVJYz1obHwBfI+OKVd6VAshGsAYIjy5brNj9BVtrif P7ls2f8Ic07oe7KmSjN++p7QOeBbziAMiTCgwmZ9ooQj/+77vRAtO1jlrN9Q0J4pRN1f yPbqk8Ceh1GYDcyk4hVsaFdNk5p42YeRS2Mbdpe1LBnIR+/H2l82uBw8CBn5GM56bjFh TNAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t1DMIykG; spf=pass (google.com: domain of linux-kernel+bounces-1387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id cc24-20020a05622a411800b004254bfb3917si20343312qtb.172.2023.12.15.09.19.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 09:19:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t1DMIykG; spf=pass (google.com: domain of linux-kernel+bounces-1387-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7C55B1C24314 for ; Fri, 15 Dec 2023 17:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 694E23FE42; Fri, 15 Dec 2023 17:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="t1DMIykG" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 988CC3FB33; Fri, 15 Dec 2023 17:11:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0666BC433C7; Fri, 15 Dec 2023 17:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702660270; bh=bb71eNv5ykDDBLYAbeoMWkUlxEzXqAvnDeM0adtsavQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=t1DMIykGAqdba93fDOiQwMt4uLI8Dj9nxIoyY4HAKpCngLHZgcKqdhxXm4AqYZi3b 3NpY8FliGO05yfRJloLMK5+Jd6Tf/3LXq8tQEKMSaGzZ7XLWRqmSrzRVyPrLtT6DGw EtznZx1ncexJEObHBMsZDtLajcs2nhlW25G4nfuz9HaOxCmgkGE2DyeRUawvsIibEP ayE5WrmLKW41bB32xPvKNenSrgTWi8zjJGTW2NIIP6ZF/L85qA0etOrknZDOpoGKVb h1FKSgXW5TXBrIv+n0dl9RKBt0h5Ik3I1oLn55Jm3kgeW81o/ZllBnEKGUfG9nbO52 2DJmAyr1CDYLQ== From: Mark Brown To: Shenghao Ding , Kevin Lu , Baojun Xu , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Gergo Koteles Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, stable@vger.kernel.org In-Reply-To: <523780155bfdca9bc0acd39efc79ed039454818d.1702591356.git.soyer@irl.hu> References: <523780155bfdca9bc0acd39efc79ed039454818d.1702591356.git.soyer@irl.hu> Subject: Re: [PATCH] ASoC: tas2781: check the validity of prm_no/cfg_no Message-Id: <170266026773.89698.17924199920946310411.b4-ty@kernel.org> Date: Fri, 15 Dec 2023 17:11:07 +0000 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-5c066 On Thu, 14 Dec 2023 23:04:44 +0100, Gergo Koteles wrote: > Add additional checks for program/config numbers to avoid loading from > invalid addresses. > > If prm_no/cfg_no is negative, skip uploading program/config. > > The tas2781-hda driver caused a NULL pointer dereference after loading > module, and before first runtime_suspend. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: tas2781: check the validity of prm_no/cfg_no commit: f32c80d34249e1cfb2e647ab3c8ef38a460c787f 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