CVE-2025-21817
block: mark GFP_NOIO around sysfs ->store()
Mitigation
- Upgrade Linux to 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c or later.
- Upgrade Linux to 6.13.3 or later.
Who should check
- Anyone running Linux >= 1645cd7fd42c236c952e9228badcac4fea1829ea, < a09280c39ea54080daf19cfaf4a3121a8d17d5cd; >= 8985da5481562e96b95e94ed8e5cc9b6565eb82b, < 2566ce907e5d5db8a039647208e029ce559baa31; >= c99f66e4084a62a2cc401c4704a84328aeddc9ec, < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c
- Anyone running Linux >= 6.12.96, < 6.12.109; >= 6.13.2, < 6.13.3
Vulnerability facts
- Affected
- Linux >= 1645cd7fd42c236c952e9228badcac4fea1829ea, < a09280c39ea54080daf19cfaf4a3121a8d17d5cd; >= 8985da5481562e96b95e94ed8e5cc9b6565eb82b, < 2566ce907e5d5db8a039647208e029ce559baa31; >= c99f66e4084a62a2cc401c4704a84328aeddc9ec, < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c; Linux >= 6.12.96, < 6.12.109; >= 6.13.2, < 6.13.3
- Fixed in
- Linux 2566ce907e5d5db8a039647208e029ce559baa31, Linux 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, Linux 6.12.109, Linux 6.13.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1645cd7fd42c236c952e9228badcac4fea1829ea, < a09280c39ea54080daf19cfaf4a3121a8d17d5cd; >= 8985da5481562e96b95e94ed8e5cc9b6565eb82b, < 2566ce907e5d5db8a039647208e029ce559baa31; >= c99f66e4084a62a2cc401c4704a84328aeddc9ec, < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c | — | cvelist |
| Linux | >= 6.12.96, < 6.12.109; >= 6.13.2, < 6.13.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21817. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21817.md Affected: Linux >= 1645cd7fd42c236c952e9228badcac4fea1829ea, < a09280c39ea54080daf19cfaf4a3121a8d17d5cd; >= 8985da5481562e96b95e94ed8e5cc9b6565eb82b, < 2566ce907e5d5db8a039647208e029ce559baa31; >= c99f66e4084a62a2cc401c4704a84328aeddc9ec, < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c; Linux >= 6.12.96, < 6.12.1… Fixed in: Linux 2566ce907e5d5db8a039647208e029ce559baa31, Linux 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, Linux 6.12.109, Linux 6.13.3 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2025-21817 being exploited?
There is no confirmed exploitation: CVE-2025-21817 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21817?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21817?
Linux >= 1645cd7fd42c236c952e9228badcac4fea1829ea, < a09280c39ea54080daf19cfaf4a3121a8d17d5cd; >= 8985da5481562e96b95e94ed8e5cc9b6565eb82b, < 2566ce907e5d5db8a039647208e029ce559baa31; >= c99f66e4084a62a2cc401c4704a84328aeddc9ec, < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c; Linux >= 6.12.96, < 6.12.109; >= 6.13.2, < 6.13.3.
Is there a fix for CVE-2025-21817?
Yes. Fixed in Linux 2566ce907e5d5db8a039647208e029ce559baa31, Linux 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c, Linux 6.12.109, Linux 6.13.3. Upgrade Linux to 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c or later. Upgrade Linux to 6.13.3 or later.
How do I check if I'm affected by CVE-2025-21817?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.