CVE-2025-21817 (GCVE-0-2025-21817)
Vulnerability from cvelistv5
Published
2025-02-27 20:04
Modified
2025-06-19 12:56
Severity ?
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
Linux Linux Version: 8985da5481562e96b95e94ed8e5cc9b6565eb82b
Version: c99f66e4084a62a2cc401c4704a84328aeddc9ec
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": "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.13.3",
              "status": "affected",
              "version": "6.13.2",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "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": "2025-06-19T12:56:45.920Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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": "2025-06-19T12:56:45.920Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-21817\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-27T20:16:04.243\",\"lastModified\":\"2025-02-27T20:16:04.243\",\"vulnStatus\":\"Awaiting Analysis\",\"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()\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2566ce907e5d5db8a039647208e029ce559baa31\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7c0be4ead1f8f5f8be0803f347de0de81e3b8e1c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…