# CVE-2025-37887: pds\_core: handle unsupported PDS\_CORE\_CMD\_FW\_CONTROL result

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-05-09T06:45:49.492Z
- **Modified:** 2026-08-05T11:58:04.745Z

## Who should check

- Anyone running Linux \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< cdd784c96fe2e5edbf0ed9b3e96fe776e8092385; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 6702f5c6b22deaa95bf84f526148174a160a02cb; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 12a4651a80dbe4589a84e26785fbbe1ed4d043b7; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 2567daad69cd1107fc0ec29b1615f110d7cf7385
- Anyone running Linux 6.4

## 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.

## Affected and fixed versions

- Linux: \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< cdd784c96fe2e5edbf0ed9b3e96fe776e8092385; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 6702f5c6b22deaa95bf84f526148174a160a02cb; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 12a4651a80dbe4589a84e26785fbbe1ed4d043b7; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 2567daad69cd1107fc0ec29b1615f110d7cf7385 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 2567daad69cd1107fc0ec29b1615f110d7cf7385 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37887. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37887.md
Affected: Linux >= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < cdd784c96fe2e5edbf0ed9b3e96fe776e8092385; >= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < 6702f5c6b22deaa95bf84f526148174a160a02cb; >= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, < 12a4651a80dbe4589a84e26785fbbe1ed4d043b7; >= 45d76f492938cdc27ddadc1…
Fixed in: Linux 6702f5c6b22deaa95bf84f526148174a160a02cb, Linux 12a4651a80dbe4589a84e26785fbbe1ed4d043b7, Linux 2567daad69cd1107fc0ec29b1615f110d7cf7385

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37887 being exploited?

There is no confirmed exploitation: CVE-2025-37887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37887?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37887?

Linux \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< cdd784c96fe2e5edbf0ed9b3e96fe776e8092385; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 6702f5c6b22deaa95bf84f526148174a160a02cb; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 12a4651a80dbe4589a84e26785fbbe1ed4d043b7; \>= 45d76f492938cdc27ddadc16e1e75103f4cfbf56, \< 2567daad69cd1107fc0ec29b1615f110d7cf7385; Linux 6.4.

### Is there a fix for CVE-2025-37887?

Yes. Fixed in Linux 6702f5c6b22deaa95bf84f526148174a160a02cb, Linux 12a4651a80dbe4589a84e26785fbbe1ed4d043b7, Linux 2567daad69cd1107fc0ec29b1615f110d7cf7385. Upgrade Linux to 2567daad69cd1107fc0ec29b1615f110d7cf7385 or later.

### How do I check if I'm affected by CVE-2025-37887?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cdd784c96fe2e5edbf0ed9b3e96fe776e8092385>
- patch: <https://git.kernel.org/stable/c/6702f5c6b22deaa95bf84f526148174a160a02cb>
- patch: <https://git.kernel.org/stable/c/12a4651a80dbe4589a84e26785fbbe1ed4d043b7>
- patch: <https://git.kernel.org/stable/c/2567daad69cd1107fc0ec29b1615f110d7cf7385>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37887>

HTML: <https://flawdb.com/CVE-2025-37887> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37887>
