From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 F046E3793C3 for ; Thu, 24 Sep 2026 16:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266671; cv=none; b=t5XJ3kpGOGEBoiZ+SZ1CxX/65OWZM9IIU4tdFA1zRZcT5/CvP6obO1rfMsUGM6v1uPq98ZTKoMzomBQdEyyRpG2WYyDdyTVXbwScdstV6HAQG/7MMJ9Z4MFagmxxLBeQ4zm+OcA51Pejc8lmRphFbYsK/5AJpUD5QmHoSKV44iE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266671; c=relaxed/simple; bh=RgAhMaaPDRCLfNVLJ2ODvKG2WpVuKzNtbArzyhac6JQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EgYRgsRFeM6REcoGGCyfxZDAaP8UcyIp3OGX1UIqIk/LThg/D2tUICga2vvX0k+VpVXD7RT1O0YiDXJdzSPpYRFhm+zCWEYAuI8QSly0i54hAaVhxnjpW9K6nI3AIde6+Fn1tjK2pECP/ZkRrsEwDy8yuKFvfTr2vXUuzvyMLWQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OGOwyVXl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OGOwyVXl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB6751F000FF; Thu, 24 Sep 2026 16:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266669; bh=sekbqpdLzCCQMxZy4IxKo6pKRDyBlu6/Dy+WUEKh3rs=; h=From:To:Cc:Subject:Date:Reply-To; b=OGOwyVXlM2oq98jxxhlmTsshz33BESpaOm3swAlWF5D3rYsnp5a9wf329yQPc6pKv FqRhxNxvbYHLQjPzz6tS8kV+NVybXWmvl31yAYV9tYLahlKUPG2hmJakYjFKxH4ckC btSz2gfsX2KgyIvstpS18keKK3COhvO2POtH85b8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97475: thermal/drivers/tegra/soctherma: Switch to devm cooling device registration Date: Thu, 24 Sep 2026 18:04:00 +0200 Message-ID: <2026092435-CVE-2026-97475-b124@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2500; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HFCTMVct3iBcxhkQjRs63RgfHEvm9MD95PFF2oH1544=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPWf3M+5bMSXvbl5jZtob3Uyl22sDGN/3TBU8G5ejz ff5RbZJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkX4ZhftaSfQs2nP6t9cbY Tdj9l+Zqu05pDYYFJwp3vT70+8ZLn0s7VJbufnC4/WufHAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/tegra/soctherma: Switch to devm cooling device registration Use devm_thermal_of_cooling_device_register() to simplify resource management and avoid manual cleanup in error paths. As a side effect this change has the benefit of solving an existing issue. Before, the function tegra_soctherm_remove() only called debugfs_remove_recursive() and never called thermal_cooling_device_unregister() for any of the cooling devices registered here. After the driver removal, the thermal framework's cdev list would still hold references to thermal_cooling_device objects whose devdata pointer (ts) pointed to memory already freed by the platform device's devm cleanup. With this change, the cooling device is unregistered when the driver is removed, thus fixing the issue above. The Linux kernel CVE team has assigned CVE-2026-97475 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 6f2a863e7e9adf6088fe644259576181e60ee5e5 Fixed in 6.18.53 with commit deaeb7be8e6b04c8b71080acba1bd88698f56b1d Fixed in 7.2 with commit ee126267bc04bfb03816ae9d71ca24c5bf99e739 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-97475 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/thermal/tegra/soctherm.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/6f2a863e7e9adf6088fe644259576181e60ee5e5 https://git.kernel.org/stable/c/deaeb7be8e6b04c8b71080acba1bd88698f56b1d https://git.kernel.org/stable/c/ee126267bc04bfb03816ae9d71ca24c5bf99e739