{
  "id": "CVE-2025-38187",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38187",
  "published_at": "2025-07-04T13:37:13.126Z",
  "title": "drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()",
  "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\ndrm/nouveau: fix a use-after-free in r535_gsp_rpc_push()\n\nThe RPC container is released after being passed to r535_gsp_rpc_send().\n\nWhen sending the initial fragment of a large RPC and passing the\ncaller's RPC container, the container will be freed prematurely. Subsequent\nattempts to send remaining fragments will therefore result in a\nuse-after-free.\n\nAllocate a temporary RPC container for holding the initial fragment of a\nlarge RPC when sending. Free the caller's container when all fragments\nare successfully sent.\n\n[ Rebase onto Blackwell changes. - Danilo ]",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 176fdcbddfd288408ce8571c1760ad618d962096, \u003c 69270d24af7694494ac4116bcad30a812ca49ca7",
          "\u003e= 176fdcbddfd288408ce8571c1760ad618d962096, \u003c cd4677407c0ee250fc21e36439c8a442ddd62cc1",
          "\u003e= 176fdcbddfd288408ce8571c1760ad618d962096, \u003c 9802f0a63b641f4cddb2139c814c2e95cb825099"
        ],
        "fixed_in": [
          "69270d24af7694494ac4116bcad30a812ca49ca7",
          "cd4677407c0ee250fc21e36439c8a442ddd62cc1",
          "9802f0a63b641f4cddb2139c814c2e95cb825099"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.114",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 69270d24af7694494ac4116bcad30a812ca49ca7 or cd4677407c0ee250fc21e36439c8a442ddd62cc1 or 9802f0a63b641f4cddb2139c814c2e95cb825099 or later.",
      "Upgrade Linux to 0 or 6.12.114 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
