Linux Kernel Vulnerability Affecting Crypto Component by Linux Foundation
CVE-2025-40063

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
28 October 2025

What is CVE-2025-40063?

A vulnerability in the Linux kernel affects the crypto component, specifically involving the misalignment of context allocation and freeing operations between structures. Due to structure layout randomization, a potential inconsistency can arise between the definition of alloc_ctx and free_ctx in scomp_alg and crypto_acomp_streams. This can be exploited if these operations are not aligned correctly, potentially leading to incorrect memory handling. The issue is mitigated by ensuring both structures share the same definition for context operations, improving the stability and security of cryptographic processes within the kernel.

Affected Version(s)

Linux 42d9f6c774790d290c175e8775ce9f1366438098 < 779d3b6f2d32c5f1da6163e959abe1e1ffe2945b

Linux 42d9f6c774790d290c175e8775ce9f1366438098

Linux 6.16

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-40063 : Linux Kernel Vulnerability Affecting Crypto Component by Linux Foundation