Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21727

published high CVSS 3.1 · 7.8

padata: fix UAF in padata_reorder

Published
27 Feb 2025, 02:07:33 UTC
Updated
15 Oct 2026, 01:03:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb128a30409356df65f1a51cff3eb986cac8cfedc to < f78170bee51469734b1a306a74fc5f777bb22ba6 · b128a30409356df65f1a51cff3eb986cac8cfedc to < f3e0b9f790f8e8065d59e67b565a83154d9f3079 · b128a30409356df65f1a51cff3eb986cac8cfedc to < 0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccd · b128a30409356df65f1a51cff3eb986cac8cfedc to < bbccae982e9fa1d7abcb23a5ec81cb0ec883f7de · b128a30409356df65f1a51cff3eb986cac8cfedc to < 573ac9c70bf7885dc85d82fa44550581bfc3b738 · b128a30409356df65f1a51cff3eb986cac8cfedc to < 80231f069240d52e98b6a317456c67b2eafd0781 · b128a30409356df65f1a51cff3eb986cac8cfedc to < e01780ea4661172734118d2a5f41bc9720765668 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.129 through 6.1.* (unaffected · semver) · 6.6.76 through 6.6.* (unaffected · semver) · 6.12.13 through 6.12.* (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-088 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-55.25.1.el10_0 ALSA-2025:12662
AlmaLinux 10 kernel-doc Advisory build 6.12.0-55.25.1.el10_0 ALSA-2025:12662
Show 101 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-069 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-915 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.69.1.rt7.410.el8_10 ALSA-2025:13590
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 perf Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.69.1.el8_10 ALSA-2025:13589
AlmaLinux 9 kernel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-doc Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-headers Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-kvm Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-kvm Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-tools Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-570.32.1.el9_6 ALSA-2025:12746

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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/[email protected]/ [2] https://lore.kernel.org/linux-kernel/jfjz5d7zwbytztackem7ibzalm5lnxldi2eofeiczqmqs2m7o6@fq426cwnjtkm/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

95

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable padata/pcrypt path is driven through local syscalls — an AF_ALG socket bound to `pcrypt(...)` submitting aead requests, and the racing teardown via crypto module autoload or the NETLINK_CRYPTO socket. No remote peer can reach or free the padata shell on its own. AC:L - The attacker controls both sides of the race: they flood concurrent pcrypt requests to keep `padata_reorder()` spinning in its loop while triggering instance teardown, and can widen the window with CPU contention and many parallel workers. The commit confirms it reproduces with a stock LTP test (pcrypt_aead01) once the loop is delayed, meaning it is a naturally occurring, repeatable window. PR:L - A basic unprivileged local user can both instantiate and continuously drive pcrypt via AF_ALG (`alg_bind` performs no capability check) and trigger the teardown side, since `crypto_alg_finish_registration()` → `crypto_remove_spawns()` destroys the pcrypt instance when an equal-or-higher-priority same-named implementation registers — a module autoload reachable from the same unprivileged bind path. UI:N - Exploitation is entirely attacker-driven through socket operations and crypto requests; no victim action, mount, or file open is required. S:U - The use-after-free corrupts kernel slab memory and stays within the kernel's own security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - Reclaiming the freed `struct parallel_data` gives the attacker control of `pd->reorder_list`, whose per-CPU dereference in `padata_find_next()` becomes an attacker-directed kernel read, and `pd->ps->pinst` is likewise dereferenced — yielding disclosure of arbitrary kernel memory. I:H - The same UAF provides write primitives — `list_del_init()` unlink on an attacker-controlled reorder list, `++pd->processed` / `pd->cpu` writes, and most severely `queue_work(pinst->serial_wq, &pd->reorder_work)` invoking a function pointer living in freed, sprayable memory, enabling control-flow hijack and privilege escalation. A:H - Even unweaponized, the slab-use-after-free reported by KASAN dereferences freed percpu and workqueue pointers from a kworker context, reliably producing an oops or kernel panic and taking the system down.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b128a30409356df65f1a51cff3eb986cac8cfedc to < f78170bee51469734b1a306a74fc5f777bb22ba6 (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < f3e0b9f790f8e8065d59e67b565a83154d9f3079 (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < 0ae2f332cfd2d74cf3ce344ec9938cf3e29c3ccd (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < bbccae982e9fa1d7abcb23a5ec81cb0ec883f7de (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < 573ac9c70bf7885dc85d82fa44550581bfc3b738 (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < 80231f069240d52e98b6a317456c67b2eafd0781 (affected · git)b128a30409356df65f1a51cff3eb986cac8cfedc to < e01780ea4661172734118d2a5f41bc9720765668 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.4 (affected)0 to < 5.4 (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.129 through 6.1.* (unaffected · semver)6.6.76 through 6.6.* (unaffected · semver)6.12.13 through 6.12.* (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

11

Provider assertions

4

Linux · cna

padata: fix UAF in padata_reorder

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d87d6515dffc70084c67feb42eaf96f12dd8acec6fc724ab59b1c9f052794808
Ingested
15 Oct 2026, 13:12:09 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected