Vulnerability in Linux

CVE-2025-21817

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

EPSS: 0.001 (2.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Linux — versions 1645cd7fd42c236c952e9228badcac4fea1829ea, c99f66e4084a62a2cc401c4704a84328aeddc9ec, 6.12.96
  • Linux Linux_kernel — versions 6.13.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-21817?
CVE-2025-21817 is a medium-severity vulnerability in Linux, classified under Improper Locking. CVSS score: 5.5/10. Published 2025-02-27.
How severe is CVE-2025-21817?
Medium severity. CVSS v3 base score is 5.5 out of 10.