{
  "id": "CVE-2025-38660",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38660",
  "published_at": "2025-08-22T16:01:03.686Z",
  "title": "[ceph] parse_longname(): strrchr() expects NUL-terminated string",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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\n[ceph] parse_longname(): strrchr() expects NUL-terminated string\n\n... and parse_longname() is not guaranteed that.  That's the reason\nwhy it uses kmemdup_nul() to build the argument for kstrtou64();\nthe problem is, kstrtou64() is not the only thing that need it.\n\nJust get a NUL-terminated copy of the entire thing and be done\nwith that...",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= dd66df0053ef84add5e684df517aa9b498342381, \u003c 4b9aee707c4580511983a0998547f3b28514e6a6",
          "\u003e= dd66df0053ef84add5e684df517aa9b498342381, \u003c bb80f7618832d26f7e395f52f82b1dac76223e5f",
          "\u003e= dd66df0053ef84add5e684df517aa9b498342381, \u003c 3145b2b11492d61c512bbc59660bb823bc757f48",
          "\u003e= dd66df0053ef84add5e684df517aa9b498342381, \u003c 493479af8af3ab907f49e99323777d498a4fbd2b",
          "\u003e= dd66df0053ef84add5e684df517aa9b498342381, \u003c 101841c38346f4ca41dc1802c867da990ffb32eb"
        ],
        "fixed_in": [
          "4b9aee707c4580511983a0998547f3b28514e6a6",
          "bb80f7618832d26f7e395f52f82b1dac76223e5f",
          "3145b2b11492d61c512bbc59660bb823bc757f48",
          "493479af8af3ab907f49e99323777d498a4fbd2b",
          "101841c38346f4ca41dc1802c867da990ffb32eb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.6"
        ],
        "fixed_in": [
          "0",
          "6.6.157",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4b9aee707c4580511983a0998547f3b28514e6a6 or bb80f7618832d26f7e395f52f82b1dac76223e5f or 3145b2b11492d61c512bbc59660bb823bc757f48 or 493479af8af3ab907f49e99323777d498a4fbd2b or 101841c38346f4ca41dc1802c867da990ffb32eb or later.",
      "Upgrade Linux to 0 or 6.6.157 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
