Linux and Fedora Retreat From Kernel Crypto Interfaces Over Security Risks
Vulnerability Disclosure · 9 sources · Updated 4mo ago · First seen Jul 21, 2026

Linux maintainers are further dismantling exposed kernel cryptography paths after concluding that several interfaces create unnecessary risk with limited benefit. In the Linux 7.3 cycle, the Qualcomm Crypto Engine (QCE) accelerator driver is being marked BROKEN and dropped from default ARM builds because it is slower than CPU-based cryptography, has a history of bugs, and can trigger race conditions with the secure world due to non-exclusive hardware access. The kernel is also tightening restrictions on AF_ALG, a userspace interface to kernel crypto functions that was deprecated in Linux 7.2 over its broad attack surface and is being constrained further in 7.3.
The fallout is already reaching distributions and encryption tooling. cryptsetup 2.8.7 adds stronger fallback handling to userspace crypto libraries and temporary dm-crypt mappings so encrypted storage can continue working when AF_ALG is unavailable, while warning that some algorithms may still be missing outside the kernel path. Fedora 45 is also planning to remove support for CRYPTO_USER_API, citing architectural and security concerns, limited adoption, and the broader shift away from kernel-exposed crypto APIs after protections tied to the Copy Fail vulnerability affected AF_ALG usage in earlier kernel updates.


