Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1057193lqm; Thu, 2 May 2024 04:11:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpYNR33EIeD3LDQJm2qCW4YBmh1GEFDyqtZN3tmfLRDhOsN/RpGvCNJ3pg5GP0l+AWUAnkkPCE8vb7WhOrPsPk9mMSXJRpiT2Wfmvv0Q== X-Google-Smtp-Source: AGHT+IFc3MDwMZNSTtlatzg6GfHE5N8EzFcD1Tjd/kVyZYsXJlt3UEdLqSRq00JzuCPh4azvgq23 X-Received: by 2002:a17:902:e808:b0:1eb:5293:dc37 with SMTP id u8-20020a170902e80800b001eb5293dc37mr2205602plg.10.1714648266753; Thu, 02 May 2024 04:11:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714648266; cv=pass; d=google.com; s=arc-20160816; b=seKW7nGASLjHtRbbjMkXX2Yp5I58GMktqBSWSRnrdIhdDPPn2OYDn814is5uaMoZAO Ck/PpLbMtCTju03lknm1Gc5zFEXxtTI1TA/U7DJPMEreIzBku1sJTCB3+ElGIMMNLiqn dF2SNtuBrsfePJrXKIj3afEO2EIzNNUZipL3yhQF1ot71jqW8vzYtjQP31ibjrti+k3c fFseMozyTFnzC+mC7LJTRD+n7JFl4C5Ntmp5irUiehQaR0rxjCwYL1sHCCxQdCeL58d5 HrWpUGb79vhWQtQ6m5DjkUtKxfDlDqLfTtyf/IJjdgB1u6S3D5tu9plCM+Sfxwdw0wCG SzHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=gvs/Bq6fIWxnKHYJPYqAzRVpCGYv/M0wp6gmPdcSqIM=; fh=zytH93PpPtI26f9lehv07Njj0AfHyl0/Z4nDDago2Ks=; b=QoMWOkUCZHITRiLPuvEciIOitkn4u101/ktbUyfecXvE/WgmjS5ah3hctQ/dstu2rm YSvIjQt6+u5e1/3V7qA3Z0aQ25qnzRJeWlgHffrR4NnRLPaano8ailuOHJqKFLbpBXmW 87oe6HQHwBTnz/0QkFb05DwRI6hyVCHQH2OsmINrNANXRLooa9eZnhajc9QDv7ise5fV +++PxDx0TkpDJozVed7qiQ9xX7nej3KmMyYYEScYD/ot7guRn40LQZrMVO6bof+PZ2UA whcCKLa0PR+v8yiraA7s7Qmt8OT4+zrWMHj0acssnwCRVseBQYrzvmnADu9spw3vcq/R shUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xch1aCry; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166373-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p14-20020a170902780e00b001ec32171d08si773084pll.290.2024.05.02.04.11.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 04:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166373-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xch1aCry; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166373-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166373-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 192362853FE for ; Thu, 2 May 2024 11:08:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65BA8604CE; Thu, 2 May 2024 11:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xch1aCry" 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 8B7735D903; Thu, 2 May 2024 11:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714648126; cv=none; b=rxraOPvDiYPxmAAehG7Nfl0sV1YokpkZU9/3zuGXaXVYE/Nt3js0AM7GhafP1tIrSVfcJi0ioWvOdB5iL5e/K01f9fk96+z1gLu5dQDzoDvKJCieBbctfr0SNCqxicZj1PKmTcilwG5zbe//crPDxCqUit6H6LvtqTIwPzMVMQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714648126; c=relaxed/simple; bh=8K4ujeYhTAhKF8D1gB1WkqlDa8ad4YIK/nV9mxb+ubU=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=JXuPCBAnnFszEOC/c4P70DAOaTaj2k4e7+hdXzff29wKII+LmbAm8VA3TF/pMcgLD2Sg/bUxnbN+owzARNVTUfze27KRuah18ejAi5eTv9sEMaW0HM90h3WhQKzwF+83+UcijKXft7YtjOPWZz/ZUouK5eCYZbidncoVnsEITOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xch1aCry; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09FB1C32789; Thu, 2 May 2024 11:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714648126; bh=8K4ujeYhTAhKF8D1gB1WkqlDa8ad4YIK/nV9mxb+ubU=; h=From:Date:Subject:To:Cc:From; b=Xch1aCryETzgJNn5QhGZcIl+hrYm/8q+8iGpMNSEadG8jdgXj4l8beI0Va8LK+za9 6u6n51Xrji4oNk7v3xY3Hrhvpj/otTcmucJnfftr2ct+s1X2pJSEHYLD7dMUOsCo7j Yfd3vs6csyzFhdyStor7UThIuuDtW5Mrcs6hLguygfULpyP61PMrwkA0lbbl9dYBY9 7woK1SdHk0yguXtN6Z1jW1tAanAuWmWT/rQo04Q9bUdlv6xIxaR78YJmA86EoZh0PM PQIPy36ZfU+tTcDO3iesTFsILknaLAV5FVeAjuVZ/XI3p5rsnvcnAuU5WUNg5FcD68 RFZrW7SqGo7DA== Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5afbcf21abdso853346eaf.1; Thu, 02 May 2024 04:08:46 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWCqKJSiIehH6/vLGJtFAFkB5A4eMzh8+vL2WarH5Xwzl/V+Rs88lOhGnkHd3AY9ECYc2wlb3rpCrQ+6ZkRH+8zGguhl7Om2UD8p7yY X-Gm-Message-State: AOJu0YykXYEZ9HBVXEc6qEhHBXdE7H8Yxad+dgW994WidueBDCVu8kdH VQXozpiMy8qwemtCL06efqnVPFWUxbAEesuDg53sGA9PnwrDy6sYC4kOwj8ArbjzCjXStyy34dx 4mTINwam63UYASkn2rg4FruDlEPM= X-Received: by 2002:a4a:9887:0:b0:5aa:3e4f:f01e with SMTP id a7-20020a4a9887000000b005aa3e4ff01emr5105162ooj.1.1714648125193; Thu, 02 May 2024 04:08:45 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rafael J. Wysocki" Date: Thu, 2 May 2024 13:08:31 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] Thermal control fixes for v6.9-rc7 To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , Daniel Lezcano Content-Type: text/plain; charset="UTF-8" Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-6.9-rc7 with top-most commit d351eb0ab04c3e8109895fc33250cebbce9c11da thermal/debugfs: Prevent use-after-free from occurring after cdev removal on top of commit ed30a4a51bb196781c8058073ea720133a65596f Linux 6.9-rc5 to receive thermal control fixes for 6.9-rc7. These fix a memory leak and a few locking issues (that may cause the kernel to crash in principle if all goes wrong) in the thermal debug code introduced during the 6.8 development cycle. Thanks! --------------- Rafael J. Wysocki (3): thermal/debugfs: Free all thermal zone debug memory on zone removal thermal/debugfs: Fix two locking issues with thermal zone debug thermal/debugfs: Prevent use-after-free from occurring after cdev removal --------------- drivers/thermal/thermal_debugfs.c | 59 +++++++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 14 deletions(-)