# CVE-2025-21817: block: mark GFP_NOIO around sysfs ->store()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-02-27T20:04:15.988Z
- Modified: 2026-11-05T21:17:43.547Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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()

(As written by CVE List.)

## Affected

- Linux Linux: from 1645cd7fd42c236c952e9228badcac4fea1829ea before a09280c39ea54080daf19cfaf4a3121a8d17d5cd; from 8985da5481562e96b95e94ed8e5cc9b6565eb82b before 2566ce907e5d5db8a039647208e029ce559baa31; from c99f66e4084a62a2cc401c4704a84328aeddc9ec before 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c; from 6.12.96 before 6.12.109; from 6.13.2 before 6.13.3
- linux linux_kernel: 6.13.2

## References

- <https://git.kernel.org/stable/c/a09280c39ea54080daf19cfaf4a3121a8d17d5cd>
- <https://git.kernel.org/stable/c/2566ce907e5d5db8a039647208e029ce559baa31> (patch)
- <https://git.kernel.org/stable/c/7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c> (patch)

## Sources

- CVE List: [CVE-2025-21817](https://www.cve.org/CVERecord?id=CVE-2025-21817), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-21817](https://nvd.nist.gov/vuln/detail/CVE-2025-21817), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-21817 · Whole record: https://cve.day/CVE-2025-21817.json · Rebuilt by cve.day 2026-11-25T22:58:54.621Z
