CVE-2025-38113
Analyzed Analyzed - Analysis Complete
BaseFortify

Publication date: 2025-07-03

Last updated on: 2025-12-17

Assigner: kernel.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 ]
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-03
Last Modified
2025-12-17
Generated
2026-05-07
AI Q&A
2025-07-03
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 6 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 5.19 (inc) to 6.1.142 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.94 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.34 (exc)
linux linux_kernel From 6.13 (inc) to 6.15.3 (exc)
linux linux_kernel 6.16
debian debian_linux 11.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's ACPI CPPC component when the 'nosmp' kernel command line option is used. With 'nosmp', other CPUs are not started, leaving their cpc_desc_ptr pointers NULL. However, CPU0 still iterates over all possible CPUs and dereferences these NULL pointers, causing a kernel panic due to a NULL pointer dereference.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to panic and crash when the 'nosmp' option is used, leading to system instability and potential downtime. The kernel panic occurs because of a NULL pointer dereference, which can halt system operation and require a reboot.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by observing kernel panic messages related to NULL pointer dereference when the 'nosmp' kernel command line parameter is used. Specifically, look for panic logs containing messages like 'Unable to handle kernel NULL pointer dereference at virtual address 00000000000000b8' and backtrace entries referencing 'cppc_allow_fast_switch'. You can check the kernel logs using commands such as 'dmesg | grep -i panic' or 'journalctl -k | grep -i panic' to find relevant panic messages.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability immediately, avoid using the 'nosmp' kernel command line parameter, as it causes other CPUs not to be brought up and leads to NULL pointer dereference. Updating the Linux kernel to a version where this issue is fixed is also recommended.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart