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 A55E63191DA for ; Fri, 12 Sep 2025 15:59:52 +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=1757692792; cv=none; b=ZTJ85TCZOonT4yB5O1vJRaiIyxnHCrHIOm44+LEdCad2L0up8bYTWQ46GirZY8Jg6xI8OeeZ2VayA6hOwFd8JmEW08QCmQRG3l5y8D0tLhIqFjhtLHDaNf+f5CuljFaHMOZrm0G/Ab/QvV6ur+zjVh1o1OUnunH24VU2ewLMDQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757692792; c=relaxed/simple; bh=JCXEUjecG8qtRmeWntk2A+yIfnd2HzI46KhkRvUd/tI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kGGReekPYkMo5d7DDkYIbOp0bAQED9DWsNdXqhkCHBWPZ4Wv0aFhesjGkIxFHsJ8NbsX/BzHyVLz9FWDVauouDBaEkpdyO7aNnkDmiSKrf+rzRa9R1Zy+zX2VWe3IkiVUGOk/dC6FN65beS1NEC1b2XhLkkcamlJKTYwAz1GDYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ts7tQo+T; 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="ts7tQo+T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF21EC4CEF1; Fri, 12 Sep 2025 15:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757692792; bh=JCXEUjecG8qtRmeWntk2A+yIfnd2HzI46KhkRvUd/tI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ts7tQo+T5CHhcDch/c+O0HSB7+ZtPIR+ifb0YLy8PzNXGiyh2Ah1wo/jMjWi3gwPT DsF23T9866/lQuWMGsec9TriMBJX5iUYaYHeg6I+ujbwHHEp88mbgRQA9h0KdIdJzv ZzdH9PGuM+FCRRBoEKl6WHCq9IoON8CPlUTXwd+A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39799: ACPI: processor: perflib: Move problematic pr->performance check Date: Fri, 12 Sep 2025 17:59:29 +0200 Message-ID: <2025091224-CVE-2025-39799-768d@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3014; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FDVaQjK0ondw3t8Htk0D/+NcKBuJ2US+4doSAQTzhRY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlHnGPObSmbp/Q01eGgRzBLOXeJe7J+Zih7poVWkXTs7 rLmjbM7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLP/jEsmFNtx/T/3u2bX7yK MnY9nWzGfIbtCMOCzYy/7L24Oa/InGALzIgruLMzO2YjAA== 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: ACPI: processor: perflib: Move problematic pr->performance check Commit d33bd88ac0eb ("ACPI: processor: perflib: Fix initial _PPC limit application") added a pr->performance check that prevents the frequency QoS request from being added when the given processor has no performance object. Unfortunately, this causes a WARN() in freq_qos_remove_request() to trigger on an attempt to take the given CPU offline later because the frequency QoS object has not been added for it due to the missing performance object. Address this by moving the pr->performance check before calling acpi_processor_get_platform_limit() so it only prevents a limit from being set for the CPU if the performance object is not present. This way, the frequency QoS request is added as it was before the above commit and it is present all the time along with the CPU's cpufreq policy regardless of whether or not the CPU is online. The Linux kernel CVE team has assigned CVE-2025-39799 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17-rc1 with commit d33bd88ac0ebb49e7f7c8f29a8c7ee9eae85d765 and fixed in 6.17-rc2 with commit d405ec23df13e6df599f5bd965a55d13420366b8 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-39799 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/acpi/processor_perflib.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/cb4b5f4a1e778f6a20d06d4eda6842714a817618 https://git.kernel.org/stable/c/fc36403e741d7674a44632313db33fa7605cb2b4 https://git.kernel.org/stable/c/edc065c19257adfd9c356178dac021df661e169e https://git.kernel.org/stable/c/fd9cad6b0676e0bb3a98ee0a8865a86e2f53eb07 https://git.kernel.org/stable/c/19849010c9e18d54375091864a3313fc328d6186 https://git.kernel.org/stable/c/bf2809541497749c4f2646b87bf75244f5a2a5d9 https://git.kernel.org/stable/c/8972d7dbdac029c9dbf62a45d7d8c71999785765 https://git.kernel.org/stable/c/31ee723d6fc581b76396994a96b85be3e87f67d6 https://git.kernel.org/stable/c/d405ec23df13e6df599f5bd965a55d13420366b8