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 B640A4F85B0 for ; Thu, 17 Sep 2026 16:39:04 +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=1789663146; cv=none; b=LjE1m1ZJFPPwUJZKH6ENJWf46CHJB4yMPXk/GyuHWcOeriMU3HKn0tAmvgPfrQi+oGifecRE8K5wJRcI/V+ZP8LBgi9kQQ+GgxSXwJDzpRnREhsfZHYFu8Vi/MsnV+3jQlBtg7doSM19HU/R7eNJxEqlUJ7sI/OP0/P3k8u90Bo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663146; c=relaxed/simple; bh=5FaWy45g6gF/ZllIXpJw1fWbMBRZx4xBz1CTNmV+qsY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QzlB7dvT4+9M08+c5rrjOqFHwnPjyM7ABxnt0uUSBVsPqNfJKIeHzO1u4+p1owjnYqSsH//t32QT/q44FuBfGfL9Hk6dbW6C9IPR+GhMT/GGGBN8YkBVtU1kwGGIrcwdjkCSOaGJhtkdbEBku56GSB7U2Q4/HUkeUKLHFt3rJLc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m1vC+mNU; 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="m1vC+mNU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 187911F000FF; Thu, 17 Sep 2026 16:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663144; bh=M3S/gZwuHoFaqlLzHjquKYiDWR7c8Y5P2QGREOGNMSs=; h=From:To:Cc:Subject:Date:Reply-To; b=m1vC+mNUZlAzBpXKWQFWUwcsIyfSy9BTbcQ6j5KB5FRPOU/BNAQAeyU5nWS5owGa5 U80vMVAW4U+pW7WlKdg2Gjlpc2BsbkGCBhONToSQrJDgtETbIMuvr0XEKu7g4shnYZ GAT4LK5exjagjnLYz3rNR05bDqFZ7iVNH6xTjHOc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93142: thermal/drivers/rcar: Fix error checking in probe() Date: Thu, 17 Sep 2026 17:16:59 +0100 Message-ID: <2026091753-CVE-2026-93142-1e05@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=3646; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dWMMgD/1stqyYH20TEaWqExBRSp9NgHJe0UHyEP9RIA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBC5tjNNKC/d8+yCjPU3xqNhT3y/sjRK7Gi2vfpLOY Nl6cMKEjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYxfDgrNFx0SUXszteSxw QnPn0c3dE+S8nzDMs0xwVisMEHn766DX4vDrYmsYxfy5AQ== 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/rcar: Fix error checking in probe() This code accidentally calls thermal_zone_device_enable() before checking whether thermal_zone_device_register_with_trips() failed. Move the call until later to avoid an error pointer dereference of "priv->zone". The driver works differently depending on if we are using OF thermal or not. We use thermal_add_hwmon_sysfs() if we are using OF thermal and call thermal_zone_device_enable() if not. We can share same error check for if either of these fail. Moving the thermal_zone_device_enable() call is a bit cleaner as well. The original code used a three step process to cleanup: 1. Call thermal_zone_device_unregister() to cleanup. 2. Set priv->zone to an error pointer to preserve the error code. 3. Set priv->zone to NULL to avoid a second call to thermal_zone_device_unregister() in the rcar_thermal_remove() function. Now we can just do a direct goto error_unregister and rcar_thermal_remove() handles the cleanup properly. The Linux kernel CVE team has assigned CVE-2026-93142 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 6.1.188 with commit a85bcd0c7ef66e3404b3c99e5589c5ea622a757e Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 6.6.157 with commit 810875c5996f731961fc5ee1bd24e711f2e8fe78 Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 6.12.110 with commit 623349a18d4c6e6add7876553c0cb6947c8d92e6 Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 6.18.52 with commit 35bf61798e7d4abf39667d98f298f793b3dd9bbe Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 7.2.6 with commit d67607e7749527850619a10d3ed033b02dcea516 Issue introduced in 5.9 with commit bbcf90c0646ac797700269fa6645a6a46466c79f and fixed in 7.3-rc1 with commit dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d 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-93142 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/renesas/rcar_thermal.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/a85bcd0c7ef66e3404b3c99e5589c5ea622a757e https://git.kernel.org/stable/c/810875c5996f731961fc5ee1bd24e711f2e8fe78 https://git.kernel.org/stable/c/623349a18d4c6e6add7876553c0cb6947c8d92e6 https://git.kernel.org/stable/c/35bf61798e7d4abf39667d98f298f793b3dd9bbe https://git.kernel.org/stable/c/d67607e7749527850619a10d3ed033b02dcea516 https://git.kernel.org/stable/c/dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d