CVE-2025-21817

published 27 Feb 2025 · updated 7 Nov 2026

block: mark GFP_NOIO around sysfs ->store()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, Kernel 2566ce907e5d5db8a039647208e029ce559baa31, Kernel a09280c39ea54080daf19cfaf4a3121a8d17d5cd and 2 more.

In the Linux kernel, the following vulnerability has been resolved: block: mark GFP_NOIO around sysfs ->store() sysfs ->store is called with queue freezed, meantime we have several ->store() callbacks(update_nr_requests, wbt, scheduler) to allocate memory with GFP_KERNEL which may run into direct reclaim code path, then potential deadlock can be caused. Fix the issue by marking NOIO around sysfs ->store()

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=c99f66e4084a62a2cc401c4704a84328aeddc9ec <7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, >=8985da5481562e96b95e94ed8e5cc9b6565eb82b <2566ce907e5d5db8a039647208e029ce559baa31, =6.13.2, >=1645cd7fd42c236c952e9228badcac4fea1829ea <a09280c39ea54080daf19cfaf4a3121a8d17d5cd, >=6.12.96 <6.12.109, >=6.13.2 <6.13.37c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, 2566ce907e5d5db8a039647208e029ce559baa31, a09280c39ea54080daf19cfaf4a3121a8d17d5cd, 6.12.109, 6.13.3
linux-kernel: Kernel>=6.12.96 <6.12.109, >=6.13.2 <6.13.36.12.109, 6.13.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21817 severity on Zeptric[![CVE-2025-21817](https://zeptric.io/badge/cve/CVE-2025-21817.svg)](https://zeptric.io/cve/CVE-2025-21817)