# CVE-2025-21726: padata: avoid UAF for reorder\_work

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; 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.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-27T02:07:32.861Z
- **Modified:** 2026-10-15T02:17:30.520Z

## Who should check

- Anyone running Linux \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 7000507bb0d2ceb545c0a690e0c707c897d102c2; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 6f45ef616775b0ce7889b0f6077fc8d681ab30bc; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< a54091c24220a4cd847d5b4f36d678edacddbaf0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< dd7d37ccf6b11f3d95e797ebe4e9e886d0332600; b4c8ed0bf977760a206997b6429a7ac91978f440; e43d65719527043f1ef79ecba9d4ede58cbc7ffe; \>= 5.4.19, \< 5.5; …
- Anyone running Linux 5.6

## Description

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.

## Affected and fixed versions

- Linux: \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 7000507bb0d2ceb545c0a690e0c707c897d102c2; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 6f45ef616775b0ce7889b0f6077fc8d681ab30bc; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< a54091c24220a4cd847d5b4f36d678edacddbaf0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< dd7d37ccf6b11f3d95e797ebe4e9e886d0332600; b4c8ed0bf977760a206997b6429a7ac91978f440; e43d65719527043f1ef79ecba9d4ede58cbc7ffe; \>= 5.4.19, \< 5.5; … (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21726. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21726.md
Affected: Linux >= bbefa1dd6a6d53537c11624752219e39959d04fb, < f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0; >= bbefa1dd6a6d53537c11624752219e39959d04fb, < 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1; >= bbefa1dd6a6d53537c11624752219e39959d04fb, < 7000507bb0d2ceb545c0a690e0c707c897d102c2; >= bbefa1dd6a6d53537c11624…
Fixed in: Linux 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1, Linux 7000507bb0d2ceb545c0a690e0c707c897d102c2, Linux 6f45ef616775b0ce7889b0f6077fc8d681ab30bc, Linux 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac, Linux 5.5

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 7000507bb0d2ceb545c0a690e0c707c897d102c2; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 6f45ef616775b0ce7889b0f6077fc8d681ab30bc; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< a54091c24220a4cd847d5b4f36d678edacddbaf0; \>= bbefa1dd6a6d53537c11624752219e39959d04fb, \< dd7d37ccf6b11f3d95e797ebe4e9e886d0332600; b4c8ed0bf977760a206997b6429a7ac91978f440; e43d65719527043f1ef79ecba9d4ede58cbc7ffe; \>= 5.4.19, \< 5.5; …; Linux 5.6.

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

Yes. Fixed in Linux 4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1, Linux 7000507bb0d2ceb545c0a690e0c707c897d102c2, Linux 6f45ef616775b0ce7889b0f6077fc8d681ab30bc, Linux 8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac, Linux 5.5. No fix listed yet: follow the vendor advisory.

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

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/f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0>
- patch: <https://git.kernel.org/stable/c/4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1>
- patch: <https://git.kernel.org/stable/c/7000507bb0d2ceb545c0a690e0c707c897d102c2>
- patch: <https://git.kernel.org/stable/c/6f45ef616775b0ce7889b0f6077fc8d681ab30bc>
- patch: <https://git.kernel.org/stable/c/8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac>
- patch: <https://git.kernel.org/stable/c/a54091c24220a4cd847d5b4f36d678edacddbaf0>
- patch: <https://git.kernel.org/stable/c/dd7d37ccf6b11f3d95e797ebe4e9e886d0332600>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- 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-21726>

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