{
  "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-21853",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21853",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-03-12T09:42:07.871Z",
    "updatedAt": "2026-10-15T01:04:47.105Z",
    "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": "bpf: avoid holding freeze_mutex during mmap operation",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: avoid holding freeze_mutex during mmap operation\n\nWe use map->freeze_mutex to prevent races between map_freeze() and\nmemory mapping BPF map contents with writable permissions. The way we\nnaively do this means we'll hold freeze_mutex for entire duration of all\nthe mm and VMA manipulations, which is completely unnecessary. This can\npotentially also lead to deadlocks, as reported by syzbot in [0].\n\nSo, instead, hold freeze_mutex only during writeability checks, bump\n(proactively) \"write active\" count for the map, unlock the mutex and\nproceed with mmap logic. And only if something went wrong during mmap\nlogic, then undo that \"write active\" counter increment.\n\n  [0] https://lore.kernel.org/bpf/678dcbc9.050a0220.303755.0066.GAE@google.com/",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2ce31c97c219b4fe797749f950274f246eb88c49"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0d90d9e154144a3a80e9fc0eb9b21b7fc990f68f"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4759acbd44d24a69b7b14848012ec4201d6c5501"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "29cfda62ab4d92ab94123813db49ab76c1e61b29"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d95607a5f2f9bb08194c9deaf4a5f3e8ba59a9d4"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "271e49f8a58edba65bc2b1250a0abaa98c4bfdbe"
            },
            {
              "version": "fc9702273e2edb90400a34b3be76f7b08fa3344b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bc27c52eea189e8f7492d40739b7746d67b65beb"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.5",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.5"
            },
            {
              "version": "5.10.237",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.181",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.135",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.80",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.17",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}