Critical Vulnerability in Linux Kernel: LoongArch S3 Suspend Warning Issue
Summary
DEBIAN-CVE-2025-21803: In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix warnings during S3 suspend The enable_gpe_wakeup() function calls acpi_enable_all_wakeup_gpes(), and the later one may call the preempt_s... Affects linux versions < 6.12.13-1. Fixed in 6.12.13-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of Linux operating systems, managing hardware and system resources. It is known for its robustness and flexibility, supporting a wide range of devices and architectures. This vulnerability specifically affects the LoongArch architecture during S3 suspend operations, potentially leading to system warnings and instability.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the enable_gpe_wakeup() function, which calls acpi_enable_all_wakeup_gpes(). This function may invoke preempt_schedule_common(), resulting in a thread switch that leaves the CPU in an interrupt-enabled state after enable_gpe_wakeup() returns. This can lead to warnings during system operation, particularly when the system is in a suspended state. The root cause is linked to mutex usage in acpi_enable_all_wakeup_gpes(), which can cause thread switching, leading to potential system instability.
How To Fix
Minimum fixed version
6.12.13-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, no specific workaround is provided for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.
Conclusion
The vulnerability in the Linux kernel related to the LoongArch architecture during S3 suspend operations poses a risk of system warnings and instability. Users are encouraged to update to the patched version 6.12.13-1 to mitigate this issue. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.
See every vulnerability recorded for linux →
FAQ
The vulnerability can lead to warnings during S3 suspend operations, potentially affecting system stability and performance.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.
While there is no specific workaround, it is advisable to monitor system logs for warnings and plan for an update as soon as possible.
Yes, this vulnerability specifically affects the LoongArch architecture within the Linux kernel.
Detailed information can be found in the official Debian CVE database at https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-21803.json.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.