# CVE-2025-38584: padata: Fix pd UAF once and for all

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.28% (percentile 13, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2025-08-19T17:03:06.172Z
- **Modified:** 2026-10-15T22:18:46.183Z

## Who should check

- Anyone running Linux \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a2048e475e22b13dc3e53d485b7e6e11464ed9a6; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 73f132e60857038416540c3599b1de6033d7575a; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a11a12a9880ab37342b73c93cfe1a3ada02ff0db; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< f231d5d001ec75f5886c02d496a4c79edc383d45; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< dbe3e911a59bda6de96e7cae387ff882c2c177fa; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< cdf79bd2e1ecb3cc75631c73d8f4149be6019a52; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 71203f68c7749609d7fc8ae6ad054bdedeb24f91
- Anyone running Linux 2.6.34

## Description

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

padata: Fix pd UAF once and for all

There is a race condition/UAF in padata\_reorder that goes back
to the initial commit.  A reference count is taken at the start
of the process in padata\_do\_parallel, and released at the end in
padata\_serial\_worker.

This reference count is (and only is) required for padata\_replace
to function correctly.  If padata\_replace is never called then
there is no issue.

In the function padata\_reorder which serves as the core of padata,
as soon as padata is added to queue-\>serial.list, and the associated
spin lock released, that padata may be processed and the reference
count on pd would go away.

Fix this by getting the next padata before the squeue-\>serial lock
is released.

In order to make this possible, simplify padata\_reorder by only
calling it once the next padata arrives.

## Affected and fixed versions

- Linux: \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a2048e475e22b13dc3e53d485b7e6e11464ed9a6; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 73f132e60857038416540c3599b1de6033d7575a; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a11a12a9880ab37342b73c93cfe1a3ada02ff0db; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< f231d5d001ec75f5886c02d496a4c79edc383d45; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< dbe3e911a59bda6de96e7cae387ff882c2c177fa; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< cdf79bd2e1ecb3cc75631c73d8f4149be6019a52; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 71203f68c7749609d7fc8ae6ad054bdedeb24f91 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- Upgrade Linux to 71203f68c7749609d7fc8ae6ad054bdedeb24f91 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-38584. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38584.md
Affected: Linux >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < a2048e475e22b13dc3e53d485b7e6e11464ed9a6; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 73f132e60857038416540c3599b1de6033d7575a; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; >= 16295bec6398a3eedc9377e…
Fixed in: Linux 73f132e60857038416540c3599b1de6033d7575a, Linux 609e59193fc6d9dd323f1c6ae1fdd721f1c79680, Linux 71203f68c7749609d7fc8ae6ad054bdedeb24f91

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

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

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a2048e475e22b13dc3e53d485b7e6e11464ed9a6; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 73f132e60857038416540c3599b1de6033d7575a; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< a11a12a9880ab37342b73c93cfe1a3ada02ff0db; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< f231d5d001ec75f5886c02d496a4c79edc383d45; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< dbe3e911a59bda6de96e7cae387ff882c2c177fa; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< cdf79bd2e1ecb3cc75631c73d8f4149be6019a52; \>= 16295bec6398a3eedc9377e1af6ff4c71b98c300, \< 71203f68c7749609d7fc8ae6ad054bdedeb24f91; Linux 2.6.34.

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

Yes. Fixed in Linux 73f132e60857038416540c3599b1de6033d7575a, Linux 609e59193fc6d9dd323f1c6ae1fdd721f1c79680, Linux 71203f68c7749609d7fc8ae6ad054bdedeb24f91. Upgrade Linux to 71203f68c7749609d7fc8ae6ad054bdedeb24f91 or later.

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

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/dbe3e911a59bda6de96e7cae387ff882c2c177fa>
- patch: <https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52>
- patch: <https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91>
- other: <https://git.kernel.org/stable/c/a2048e475e22b13dc3e53d485b7e6e11464ed9a6>
- other: <https://git.kernel.org/stable/c/73f132e60857038416540c3599b1de6033d7575a>
- other: <https://git.kernel.org/stable/c/609e59193fc6d9dd323f1c6ae1fdd721f1c79680>
- other: <https://git.kernel.org/stable/c/a11a12a9880ab37342b73c93cfe1a3ada02ff0db>
- other: <https://git.kernel.org/stable/c/f231d5d001ec75f5886c02d496a4c79edc383d45>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

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

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