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 321E12D028F for ; Thu, 3 Jul 2025 08:36:03 +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=1751531763; cv=none; b=R78HuF8MQFHcKl6Ixzj+thsRm/Nt0L7Y1q+Z7x0g/UceMx+WCjRmkr1y5SxNymhVXoxGDza2bmZsW6QWU369sh/ueIEcigq2wkPAFmqBHP9RjVxPejoKSI2KivNz4Xm8hQ0DCKMO1+SG2qPhwl9mpuZW5v37iCqMksOwV1qY+sw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531763; c=relaxed/simple; bh=FHVQKd8WrfNWDV+qTc6N9A+S02LcKj+36HDRDi11UjE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Yh4lLJ4gfg6462tyelvphRashSqH52Mk8m1WF3fv0qWh9VXAj5y6ZjNcxwU4ihA7v8YXZ5Z5pHaOQf7fi9EJkA3YRGkTzUAHPWl5TscqL4WPgeiXkdwMGo3eip3v8VA1eD0Y35tELb0ugNCaSQ74oqXDllyA1YtWV7mlDC2IlLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=po0fVDGd; 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="po0fVDGd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD466C4CEE3; Thu, 3 Jul 2025 08:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751531763; bh=FHVQKd8WrfNWDV+qTc6N9A+S02LcKj+36HDRDi11UjE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=po0fVDGdcotE2KDby831V+hiPZ18xktucCZLorvKY5X64//3PER/XNdsLjg58qjRn mVTeNjaSyYZJ2CHN/oiu/o7hnz1B+ZFvwO6OWfdY2ruJIMPfqEkSTGYOyL79+Xf8As b+D3HJPs+L97BsmL6tJ30hQXPH+tta7WSvbIZsRI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38113: ACPI: CPPC: Fix NULL pointer dereference when nosmp is used Date: Thu, 3 Jul 2025 10:35:30 +0200 Message-ID: <2025070325-CVE-2025-38113-d080@gregkh> X-Mailer: git-send-email 2.50.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=2919; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=juIxI0BCO19sqjWY9PCgFbMfH5sN8u+cJO0UJhyeojw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlpDmdVfHmOZFRIJ+77MrmWPSNt8rZD2dYJN6+pbb3Fy fyAuU+qI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyYzXD/KhXV6b46i/i+7x3 w5zj127sjhY9qs+w4IB5k0x1hr5kWP+85i+HrML5bE/tBQA= 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: CPPC: Fix NULL pointer dereference when nosmp is used With nosmp in cmdline, other CPUs are not brought up, leaving their cpc_desc_ptr NULL. CPU0's iteration via for_each_possible_cpu() dereferences these NULL pointers, causing panic. Panic backtrace: [ 0.401123] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000b8 ... [ 0.403255] [] cppc_allow_fast_switch+0x6a/0xd4 ... Kernel panic - not syncing: Attempted to kill init! [ rjw: New subject ] The Linux kernel CVE team has assigned CVE-2025-38113 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 3cc30dd00a580ca0c9c0b01639841cfd72d10129 and fixed in 6.1.142 with commit 356d09c7f5bf525086002a34f8bae40b134d1611 Issue introduced in 5.19 with commit 3cc30dd00a580ca0c9c0b01639841cfd72d10129 and fixed in 6.6.94 with commit c6dad167aade4bf0bef9130f2f149f4249fc4ad0 Issue introduced in 5.19 with commit 3cc30dd00a580ca0c9c0b01639841cfd72d10129 and fixed in 6.12.34 with commit 32a48db4cf28ea087214c261da8476db218d08bd Issue introduced in 5.19 with commit 3cc30dd00a580ca0c9c0b01639841cfd72d10129 and fixed in 6.15.3 with commit 1a677d0ceb4a5d62117b711a8b2e0aee80d33015 Issue introduced in 5.19 with commit 3cc30dd00a580ca0c9c0b01639841cfd72d10129 and fixed in 6.16-rc2 with commit 15eece6c5b05e5f9db0711978c3e3b7f1a2cfe12 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-38113 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/cppc_acpi.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/356d09c7f5bf525086002a34f8bae40b134d1611 https://git.kernel.org/stable/c/c6dad167aade4bf0bef9130f2f149f4249fc4ad0 https://git.kernel.org/stable/c/32a48db4cf28ea087214c261da8476db218d08bd https://git.kernel.org/stable/c/1a677d0ceb4a5d62117b711a8b2e0aee80d33015 https://git.kernel.org/stable/c/15eece6c5b05e5f9db0711978c3e3b7f1a2cfe12