CVE-2025-38584
padata: Fix pd UAF once and for all
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.
INFO
Published Date :
Aug. 19, 2025, 5:15 p.m.
Last Modified :
Oct. 15, 2026, 10:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the latest Linux kernel patch.
- Update the kernel to the corrected version.
- Recompile the kernel with the provided fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38584.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38584 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38584
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38584 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38584 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-38584', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:51:57.371948Z'} -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/38xxx/CVE-2025-38584.json">CVE-2025-38584</a> Added Reference https://cert-portal.siemens.com/productcert/html/ssa-784472.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/609e59193fc6d9dd323f1c6ae1fdd721f1c79680 Added Reference https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91 Added Reference https://git.kernel.org/stable/c/73f132e60857038416540c3599b1de6033d7575a Added Reference https://git.kernel.org/stable/c/a11a12a9880ab37342b73c93cfe1a3ada02ff0db Added Reference https://git.kernel.org/stable/c/a2048e475e22b13dc3e53d485b7e6e11464ed9a6 Added Reference https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52 Added Reference https://git.kernel.org/stable/c/dbe3e911a59bda6de96e7cae387ff882c2c177fa Added Reference https://git.kernel.org/stable/c/f231d5d001ec75f5886c02d496a4c79edc383d45 Removed Reference https://git.kernel.org/stable/c/609e59193fc6d9dd323f1c6ae1fdd721f1c79680 Removed Reference https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91 Removed Reference https://git.kernel.org/stable/c/73f132e60857038416540c3599b1de6033d7575a Removed Reference https://git.kernel.org/stable/c/a11a12a9880ab37342b73c93cfe1a3ada02ff0db Removed Reference https://git.kernel.org/stable/c/a2048e475e22b13dc3e53d485b7e6e11464ed9a6 Removed Reference https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52 Removed Reference https://git.kernel.org/stable/c/dbe3e911a59bda6de96e7cae387ff882c2c177fa Removed Reference https://git.kernel.org/stable/c/f231d5d001ec75f5886c02d496a4c79edc383d45 Removed Reference Type https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/dbe3e911a59bda6de96e7cae387ff882c2c177fa Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': 'a2048e475e22b13dc3e53d485b7e6e11464ed9a6', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': '73f132e60857038416540c3599b1de6033d7575a', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': '609e59193fc6d9dd323f1c6ae1fdd721f1c79680', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': 'a11a12a9880ab37342b73c93cfe1a3ada02ff0db', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': 'f231d5d001ec75f5886c02d496a4c79edc383d45', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': 'dbe3e911a59bda6de96e7cae387ff882c2c177fa', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': 'cdf79bd2e1ecb3cc75631c73d8f4149be6019a52', 'versionType': 'git'}, {'status': 'affected', 'version': '16295bec6398a3eedc9377e1af6ff4c71b98c300', 'lessThan': '71203f68c7749609d7fc8ae6ad054bdedeb24f91', 'versionType': 'git'}], 'programFiles': ['include/linux/padata.h', 'kernel/padata.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.34'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.34', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.140', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.86', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.15.10', 'versionType': 'semver', 'lessThanOrEqual': '6.15.*'}, {'status': 'unaffected', 'version': '6.16.1', 'versionType': 'semver', 'lessThanOrEqual': '6.16.*'}, {'status': 'unaffected', 'version': '6.17', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/linux/padata.h', 'kernel/padata.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/609e59193fc6d9dd323f1c6ae1fdd721f1c79680 Added Reference https://git.kernel.org/stable/c/73f132e60857038416540c3599b1de6033d7575a Added Reference https://git.kernel.org/stable/c/a2048e475e22b13dc3e53d485b7e6e11464ed9a6 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/a11a12a9880ab37342b73c93cfe1a3ada02ff0db -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 07, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/f231d5d001ec75f5886c02d496a4c79edc383d45 -
Initial Analysis by [email protected]
Nov. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.16.1 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.34 up to (excluding) 6.15.10 Added Reference Type kernel.org: https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dbe3e911a59bda6de96e7cae387ff882c2c177fa Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 19, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/71203f68c7749609d7fc8ae6ad054bdedeb24f91 Added Reference https://git.kernel.org/stable/c/cdf79bd2e1ecb3cc75631c73d8f4149be6019a52 Added Reference https://git.kernel.org/stable/c/dbe3e911a59bda6de96e7cae387ff882c2c177fa