CVE-2025-21817: block: mark GFP_NOIO around sysfs ->store()
In the Linux kernel, the following vulnerability has been resolved:
block: mark GFPNOIO around sysfs ->store()
sysfs ->store is called with queue freezed, meantime we have several ->store() callbacks(updatenrrequests, wbt, scheduler) to allocate memory with GFPKERNEL which may run into direct reclaim code path, then potential deadlock can be caused.
Fix the issue by marking NOIO around sysfs ->store()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.111-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.111-1~deb12u1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.109 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.13.3 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.117-1~deb12u1 - Compensating control
Mark GFP_NOIO around sysfs ->store() callbacks, including update_nr_requests, wbt, and scheduler, to prevent GFP_KERNEL allocations from entering direct reclaim while the queue is frozen.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21817?
CVE-2025-21817 has a severity rating that indicates a potential impact on system stability due to improper memory allocation in the Linux kernel.
How do I fix CVE-2025-21817?
To fix CVE-2025-21817, update the Linux kernel to the latest version where the vulnerability has been patched.
What systems are affected by CVE-2025-21817?
CVE-2025-21817 affects versions of the Linux kernel that do not have the recent security updates applied.
Is CVE-2025-21817 a remote code execution vulnerability?
CVE-2025-21817 is not classified as a remote code execution vulnerability; it relates more to memory allocation issues.
Can CVE-2025-21817 lead to a denial of service?
Yes, CVE-2025-21817 could potentially lead to a denial of service by affecting system responsiveness under certain conditions.