{
  "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-38527",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38527",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-08-16T11:12:20.843Z",
    "updatedAt": "2026-10-15T21:52:18.718Z",
    "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": "smb: client: fix use-after-free in cifs_oplock_break",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix use-after-free in cifs_oplock_break\n\nA race condition can occur in cifs_oplock_break() leading to a\nuse-after-free of the cinode structure when unmounting:\n\n  cifs_oplock_break()\n    _cifsFileInfo_put(cfile)\n      cifsFileInfo_put_final()\n        cifs_sb_deactive()\n          [last ref, start releasing sb]\n            kill_sb()\n              kill_anon_super()\n                generic_shutdown_super()\n                  evict_inodes()\n                    dispose_list()\n                      evict()\n                        destroy_inode()\n                          call_rcu(&inode->i_rcu, i_callback)\n    spin_lock(&cinode->open_file_lock)  <- OK\n                            [later] i_callback()\n                              cifs_free_inode()\n                                kmem_cache_free(cinode)\n    spin_unlock(&cinode->open_file_lock)  <- UAF\n    cifs_done_oplock_break(cinode)       <- UAF\n\nThe issue occurs when umount has already released its reference to the\nsuperblock. When _cifsFileInfo_put() calls cifs_sb_deactive(), this\nreleases the last reference, triggering the immediate cleanup of all\ninodes under RCU. However, cifs_oplock_break() continues to access the\ncinode after this point, resulting in use-after-free.\n\nFix this by holding an extra reference to the superblock during the\nentire oplock break operation. This ensures that the superblock and\nits inodes remain valid until the oplock break completes.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4256a483fe58af66a46cbf3dc48ff26e580d3308"
            },
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0a4eec84d4d2c4085d4ed8630fd74e4b39033c1b"
            },
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2baaf5bbab2ac474c4f92c10fcb3310f824db995"
            },
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "09bce2138a30ef10d8821c8c3f73a4ab7a5726bc"
            },
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "da11bd4b697b393a207f19a2ed7d382a811a3ddc"
            },
            {
              "version": "b98749cac4a695f084a5ff076f4510b23e353ecd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "705c79101ccf9edea5a00d761491a03ced314210"
            },
            {
              "version": "2429fcf06d3cb962693868ab0a927c9038f12a2d",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "53fc31a4853e30d6e8f142b824f724da27ff3e40",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "8092ecc306d81186a64cda42411121f4d35aaff4",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "ebac4d0adf68f8962bd82fcf483936edd6ec095b",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "3.16.72",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.17"
            },
            {
              "version": "4.9.171",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.114",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.19.37",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "5.0.10",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.1"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.1"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.147",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.40",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}