CVE DatabaseCVE-2025-39964
한국어 권고문 →
CVE-2025-399645.5/MEDIUMCISA KEVCWE-362CWE-362

Linux Kernel af_alg_sendmsg Race Condition Vulnerability Advisory (CVE-2025-39964)

Affected Vendors
Linux
Affected Components
Linux Kernel
Published Date
2025-10-13

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

All systems and services utilizing the Linux Kernel Crypto API (AF_ALG) interface.

Impact

Internal socket state inconsistency and potential Denial of Service (DoS) due to concurrent write operations.

Mitigation

Update to the latest stable kernel version provided by your distribution and reboot.

Affected Products & Version Scope

Linux kernel versions across 4.x, 5.x, and 6.x branches prior to the integration of the exclusive write ownership patch.

Remediation & Live Workaround Commands

PATCH & WORKAROUND

The vulnerability is mitigated by implementing a lock mechanism using a new ctx->write field to ensure exclusive ownership during write operations.

  • Update via Package Manager (Ubuntu/Debian):
bash
sudo apt update && sudo apt upgrade linux-image-generic
  • Update via Package Manager (RHEL/CentOS/AlmaLinux):
bash
sudo yum update kernel
  • Verification:

After updating, reboot the system and verify the kernel version using uname -r to ensure the patch is active.

Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to the high likelihood of exploitation (EPSS 0.94) and CISA KEV status, immediate kernel patching and system reboots are strongly recommended across all Linux-based infrastructure.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

A race condition (CWE-362) has been identified in the af_alg_sendmsg function within the Linux kernel's crypto subsystem. Issuing concurrent write operations to the same af_alg socket allows data to be interleaved in an unpredictable manner, leading to inconsistencies in the internal socket state. This flaw can be exploited by a local attacker to cause system instability or a kernel panic. Given its inclusion in the CISA KEV catalog and a high EPSS score of 0.94, this vulnerability represents a significant risk for production environments.

Official Vendor Advisories & References

SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed: