GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-21817 (GCVE-0-2025-21817)

Vulnerability from cvelistv5 – Published: 2025-02-27 20:04 – Updated: 2026-09-07 15:44
VLAI
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()
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1645cd7fd42c236c952e9228badcac4fea1829ea , < a09280c39ea54080daf19cfaf4a3121a8d17d5cd (git)
Affected: 8985da5481562e96b95e94ed8e5cc9b6565eb82b , < 2566ce907e5d5db8a039647208e029ce559baa31 (git)
Affected: c99f66e4084a62a2cc401c4704a84328aeddc9ec , < 7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.12.96 , < 6.12.109 (semver)
Affected: 6.13.2 , < 6.13.3 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/blk-sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a09280c39ea54080daf19cfaf4a3121a8d17d5cd",
              "status": "affected",
              "version": "1645cd7fd42c236c952e9228badcac4fea1829ea",
              "versionType": "git"
            },
            {
              "lessThan": "2566ce907e5d5db8a039647208e029ce559baa31",
              "status": "affected",
              "version": "8985da5481562e96b95e94ed8e5cc9b6565eb82b",
              "versionType": "git"
            },
            {
              "lessThan": "7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c",
              "status": "affected",
              "version": "c99f66e4084a62a2cc401c4704a84328aeddc9ec",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "block/blk-sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6.12.109",
              "status": "affected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThan": "6.13.3",
              "status": "affected",
              "version": "6.13.2",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "6.12.96",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.3",
                  "versionStartIncluding": "6.13.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: mark GFP_NOIO around sysfs -\u003estore()\n\nsysfs -\u003estore is called with queue freezed, meantime we have several\n-\u003estore() callbacks(update_nr_requests, wbt, scheduler) to allocate\nmemory with GFP_KERNEL which may run into direct reclaim code path,\nthen potential deadlock can be caused.\n\nFix the issue by marking NOIO around sysfs -\u003estore()"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-07T15:44:41.250Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a09280c39ea54080daf19cfaf4a3121a8d17d5cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/2566ce907e5d5db8a039647208e029ce559baa31"
        },
        {
          "url": "https://git.kernel.org/stable/c/7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c"
        }
      ],
      "title": "block: mark GFP_NOIO around sysfs -\u003estore()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-21817",
    "datePublished": "2025-02-27T20:04:15.988Z",
    "dateReserved": "2024-12-29T08:45:45.774Z",
    "dateUpdated": "2026-09-07T15:44:41.250Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-21817",
      "date": "2026-09-19",
      "epss": "0.00147",
      "percentile": "0.04314"
    },
    "microsoft_vex": {
      "current_release_date": "2025-09-04T02:10:59.000Z",
      "cve": "CVE-2025-21817",
      "id": "msrc_CVE-2025-21817",
      "initial_release_date": "2025-02-02T00:00:00.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "block: mark GFP_NOIO around sysfs -\u003estore()",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-21817.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "block/blk-sysfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a09280c39ea54080daf19cfaf4a3121a8d17d5cd",
                    "status": "affected",
                    "version": "1645cd7fd42c236c952e9228badcac4fea1829ea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2566ce907e5d5db8a039647208e029ce559baa31",
                    "status": "affected",
                    "version": "8985da5481562e96b95e94ed8e5cc9b6565eb82b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c",
                    "status": "affected",
                    "version": "c99f66e4084a62a2cc401c4704a84328aeddc9ec",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "block/blk-sysfs.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6.12.109",
                    "status": "affected",
                    "version": "6.12.96",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.13.3",
                    "status": "affected",
                    "version": "6.13.2",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.13.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "87D43B7A-D234-4A8A-9769-AAC59CA2B99D",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: mark GFP_NOIO around sysfs -\u003estore()\n\nsysfs -\u003estore is called with queue freezed, meantime we have several\n-\u003estore() callbacks(update_nr_requests, wbt, scheduler) to allocate\nmemory with GFP_KERNEL which may run into direct reclaim code path,\nthen potential deadlock can be caused.\n\nFix the issue by marking NOIO around sysfs -\u003estore()"
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: block: mark GFP_NOIO around sysfs -\u0026gt;store() sysfs -\u0026gt;store se llama con la cola congelada, mientras tanto tenemos varias devoluciones de llamadas -\u0026gt;store() (update_nr_requests, wbt, scheduler) para asignar memoria con GFP_KERNEL que puede ejecutarse en una ruta de c\u00f3digo de recuperaci\u00f3n directa, lo que puede provocar un posible bloqueo. Solucione el problema marcando NOIO alrededor de sysfs -\u0026gt;store()"
          }
        ],
        "id": "CVE-2025-21817",
        "lastModified": "2026-09-07T16:17:27.213",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2025-02-27T20:16:04.243",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/2566ce907e5d5db8a039647208e029ce559baa31"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a09280c39ea54080daf19cfaf4a3121a8d17d5cd"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-667"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-30T00:00:30+00:00",
      "cve": "CVE-2025-21817",
      "id": "CVE-2025-21817",
      "initial_release_date": "2025-02-27T00:00:00+00:00",
      "product_status:known_affected": "260",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: block: mark GFP_NOIO around sysfs -\u003estore()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21817.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…