# CVE-2025-37916: pds\_core: remove write-after-free of client\_id

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-20T15:21:47.088Z
- **Modified:** 2026-06-17T09:15:41.520Z

## Who should check

- Anyone running Linux \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< c649b9653ed09196e91d3f4b16b679041b3c42e6; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 26dc701021302f11c8350108321d11763bd81dfe; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< dfd76010f8e821b66116dec3c7d90dd2403d1396
- Anyone running Linux 6.4

## Description

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

pds\_core: remove write-after-free of client\_id

A use-after-free error popped up in stress testing:

\[Mon Apr 21 21:21:33 2025\] BUG: KFENCE: use-after-free write in pdsc\_auxbus\_dev\_del+0xef/0x160 \[pds\_core\]
\[Mon Apr 21 21:21:33 2025\] Use-after-free write at 0x000000007013ecd1 (in kfence-\#47):
\[Mon Apr 21 21:21:33 2025\]  pdsc\_auxbus\_dev\_del+0xef/0x160 \[pds\_core\]
\[Mon Apr 21 21:21:33 2025\]  pdsc\_remove+0xc0/0x1b0 \[pds\_core\]
\[Mon Apr 21 21:21:33 2025\]  pci\_device\_remove+0x24/0x70
\[Mon Apr 21 21:21:33 2025\]  device\_release\_driver\_internal+0x11f/0x180
\[Mon Apr 21 21:21:33 2025\]  driver\_detach+0x45/0x80
\[Mon Apr 21 21:21:33 2025\]  bus\_remove\_driver+0x83/0xe0
\[Mon Apr 21 21:21:33 2025\]  pci\_unregister\_driver+0x1a/0x80

The actual device uninit usually happens on a separate thread
scheduled after this code runs, but there is no guarantee of order
of thread execution, so this could be a problem.  There's no
actual need to clear the client\_id at this point, so simply
remove the offending code.

## Affected and fixed versions

- Linux: \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< c649b9653ed09196e91d3f4b16b679041b3c42e6; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 26dc701021302f11c8350108321d11763bd81dfe; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< dfd76010f8e821b66116dec3c7d90dd2403d1396 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-37916.md
Affected: Linux >= 10659034c622738bc1bfab8a76fc576c52d5acce, < 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b; >= 10659034c622738bc1bfab8a76fc576c52d5acce, < c649b9653ed09196e91d3f4b16b679041b3c42e6; >= 10659034c622738bc1bfab8a76fc576c52d5acce, < 26dc701021302f11c8350108321d11763bd81dfe; >= 10659034c622738bc1bfab8…
Fixed in: Linux 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b, Linux 26dc701021302f11c8350108321d11763bd81dfe

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-37916 being exploited?

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

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

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

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

Linux \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< c649b9653ed09196e91d3f4b16b679041b3c42e6; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< 26dc701021302f11c8350108321d11763bd81dfe; \>= 10659034c622738bc1bfab8a76fc576c52d5acce, \< dfd76010f8e821b66116dec3c7d90dd2403d1396; Linux 6.4.

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

Yes. Fixed in Linux 9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b, Linux 26dc701021302f11c8350108321d11763bd81dfe. No fix listed yet: follow the vendor advisory.

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

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/9b467c5bcdb45a41d2a49fbb9ffca73d1380e99b>
- patch: <https://git.kernel.org/stable/c/c649b9653ed09196e91d3f4b16b679041b3c42e6>
- patch: <https://git.kernel.org/stable/c/26dc701021302f11c8350108321d11763bd81dfe>
- patch: <https://git.kernel.org/stable/c/dfd76010f8e821b66116dec3c7d90dd2403d1396>

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

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