CVE-2026-64312 crypto: pcrypt - restore callback for non-parallel fallback
A race condition in the Linux kernel's pcrypt module can cause a double-free or use-after-free during fallback operations, leading to system crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64312?
CVE-2026-64312 is a high-severity vulnerability in Linux kernel, published on 25 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
crypto: pcrypt - restore callback for non-parallel fallback
pcrypt installs pcrypt_aead_done() on the child AEAD request before trying to submit it through padata. If padata_do_parallel() returns -EBUSY, pcrypt falls back to calling the child AEAD directly.
That fallback must not keep the padata completion callback. Otherwise an asynchronous completion runs pcrypt_aead_done() even though the request was never enrolled in padata.
Restore the original request callback and callback data before calling the child AEAD directly. This keeps the fallback path aligned with a direct AEAD request while leaving the parallel path unchanged.
Weakness: CWE-662
Which versions are affected by CVE-2026-64312?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64312?
Apply the vendor's patch.
Is CVE-2026-64312 being exploited?
There is no known exploitation of CVE-2026-64312 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-64312, DEBIAN-CVE-2026-64312, GHSA-5wjw-79g3-g2x9, ROOT-OS-DEBIAN-12-CVE-2026-64312, ROOT-OS-UBUNTU-2204-CVE-2026-64312, UBUNTU-CVE-2026-64312.