block: mark GFP_NOIO around sysfs ->store()
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()
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.109, 6.13.3
- CVEs
- CVE-2025-21817
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:56 UTC · Revision 1
Source evidence
block: mark GFP_NOIO around sysfs ->store()
core-osv · Original sourcePublished 27 Feb 2025, 20:04 UTC
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()
osv:CVE-2025-21817
Kernel
Fixed versions: 6.12.109, 6.13.3
Complete source record
{
"id": "110ef7cb3dec5199c251535f8b91bd53176c3ce427c9ba51de2529cba54d0f79",
"url": "https://osv.dev/vulnerability/CVE-2025-21817",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "block: mark GFP_NOIO around sysfs ->store()",
"summary": "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()",
"evidence": "osv:CVE-2025-21817",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.109",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-21817",
"aliases": [
"CVE-2025-21817"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1645cd7fd42c236c952e9228badcac4fea1829ea"
},
{
"fixed": "a09280c39ea54080daf19cfaf4a3121a8d17d5cd"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8985da5481562e96b95e94ed8e5cc9b6565eb82b"
},
{
"fixed": "2566ce907e5d5db8a039647208e029ce559baa31"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c99f66e4084a62a2cc401c4704a84328aeddc9ec"
},
{
"fixed": "7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c"
}
]
}
],
"versions": [
"v6.12.108",
"v6.12.107",
"v6.12.106",
"v6.12.105",
"v6.12.104",
"v6.12.103",
"v6.12.102",
"v6.12.101",
"v6.12.100",
"v6.12.99",
"v6.12.98",
"v6.12.97",
"v6.12.96",
"v6.13.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21817.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.96"
},
{
"fixed": "6.12.109"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.2"
},
{
"fixed": "6.13.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21817.json"
}
}
],
"modified": "2026-10-28T02:30:38.335752278Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2566ce907e5d5db8a039647208e029ce559baa31",
"https://git.kernel.org/stable/c/7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c",
"https://git.kernel.org/stable/c/a09280c39ea54080daf19cfaf4a3121a8d17d5cd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21817.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-21817",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21817.json"
}
},
"related_cves": [
{
"value": "CVE-2025-21817",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505512,
"published_at": "2025-02-27T20:04:15.988+00:00"
}