Linux Kernel LoongArch ACPI Wakeup Handling Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of ACPI wakeup events for LoongArch architecture can lead to warnings during S3 suspend. The issue arises because the function 'enable_gpe_wakeup()' calls 'acpi_enable_all_wakeup_gpes()', which may trigger a thread switch, leaving the CPU in an interrupt-enabled state. This can cause a warning related to timekeeping functions, indicating a potential mishandling of sleep states. The root cause is linked to the use of a mutex in the ACPI wakeup handling, which can disrupt the S3 wakeup process. The vulnerability has been addressed by modifying the wakeup handling to avoid these warnings.

Impact

The vulnerability can cause warnings during the S3 suspend process, indicating a potential issue with how wakeup events are managed, which could disrupt normal power management operations.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.