CVE-2025-38113

ACPI: CPPC: Fix NULL pointer dereference when nosmp is used

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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] [<ffffffff809a5818>] cppc_allow_fast_switch+0x6a/0xd4 ... Kernel panic - not syncing: Attempted to kill init!

[ rjw: New subject ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3cc30dd00a580ca0c9c0b01639841cfd72d10129 to before 356d09c7f5bf525086002a34f8bae40b134d1611Affected
  • 3cc30dd00a580ca0c9c0b01639841cfd72d10129 to before c6dad167aade4bf0bef9130f2f149f4249fc4ad0Affected
  • 3cc30dd00a580ca0c9c0b01639841cfd72d10129 to before 32a48db4cf28ea087214c261da8476db218d08bdAffected
  • 3cc30dd00a580ca0c9c0b01639841cfd72d10129 to before 1a677d0ceb4a5d62117b711a8b2e0aee80d33015Affected
  • 3cc30dd00a580ca0c9c0b01639841cfd72d10129 to before 15eece6c5b05e5f9db0711978c3e3b7f1a2cfe12Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.