CVE-2025-38584
padata: Fix pd UAF once and for all
Mitigation
- Upgrade Linux to 71203f68c7749609d7fc8ae6ad054bdedeb24f91 or later.
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
Vulnerability facts
- Affected
- Linux >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < a2048e475e22b13dc3e53d485b7e6e11464ed9a6; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 73f132e60857038416540c3599b1de6033d7575a; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < a11a12a9880ab37342b73c93cfe1a3ada02ff0db; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < f231d5d001ec75f5886c02d496a4c79edc383d45; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < dbe3e911a59bda6de96e7cae387ff882c2c177fa; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < cdf79bd2e1ecb3cc75631c73d8f4149be6019a52; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 71203f68c7749609d7fc8ae6ad054bdedeb24f91; Linux 2.6.34
- Fixed in
- Linux 73f132e60857038416540c3599b1de6033d7575a, Linux 609e59193fc6d9dd323f1c6ae1fdd721f1c79680, Linux 71203f68c7749609d7fc8ae6ad054bdedeb24f91
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-416
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < a2048e475e22b13dc3e53d485b7e6e11464ed9a6; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 73f132e60857038416540c3599b1de6033d7575a; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 609e59193fc6d9dd323f1c6ae1fdd721f1c79680; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < a11a12a9880ab37342b73c93cfe1a3ada02ff0db; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < f231d5d001ec75f5886c02d496a4c79edc383d45; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < dbe3e911a59bda6de96e7cae387ff882c2c177fa; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < cdf79bd2e1ecb3cc75631c73d8f4149be6019a52; >= 16295bec6398a3eedc9377e1af6ff4c71b98c300, < 71203f68c7749609d7fc8ae6ad054bdedeb24f91 | — | cvelist |
| Linux | 2.6.34 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
Other
- https://git.kernel.org/stable/c/a2048e475e22b13dc3e53d485b7e6e11464ed9a6
- https://git.kernel.org/stable/c/73f132e60857038416540c3599b1de6033d7575a
- https://git.kernel.org/stable/c/609e59193fc6d9dd323f1c6ae1fdd721f1c79680
- https://git.kernel.org/stable/c/a11a12a9880ab37342b73c93cfe1a3ada02ff0db
- https://git.kernel.org/stable/c/f231d5d001ec75f5886c02d496a4c79edc383d45
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
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-26).
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.