CVE-2025-21726: padata: avoid UAF for reorder_work

Published Feb 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

padata: avoid UAF for reorderwork

Although the previous patch can avoid ps and ps UAF for doserial, it can not avoid potential UAF issue for reorderwork. This issue can happen just as below:

cryptorequest cryptorequest cryptodelalg padatadoserial ... padatareorder // processes all remaining // requests then breaks while (1) { if (!padata) break; ... }

padatadoserial // new request added listadd // sees the new request queuework(reorderwork) padatareorder queueworkon(squeue->work) ...

<kworker context> padataserialworker // completes new request, // no more outstanding // requests

cryptodelalg // free pd

<kworker context> invokepadatareorder // UAF of pd

To avoid UAF for 'reorderwork', get 'pd' ref before put 'reorderwork' into the 'serialwq' and put 'pd' ref until the 'serialwq' finish.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

padata: avoid UAF for reorderwork

Although the previous patch can avoid ps and ps UAF for doserial, it can not avoid potential UAF issue for reorderwork. This issue can happen just as below:

cryptorequest cryptorequest cryptodelalg padatadoserial ... padatareorder // processes all remaining // requests then breaks while (1) { if (!padata) break; ... }

padatadoserial // new request added listadd // sees the new request queuework(reorderwork) padatareorder queueworkon(squeue-work) ...

kworker context padataserialworker // completes new request, // no more outstanding // requests

cryptodelalg // free pd

kworker context invokepadatareorder // UAF of pd

To avoid UAF for 'reorderwork', get 'pd' ref before put 'reorderwork' into the 'serialwq' and put 'pd' ref until the 'serialwq' finish.

IBM

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=5.4.19<5.5
Linux Linux kernel>=5.5.3<5.10.235
Linux Linux kernel>=5.11<5.15.79
Linux Linux kernel>=5.16<6.1.129
Linux Linux kernel>=6.2<6.6.76
Linux Linux kernel>=6.7<6.12.13
Linux Linux kernel>=6.13<6.13.2
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Event History

Feb 27, 2025
CVE Published
via MITRE·02:07 AM
Data Sourced
via MITRE·02:07 AM
Description
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·03:04 AM
DescriptionSeverityAffected Software
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21726?

CVE-2025-21726 has a medium severity rating due to its potential to cause a use-after-free condition in the Linux kernel.

2

How do I fix CVE-2025-21726?

To fix CVE-2025-21726, ensure that you update to the latest version of the Linux kernel that includes the relevant patches.

3

What systems are affected by CVE-2025-21726?

CVE-2025-21726 affects all versions of the Linux kernel prior to the patched releases.

4

What type of vulnerability is CVE-2025-21726?

CVE-2025-21726 is a use-after-free vulnerability in the padata subsystem of the Linux kernel.

5

What could happen if CVE-2025-21726 is exploited?

Exploitation of CVE-2025-21726 could potentially lead to arbitrary code execution or a system crash.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203