{
  "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-38212",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38212",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-04T13:37:30.957Z",
    "updatedAt": "2026-10-15T21:52:11.622Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "ipc: fix to protect IPCS lookups using RCU",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nipc: fix to protect IPCS lookups using RCU\n\nsyzbot reported that it discovered a use-after-free vulnerability, [0]\n\n[0]: https://lore.kernel.org/all/67af13f8.050a0220.21dd3.0038.GAE@google.com/\n\nidr_for_each() is protected by rwsem, but this is not enough.  If it is\nnot protected by RCU read-critical region, when idr_for_each() calls\nradix_tree_node_free() through call_rcu() to free the radix_tree_node\nstructure, the node will be freed immediately, and when reading the next\nnode in radix_tree_for_each_slot(), the already freed memory may be read.\n\nTherefore, we need to add code to make sure that idr_for_each() is\nprotected within the RCU read-critical region when we call it in\nshm_destroy_orphaned().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f1e1573bf103303944fd7225559de5d8297539c"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b968ba8bfd9f90914957bbbd815413bf6a98eca7"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "74bc813d11c30e28fc5261dc877cca662ccfac68"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "78297d53d3878d43c1d627d20cd09f611fa4b91d"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5180561afff8e0f029073c8c8117c95c6512d1f9"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "68c173ea138b66d7dd1fd980c9bc578a18e11884"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b0b6bf90ce2699a574b3683e22c44d0dcdd7a057"
            },
            {
              "version": "b34a6b1da371ed8af1221459a18c67970f7e3d53",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d66adabe91803ef34a8b90613c81267b5ded1472"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.1"
            },
            {
              "version": "5.4.295",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.239",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.186",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.142",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.95",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.35",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}