CVE-2025-37887

pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result

State
Published
Severity
7.1 High
Published
May 9, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result

If the FW doesn't support the PDS_CORE_CMD_FW_CONTROL command the driver might at the least print garbage and at the worst crash when the user runs the "devlink dev info" devlink command.

This happens because the stack variable fw_list is not 0 initialized which results in fw_list.num_fw_slots being a garbage value from the stack. Then the driver tries to access fw_list.fw_names[i] with i >= ARRAY_SIZE and runs off the end of the array.

Fix this by initializing the fw_list and by not failing completely if the devcmd fails because other useful information is printed via devlink dev info even if the devcmd fails.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 45d76f492938cdc27ddadc16e1e75103f4cfbf56 to before cdd784c96fe2e5edbf0ed9b3e96fe776e8092385Affected
  • 45d76f492938cdc27ddadc16e1e75103f4cfbf56 to before 6702f5c6b22deaa95bf84f526148174a160a02cbAffected
  • 45d76f492938cdc27ddadc16e1e75103f4cfbf56 to before 12a4651a80dbe4589a84e26785fbbe1ed4d043b7Affected
  • 45d76f492938cdc27ddadc16e1e75103f4cfbf56 to before 2567daad69cd1107fc0ec29b1615f110d7cf7385Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.89 through 6.6.*Not affected
  • 6.12.26 through 6.12.*Not affected
  • 6.14.5 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.