VDB

CVE-2025-21726

CVE-2025-21726 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
LinuxLinuxf4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0, dd7d37ccf6b11f3d95e797ebe4e9e886d0332600, 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac, 7000507bb0d2ceb545c0a690e0c707c897d102c2, 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxbbefa1dd6a6d53537c11624752219e39959d04fb, bbefa1dd6a6d53537c11624752219e39959d04fb, bbefa1dd6a6d53537c11624752219e39959d04fb
LinuxLinux5.6, 0, 5.10.235
LinuxLinux*, 6.1.129, *
amazon:2023bpftool0
linuxlinux_kernel5.6, 5.6, 5.6
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
amazon:2023kernel-headers0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel-livepatch-6.1.131-143.2210
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›