{
  "id": "CVE-2025-37887",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37887",
  "published_at": "2025-05-09T06:45:49.492Z",
  "title": "pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\npds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result\n\nIf the FW doesn't support the PDS_CORE_CMD_FW_CONTROL command\nthe driver might at the least print garbage and at the worst\ncrash when the user runs the \"devlink dev info\" devlink command.\n\nThis happens because the stack variable fw_list is not 0\ninitialized which results in fw_list.num_fw_slots being a\ngarbage value from the stack.  Then the driver tries to access\nfw_list.fw_names[i] with i \u003e= ARRAY_SIZE and runs off the end\nof the array.\n\nFix this by initializing the fw_list and by not failing\ncompletely if the devcmd fails because other useful information\nis printed via devlink dev info even if the devcmd fails.",
  "cwe": "CWE-908",
  "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:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \u003c cdd784c96fe2e5edbf0ed9b3e96fe776e8092385",
          "\u003e= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \u003c 6702f5c6b22deaa95bf84f526148174a160a02cb",
          "\u003e= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \u003c 12a4651a80dbe4589a84e26785fbbe1ed4d043b7",
          "\u003e= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \u003c 2567daad69cd1107fc0ec29b1615f110d7cf7385"
        ],
        "fixed_in": [
          "cdd784c96fe2e5edbf0ed9b3e96fe776e8092385",
          "6702f5c6b22deaa95bf84f526148174a160a02cb",
          "12a4651a80dbe4589a84e26785fbbe1ed4d043b7",
          "2567daad69cd1107fc0ec29b1615f110d7cf7385"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.89",
          "6.12.26",
          "6.14.5",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to cdd784c96fe2e5edbf0ed9b3e96fe776e8092385 or 6702f5c6b22deaa95bf84f526148174a160a02cb or 12a4651a80dbe4589a84e26785fbbe1ed4d043b7 or 2567daad69cd1107fc0ec29b1615f110d7cf7385 or later.",
      "Upgrade Linux to 0 or 6.6.89 or 6.12.26 or 6.14.5 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
