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 AA0B027F759 for ; Tue, 13 Jan 2026 15:31:37 +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=1768318297; cv=none; b=QzvGJsXR0V/am0SYFOdd5AIFvMN6vmGYVoT5sSga1A4jsVK4FhsD+gCTkRoZacSPcc2ECbyXMVakCUAR891Z+tAdo7APqA86ih7YKSI6g3Yf9uV7mJwt5ZS9yJzeP2M0v25nWCOxwH3SlSFO5kBrc7zpB1rwjtxQMYrLO9ddwY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318297; c=relaxed/simple; bh=Tkkmn4aKE6rDKn8is2WdwpitPugjcKGv4MoYMUZH04I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iL1x4OcIyh0DtZ85VwaZWKKqlg2oO6By6xrfqcKVLgQ2gv5SgF8fevCb9Xx31C2KKkMPgAClYobgXGqCQL69XBWHLC3opJjFhlO08ZlxvSzaRIUH6DrbQdZiwEvwhgNW8tKI/FbihgBgPZbO62k0ussfCqkn0/tL+42TFh09st0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZHeZ4zYU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZHeZ4zYU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16616C116C6; Tue, 13 Jan 2026 15:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318297; bh=Tkkmn4aKE6rDKn8is2WdwpitPugjcKGv4MoYMUZH04I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ZHeZ4zYUYdpJ0U/yt8A5Yj6SGHl4K+e/FuHJUxpVaIhbNBYzbYyekkMjXAPQXNI2o VU+5Rki1caEyPigHy5ZCYDOGZUmHOYWMQ36/ZbM+6IYcfahbD3/g5RDlQ/LMmw8gHz XnGwWdYMxx7xG0kLNWzhQnYFoKUtFuFkDpbtfaKU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68789: hwmon: (ibmpex) fix use-after-free in high/low store Date: Tue, 13 Jan 2026 16:29:15 +0100 Message-ID: <2026011304-CVE-2025-68789-cca8@gregkh> X-Mailer: git-send-email 2.52.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=2830; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pyXMsNxoc6cDP8gIHVgBYsqH7HbFt25UZFrihmavQNE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKQdYH7DyMJXybvawePG4w1bFw9z4LQOLsV73Syavy g+RF9d3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERykxnm57gWrVaLP2URKm+4 hvtVStlr4e+7GRZcWxd3JSnjlXNUc3jNkwpj67+cC0UA 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: hwmon: (ibmpex) fix use-after-free in high/low store The ibmpex_high_low_store() function retrieves driver data using dev_get_drvdata() and uses it without validation. This creates a race condition where the sysfs callback can be invoked after the data structure is freed, leading to use-after-free. Fix by adding a NULL check after dev_get_drvdata(), and reordering operations in the deletion path to prevent TOCTOU. The Linux kernel CVE team has assigned CVE-2025-68789 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.24 with commit 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab and fixed in 6.1.160 with commit 533ead425f8109b02fecc7e72d612b8898ec347a Issue introduced in 2.6.24 with commit 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab and fixed in 6.6.120 with commit fa37adcf1d564ef58b9dfb01b6c36d35c5294bad Issue introduced in 2.6.24 with commit 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab and fixed in 6.12.64 with commit 68d62e5bebbd118b763e8bb210d5cf2198ef450c Issue introduced in 2.6.24 with commit 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab and fixed in 6.18.3 with commit 5aa2139201667c1f644601e4529c4acd6bf8db5a Issue introduced in 2.6.24 with commit 57c7c3a0fdea95eddcaeba31e7ca7dfc917682ab and fixed in 6.19-rc2 with commit 6946c726c3f4c36f0f049e6f97e88c510b15f65d 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-2025-68789 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/hwmon/ibmpex.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/533ead425f8109b02fecc7e72d612b8898ec347a https://git.kernel.org/stable/c/fa37adcf1d564ef58b9dfb01b6c36d35c5294bad https://git.kernel.org/stable/c/68d62e5bebbd118b763e8bb210d5cf2198ef450c https://git.kernel.org/stable/c/5aa2139201667c1f644601e4529c4acd6bf8db5a https://git.kernel.org/stable/c/6946c726c3f4c36f0f049e6f97e88c510b15f65d