{"id":"CVE-2025-37887","summary":"pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result","details":"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.","modified":"2026-04-16T04:37:24.056485538Z","published":"2025-05-09T06:45:49.492Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37887.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/12a4651a80dbe4589a84e26785fbbe1ed4d043b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2567daad69cd1107fc0ec29b1615f110d7cf7385"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6702f5c6b22deaa95bf84f526148174a160a02cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdd784c96fe2e5edbf0ed9b3e96fe776e8092385"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37887.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37887"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"45d76f492938cdc27ddadc16e1e75103f4cfbf56"},{"fixed":"cdd784c96fe2e5edbf0ed9b3e96fe776e8092385"},{"fixed":"6702f5c6b22deaa95bf84f526148174a160a02cb"},{"fixed":"12a4651a80dbe4589a84e26785fbbe1ed4d043b7"},{"fixed":"2567daad69cd1107fc0ec29b1615f110d7cf7385"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37887.json"}}],"schema_version":"1.7.5"}