Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2025-21727: padata: fix UAF in padata_reorder

HighCVSS 7.8 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccd, 573ac9c70bf7885dc85d82fa44550581bfc3b738, 80231f069240d52e98b6a317456c67b2eafd0781; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1.

Low priority for now. Upgrade to Linux Linux 0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccd, 573ac9c70bf7885dc85d82fa44550581bfc3b738, 80231f069240d52e98b6a317456c67b2eafd0781; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In the Linux kernel, the following vulnerability has been resolved: padata: fix UAF in padata_reorder A bug was found when run ltp test: BUG: KASAN: slab-use-after-free in padata_find_next+0x29/0x1a0 Read of size 4 at addr ffff88bbfe003524 by task kworker/u113:2/3039206 CPU: 0 PID: 3039206 Comm: kworker/u113:2 Kdump: loaded Not tainted 6.6.0+ Workqueue: pdecrypt_parallel padata_parallel_worker Call Trace: <TASK> dump_stack_lvl+0x32/0x50 print_address_description.constprop.0+0x6b/0x3d0 print_report+0xdd/0x2c0 kasan_report+0xa5/0xd0 padata_find_next+0x29/0x1a0 padata_reorder+0x131/0x220 padata_parallel_worker+0x3d/0xc0 process_one_work+0x2ec/0x5a0 If 'mdelay(10)' is added before calling 'padata_find_next' in the 'padata_reorder' function, this issue could be reproduced easily with ltp test (pcrypt_aead01). This can be explained as bellow: pcrypt_aead_encrypt ... padata_do_parallel refcount_inc(&pd->refcnt); // add refcnt ... padata_do_serial padata_reorder // pd while (1) { padata_find_next(pd, true); // using pd queue_work_on ... padata_serial_worker crypto_del_alg padata_put_pd_cnt // sub refcnt padata_free_shell padata_put_pd(ps->pd); // pd is freed // loop again, but pd is freed // call padata_find_next, UAF } In the padata_reorder function, when it loops in 'while', if the alg is deleted, the refcnt may be decreased to 0 before entering 'padata_find_next', which leads to UAF. As mentioned in [1], do_serial is supposed to be called with BHs disabled and always happen under RCU protection, to address this issue, add synchronize_rcu() in 'padata_free_shell' wait for all _do_serial calls to finish. [1] https://lore.kernel.org/all/20221028160401.cccypv4euxikusiq@parnassus.localdomain/ [2] https://lore.kernel.org/linux-kernel/jfjz5d7zwbytztackem7ibzalm5lnxldi2eofeiczqmqs2m7o6@fq426cwnjtkm/

Published
Feb 27, 2025
Updated
Oct 15, 2026
EPSS
0.2% · 12th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-21727

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 5.4affected
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before f78170bee51469734b1a306a74fc5f777bb22ba6affected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before f3e0b9f790f8e8065d59e67b565a83154d9f3079affected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before 0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccdaffected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before bbccae982e9fa1d7abcb23a5ec81cb0ec883f7deaffected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before 573ac9c70bf7885dc85d82fa44550581bfc3b738affected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before 80231f069240d52e98b6a317456c67b2eafd0781affected · git
    • b128a30409356df65f1a51cff3eb986cac8cfedc and later · before e01780ea4661172734118d2a5f41bc9720765668affected · git
    • before 5.4not affected · semver
    • 5.10.235 and later · up to and including 5.10.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10kernel-abi-stablelistsbefore 6.12.0-55.25.1.el10_06.12.0-55.25.1.el10_0
AlmaLinux:10kernel-docbefore 6.12.0-55.25.1.el10_06.12.0-55.25.1.el10_0
AlmaLinux:8bpftoolbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.69.1.el8_104.18.0-553.69.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.69.1.rt7.410.el8_104.18.0-553.69.1.rt7.410.el8_10

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2025-21725Feb 27, 2025 · smb: client: fix oops due to unset link speed
    22Monitor
  • ← EarlierCVE-2025-21726Feb 27, 2025 · padata: avoid UAF for reorder_work
    31Monitor
  • Later →CVE-2025-21728Feb 27, 2025 · bpf: Send signals asynchronously if !preemptible
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccdVendor (CNA)
Linux Linux573ac9c70bf7885dc85d82fa44550581bfc3b738Vendor (CNA)
Linux Linux80231f069240d52e98b6a317456c67b2eafd0781Vendor (CNA)
Linux Linuxbbccae982e9fa1d7abcb23a5ec81cb0ec883f7deVendor (CNA)
Linux Linuxe01780ea4661172734118d2a5f41bc9720765668Vendor (CNA)
Linux Linuxf3e0b9f790f8e8065d59e67b565a83154d9f3079Vendor (CNA)
Linux Linuxf78170bee51469734b1a306a74fc5f777bb22ba6Vendor (CNA)
cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.05.15.180.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:kernel5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-570.32.1.el9_6 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-abi-stablelists6.12.0-55.25.1.el10_0 · AlmaLinux:10Package registry (OSV)
almalinux:kernel-doc6.12.0-55.25.1.el10_0 · AlmaLinux:10Package registry (OSV)
debian:linux6.1.129-1 · Debian:12Package registry (OSV)
red hat:kernel-64k-debug-debuginfo0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-64k-debug-devel0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-64k-debug-devel-matched0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-64k-debuginfo0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-64k-devel0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-64k-devel-matched0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-debug-debuginfo0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-debug-devel0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:kernel-debug-devel-matched0:6.12.0-55.25.1.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)

+5

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

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

nvd-secondary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records