{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-21726",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21726",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-27T02:07:32.861Z",
    "updatedAt": "2026-10-15T01:03:46.766Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "padata: avoid UAF for reorder_work",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\npadata: avoid UAF for reorder_work\n\nAlthough the previous patch can avoid ps and ps UAF for _do_serial, it\ncan not avoid potential UAF issue for reorder_work. This issue can\nhappen just as below:\n\ncrypto_request\t\t\tcrypto_request\t\tcrypto_del_alg\npadata_do_serial\n  ...\n  padata_reorder\n    // processes all remaining\n    // requests then breaks\n    while (1) {\n      if (!padata)\n        break;\n      ...\n    }\n\n\t\t\t\tpadata_do_serial\n\t\t\t\t  // new request added\n\t\t\t\t  list_add\n    // sees the new request\n    queue_work(reorder_work)\n\t\t\t\t  padata_reorder\n\t\t\t\t    queue_work_on(squeue->work)\n...\n\n\t\t\t\t<kworker context>\n\t\t\t\tpadata_serial_worker\n\t\t\t\t// completes new request,\n\t\t\t\t// no more outstanding\n\t\t\t\t// requests\n\n\t\t\t\t\t\t\tcrypto_del_alg\n\t\t\t\t\t\t\t  // free pd\n\n<kworker context>\ninvoke_padata_reorder\n  // UAF of pd\n\nTo avoid UAF for 'reorder_work', get 'pd' ref before put 'reorder_work'\ninto the 'serial_wq' and put 'pd' ref until the 'serial_wq' finish.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7000507bb0d2ceb545c0a690e0c707c897d102c2"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6f45ef616775b0ce7889b0f6077fc8d681ab30bc"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a54091c24220a4cd847d5b4f36d678edacddbaf0"
            },
            {
              "version": "bbefa1dd6a6d53537c11624752219e39959d04fb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dd7d37ccf6b11f3d95e797ebe4e9e886d0332600"
            },
            {
              "version": "b4c8ed0bf977760a206997b6429a7ac91978f440",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "e43d65719527043f1ef79ecba9d4ede58cbc7ffe",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.4.19",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.5"
            },
            {
              "version": "5.5.3",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.6"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.6"
            },
            {
              "version": "5.10.235",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.129",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.76",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.13",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}