Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2022579rwa; Mon, 22 Aug 2022 00:07:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR65OCD/GoxwsoLdm7Uc3ofOEQcPsbMDbD0X3Oh6oNLvFH5DE0RIys6UhQhsWyX1Dlh+4q+X X-Received: by 2002:a17:906:58c9:b0:730:bc01:fd5f with SMTP id e9-20020a17090658c900b00730bc01fd5fmr11502359ejs.504.1661152022745; Mon, 22 Aug 2022 00:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661152022; cv=none; d=google.com; s=arc-20160816; b=lker5M26OnKLUv+RvZUqSt0MOCXEPKLH5da4phNtLfHXqySDFjNSlLfhErEAPDY8DO fzRv1hxictHspA6xLF3SUFjhzmm3Nm0+KrkgSHyoU1rwAL542ffUsMVpQjfLL7YLeh9Z rkrvEfKQvTXtfOKnkXlTcfbqtz8lMsIS2wim+gmJSJNNaDy4DjjOlmRHV7HSDgCCG4mg LYfhQdDqHCmovTOMgan5lASGdxNcMiDKtpzNuzCGy4d533dUgav17TrLQWxkP6ehau7v Ftfdg2ktYqUdT6KwO2Gyvu9aiA7cH+kuLHCBD4f5jh3aSQC+Xc2zdTGHV7s2//ibAyO3 YF8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=DUaKqViS85a2KSWWeP+ucVnYE4vA7VsPAHwK93RQNHs=; b=vGqgu0Cdw0HI+M1l6dJ1fSYNenMEFg5D5I5GtoJ5osQiIhtQk8zONGSZ/AZtd2rZo2 Rwty0XfvRhEULI1ZOnIvdkcQV1C3W1aBNSI7h4ZEpuoPNL8Rva+7XbwKo5eu1tEhyQAJ tBw1g4gCuJCrA9DHkXsoe1TaxdMwH16nFqy4R5FGVac40J9knHR7XRRW6HjEX5WKSDh3 GvWdQyiYJHHQzcghjIue9ZG683NH2QxBC+SJ5SWuOwbpkFGRhz8AZBxSeCKTEgiXvxld +CpNFnTzkbB0dObxwrY8Iidbqv3qsjqJiaVxNDzLOjFrIRLgp8pItQwxwuU7lfuCgVJo jNAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="bZ5+mn/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf30-20020a1709077f1e00b0072b6ea73316si9033857ejc.664.2022.08.22.00.06.20; Mon, 22 Aug 2022 00:07:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="bZ5+mn/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233297AbiHVHAo (ORCPT + 99 others); Mon, 22 Aug 2022 03:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230379AbiHVHAU (ORCPT ); Mon, 22 Aug 2022 03:00:20 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5C431EAE8 for ; Mon, 22 Aug 2022 00:00:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id E9865CE0FC8 for ; Mon, 22 Aug 2022 07:00:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 458F9C433C1; Mon, 22 Aug 2022 07:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661151615; bh=GM0/nH6Y1mx/boMsnRZHYdSE5Zc2T1SoWyaoIz9p1u0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=bZ5+mn/0bi9T7jbd8VqxAvhFAnXJrEY76K2/jc3GthZmV5Ij67TWH28SsIPVgD/3X Pun6xo0XfQJSdDu3GcFmK1IciaO65g2SpCLN5uUgCOLFFcZ2Ew4agZEPffXlMW+Qay ARcrodUSY/C/w9nfAp+Rb2Y3D1r2/pbNbylS4rT23+83mUYrbyPyVi3R2M5XAuVWdW zkZQuZ0EoAS6QDeXjDQ4bGKq7i2YghWNzWMTLnKd3iIpXpYNB/7TG1ipc047eNahP4 c+lzQ/fz3mcodsZK6vB1LMzZi075VSwjLdkcKS8eTtmh8eX4a1UVjIbJsTXG9AkW0f 1J8xklf6LgKDA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 29A6FC4166F; Mon, 22 Aug 2022 07:00:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] platform/chrome: fix double-free in chromeos_laptop_prepare() From: patchwork-bot+chrome-platform@kernel.org Message-Id: <166115161516.13978.12007993909417445952.git-patchwork-notify@kernel.org> Date: Mon, 22 Aug 2022 07:00:15 +0000 References: <20220813220843.2373004-1-subkhankulov@ispras.ru> In-Reply-To: <20220813220843.2373004-1-subkhankulov@ispras.ru> To: Rustam Subkhankulov Cc: bleung@chromium.org, dmitry.torokhov@gmail.com, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, khoroshilov@ispras.ru, ldv-project@linuxtesting.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to chrome-platform/linux.git (for-kernelci) by Tzung-Bi Shih : On Sun, 14 Aug 2022 01:08:43 +0300 you wrote: > If chromeos_laptop_prepare_i2c_peripherals() fails after allocating memory > for 'cros_laptop->i2c_peripherals', this memory is freed at 'err_out' label > and nonzero value is returned. Then chromeos_laptop_destroy() is called, > resulting in double-free error. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > [...] Here is the summary with links: - platform/chrome: fix double-free in chromeos_laptop_prepare() https://git.kernel.org/chrome-platform/c/6ad4194d6a1e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html