CVE-2025-39789
NoneCVSS
—
EPSS
0.2%
Published
Sep 11, 2025
CISA due date
—
Cloudanix analysis
A flaw in Linux encryption code could make computers crash when memory is low during certain secure data operations.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Missing error checks after skcipher_walk calls that allocate memory allow use of uninitialized or invalid state in the x86 AEGIS crypto implementation, leading to potential NULL dereference, kernel panic, or undefined behavior on allocation failure.
Why it matters to the business
Systems performing cryptographic operations with AEGIS on x86 may experience unexpected crashes or denial of service during memory pressure, increasing operational downtime and requiring kernel updates across affected Linux deployments.
How an attack unfolds
An attacker triggers memory exhaustion or allocation failure during AEGIS skcipher operations, causing the unchecked return value to be used and resulting in a kernel crash; no public exploitation or named threat actors have been observed.
How to fix it
Update the Linux kernel to a version containing commit 475104178f4d30e749ee4f5473c87f692b93bebb or later; rebuild and deploy the fixed kernel across all affected systems.
How to confirm the fix worked
Confirm the running kernel includes commit 475104178f4d30e749ee4f5473c87f692b93bebb via git log or kernel version string; test AEGIS crypto paths under simulated memory pressure to verify error paths are now handled.
Typical attack path
- Identify a target system using AEGIS-based encryption on x86 Linux
- Induce memory pressure to force skcipher_walk allocation failure
- Initiate cryptographic operation that invokes the vulnerable path
- Trigger kernel panic or denial of service from unchecked error
How to detect it
Review kernel logs for oops or panic messages originating from the AEGIS crypto module under memory pressure; no specific post-exploitation artifacts are known.
What your security team should do
- Prioritize kernel upgrade to the fixed commit on all production x86 systems using AEGIS
- Monitor for allocation-related kernel oops in crypto subsystems
- Review crypto configuration to determine AEGIS usage and exposure
The record
In the Linux kernel, the following vulnerability has been resolved: crypto: x86/aegis - Add missing error checks The skcipher_walk functions can allocate memory and can fail, so checking for errors is necessary.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | hyperv-daemons-6.12 | 0 | 6.12.60-r2 |
| Chainguard | linux-aws-6.12-boot-installed | 0 | 6.12.58-r0 |
| Chainguard | linux-aws-6.12-fips-boot-installed | 0 | 6.12.58-r0 |
| Chainguard | linux-aws-6.12-headers | 0 | 6.12.60-r1 |
| Chainguard | linux-aws-6.12-modules | 0 | 6.12.58-r0 |
| Chainguard | linux-azure-6.12-boot-installed | 0 | 6.12.60-r0 |
| Chainguard | linux-azure-6.12-fips-boot-installed | 0 | 6.12.60-r1 |
| Chainguard | linux-azure-6.12-headers | 0 | 6.12.60-r2 |
| Chainguard | linux-azure-6.12-modules | 0 | 6.12.58-r1 |
| Chainguard | linux-gcp-6.12-boot-installed | 0 | 6.12.58-r0 |
| Chainguard | linux-gcp-6.12-fips-boot-installed | 0 | 6.12.58-r0 |
| Chainguard | linux-gcp-6.12-headers | 0 | 6.12.58-r0 |
| Chainguard | linux-gcp-6.12-modules | 0 | 6.12.58-r0 |
| Chainguard | linux-qemu-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-qemu-6.12-modules | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-fips-boot-installed | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-headers | 0 | 6.12.63-r0 |
| Chainguard | linux-vmware-6.12-modules | 0 | 6.12.63-r0 |
| Debian:11 | linux | 0 | No fix |
| Debian:12 | linux | 0 | No fix |
| Debian:13 | linux | 0 | No fix |
| Debian:14 | linux | 0 | No fix |
| Linux | Kernel | 4.18.0 | 6.16.4 |
Related vulnerabilities
- CVE-2025-39910 In the Linux kernel, the following vulnerability has been resolved: mm/vmalloc, mm/kasan… Also affects hyperv-daemons-6.12
- CVE-2025-39925 can: j1939: implement NETDEV_UNREGISTER notification handler Also affects hyperv-daemons-6.12
- CVE-2025-39905 net: phylink: add lock for serializing concurrent pl->phydev writes with resolver Also affects hyperv-daemons-6.12
- CVE-2025-39862 In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915… Also affects hyperv-daemons-6.12
- CVE-2025-39859 In the Linux kernel, the following vulnerability has been resolved: ptp: ocp: fix… Also affects hyperv-daemons-6.12
- CVE-2025-39834 In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix… Also affects hyperv-daemons-6.12
- CVE-2025-39830 In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Fix… Also affects hyperv-daemons-6.12
- CVE-2025-39833 In the Linux kernel, the following vulnerability has been resolved: mISDN: hfcpci: Fix… Also affects hyperv-daemons-6.12