CVE-2025-21726
padata: avoid UAF for reorder_work
Reported by linux · Published February 27, 2025
In the Linux kernel, the following vulnerability has been resolved: padata: avoid UAF for reorder_work Although the previous patch can avoid ps and ps UAF for _do_serial, it can not avoid potential UAF issue for reorder_work. This issue can happen just as below: crypto_request crypto_request crypto_del_alg padata_do_serial ... padata_reorder // processes all remaining // requests then breaks while (1) { if (!padata) break; ... } padata_do_serial // new request added list_add // sees the new request queue_work(reorder_work) padata_reorder queue_work_on(squeue->work) ... <kworker context> padata_serial_worker // completes new request, // no more outstanding // requests crypto_del_alg // free pd <kworker context> invoke_padata_reorder // UAF of pd To avoid UAF for 'reorder_work', get 'pd' ref before put 'reorder_work' into the 'serial_wq' and put 'pd' ref until the 'serial_wq' finish.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0, dd7d37ccf6b11f3d95e797ebe4e9e886d0332600, 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac, 7000507bb0d2ceb545c0a690e0c707c897d102c2, 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bbefa1dd6a6d53537c11624752219e39959d04fb, bbefa1dd6a6d53537c11624752219e39959d04fb, bbefa1dd6a6d53537c11624752219e39959d04fb |
| Linux | Linux | 5.6, 0, 5.10.235 |
| Linux | Linux | *, 6.1.129, * |
| amazon:2023 | bpftool | 0 |
| linux | linux_kernel | 5.6, 5.6, 5.6 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.131-143.221 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- Feb 28, 2025 Coalition ESS Score (19 in total, the first dated here)
- Dec 22, 2025 Security Advisory (405 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (360 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21726
vulnetix vdb fixes CVE-2025-21726
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21726/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart