{
  "id": "CVE-2025-37946",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37946",
  "published_at": "2025-05-20T16:01:43.162Z",
  "title": "s390/pci: Fix duplicate pci_dev_put() in disable_slot() when PF has child VFs",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "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\ns390/pci: Fix duplicate pci_dev_put() in disable_slot() when PF has child VFs\n\nWith commit bcb5d6c76903 (\"s390/pci: introduce lock to synchronize state\nof zpci_dev's\") the code to ignore power off of a PF that has child VFs\nwas changed from a direct return to a goto to the unlock and\npci_dev_put() section. The change however left the existing pci_dev_put()\nuntouched resulting in a doubple put. This can subsequently cause a use\nafter free if the struct pci_dev is released in an unexpected state.\nFix this by removing the extra pci_dev_put().",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bcb5d6c769039c8358a2359e7c3ea5d97ce93108, \u003c c488f8b53e156d6dcc0514ef0afa3a33376b8f9e",
          "\u003e= bcb5d6c769039c8358a2359e7c3ea5d97ce93108, \u003c 957529baef142d95e0d1b1bea786675bd47dbe53",
          "\u003e= bcb5d6c769039c8358a2359e7c3ea5d97ce93108, \u003c 05a2538f2b48500cf4e8a0a0ce76623cc5bafcf1"
        ],
        "fixed_in": [
          "c488f8b53e156d6dcc0514ef0afa3a33376b8f9e",
          "957529baef142d95e0d1b1bea786675bd47dbe53",
          "05a2538f2b48500cf4e8a0a0ce76623cc5bafcf1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.9"
        ],
        "fixed_in": [
          "0",
          "6.12.29",
          "6.14.7",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c488f8b53e156d6dcc0514ef0afa3a33376b8f9e or 957529baef142d95e0d1b1bea786675bd47dbe53 or 05a2538f2b48500cf4e8a0a0ce76623cc5bafcf1 or later.",
      "Upgrade Linux to 0 or 6.12.29 or 6.14.7 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
