CVE-2025-39931
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's crypto subsystem was discovered and disclosed on October 4, 2025. The issue affects the af_alg (Algorithm Framework) component, specifically in the af_alg_sendmsg function where ctx->merge may contain a garbage value from a previous loop if an error occurs (NVD, Ubuntu).

Technical details

The vulnerability occurs in the af_alg_sendmsg function of the Linux kernel's crypto subsystem. When an error causes af_alg_sendmsg to abort, the ctx->merge variable may retain a garbage value from the previous loop iteration. This retained garbage value can trigger a crash during subsequent calls to af_alg_sendmsg when it attempts to perform a merge operation that isn't possible (NVD).

Impact

The primary impact of this vulnerability is system stability, as it can lead to kernel crashes when the affected code path is triggered. This occurs when the af_alg_sendmsg function attempts to perform invalid merge operations with garbage values (NVD).

Mitigation and workarounds

The fix involves setting ctx->merge to zero near the start of the loop in af_alg_sendmsg, preventing the retention of garbage values that could cause crashes. This patch has been implemented in the Linux kernel (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management