{
  "id": "CVE-2025-39825",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39825",
  "published_at": "2025-09-16T13:00:23.897Z",
  "title": "smb: client: fix race with concurrent opens in rename(2)",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix race with concurrent opens in rename(2)\n\nBesides sending the rename request to the server, the rename process\nalso involves closing any deferred close, waiting for outstanding I/O\nto complete as well as marking all existing open handles as deleted to\nprevent them from deferring closes, which increases the race window\nfor potential concurrent opens on the target file.\n\nFix this by unhashing the dentry in advance to prevent any concurrent\nopens on the target.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 78c09634f7dc061a3bd09704cdbebb3762a45cdf, \u003c c9e7de284da0be5b44dbe79d71573f9f7f9b144c",
          "\u003e= 78c09634f7dc061a3bd09704cdbebb3762a45cdf, \u003c 24b9ed739c8c5b464d983e12cf308982f3ae93c2",
          "\u003e= 78c09634f7dc061a3bd09704cdbebb3762a45cdf, \u003c c9991af5e09924f6f3b3e6996a5e09f9504b4358",
          "\u003e= 78c09634f7dc061a3bd09704cdbebb3762a45cdf, \u003c 289f945acb20b9b54fe4d13895e44aa58965ddb2",
          "\u003e= 78c09634f7dc061a3bd09704cdbebb3762a45cdf, \u003c d84291fc7453df7881a970716f8256273aca5747"
        ],
        "fixed_in": [
          "c9e7de284da0be5b44dbe79d71573f9f7f9b144c",
          "24b9ed739c8c5b464d983e12cf308982f3ae93c2",
          "c9991af5e09924f6f3b3e6996a5e09f9504b4358",
          "289f945acb20b9b54fe4d13895e44aa58965ddb2",
          "d84291fc7453df7881a970716f8256273aca5747"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.13"
        ],
        "fixed_in": [
          "0",
          "6.1.150",
          "6.6.104",
          "6.12.45",
          "6.16.5",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c9e7de284da0be5b44dbe79d71573f9f7f9b144c or 24b9ed739c8c5b464d983e12cf308982f3ae93c2 or c9991af5e09924f6f3b3e6996a5e09f9504b4358 or 289f945acb20b9b54fe4d13895e44aa58965ddb2 or d84291fc7453df7881a970716f8256273aca5747 or later.",
      "Upgrade Linux to 0 or 6.1.150 or 6.6.104 or 6.12.45 or 6.16.5 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
