{"id":"CVE-2025-37887","published":"2025-05-09T06:45:49Z","modified":"2026-08-05T11:58:04Z","title":"pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 >= 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00285,"percentile":0.13756,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cdd784c96fe2e5edbf0ed9b3e96fe776e8092385","tags":[]},{"url":"https://git.kernel.org/stable/c/6702f5c6b22deaa95bf84f526148174a160a02cb","tags":[]},{"url":"https://git.kernel.org/stable/c/12a4651a80dbe4589a84e26785fbbe1ed4d043b7","tags":[]},{"url":"https://git.kernel.org/stable/c/2567daad69cd1107fc0ec29b1615f110d7cf7385","tags":[]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":2.75},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < cdd784c96fe2e5edbf0ed9b3e96fe776e8092385",">= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < 6702f5c6b22deaa95bf84f526148174a160a02cb",">= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < 12a4651a80dbe4589a84e26785fbbe1ed4d043b7",">= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < 2567daad69cd1107fc0ec29b1615f110d7cf7385"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"euvd":{"id":"EUVD-2025-14103","exploited":false,"provenance":"source"}}